Bump PKGREVISION. * Fix buldlinking pathes. * Put pkg-config files to standard place.diff -r1.6 -r1.7 pkgsrc/devel/xulrunner17/Makefile
(ryoon)
@@ -1,42 +1,45 @@ | @@ -1,42 +1,45 @@ | |||
1 | # $NetBSD: Makefile,v 1.6 2013/02/24 14:18:00 ryoon Exp $ | 1 | # $NetBSD: Makefile,v 1.7 2013/05/25 11:08:21 ryoon Exp $ | |
2 | 2 | |||
3 | .include "dist.mk" | 3 | .include "dist.mk" | |
4 | PKGNAME= xulrunner17-${MOZ_BRANCH}${MOZ_BRANCH_MINOR:S/esr//} | 4 | PKGNAME= xulrunner17-${MOZ_BRANCH}${MOZ_BRANCH_MINOR:S/esr//} | |
5 | PKGREVISION= 1 | |||
5 | CATEGORIES= devel www | 6 | CATEGORIES= devel www | |
6 | 7 | |||
7 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
8 | HOMEPAGE= http://developer.mozilla.org/en/docs/XULRunner | 9 | HOMEPAGE= http://developer.mozilla.org/en/docs/XULRunner | |
9 | COMMENT= XML User Interface Language runtime environment | 10 | COMMENT= XML User Interface Language runtime environment | |
10 | LICENSE= mpl-1.1 | 11 | LICENSE= mpl-1.1 | |
11 | 12 | |||
12 | MOZILLA_DIR= # empty | 13 | MOZILLA_DIR= # empty | |
13 | 14 | |||
14 | PKGCONFIG_OVERRIDE+= xulrunner/installer/libxul-embedding.pc.in | 15 | PKGCONFIG_OVERRIDE+= xulrunner/installer/libxul-embedding.pc.in | |
15 | PKGCONFIG_OVERRIDE+= xulrunner/installer/libxul.pc.in | 16 | PKGCONFIG_OVERRIDE+= xulrunner/installer/libxul.pc.in | |
16 | PKGCONFIG_OVERRIDE+= xulrunner/installer/mozilla-gtkmozembed-embedding.pc.in | 17 | PKGCONFIG_OVERRIDE+= xulrunner/installer/mozilla-gtkmozembed-embedding.pc.in | |
17 | PKGCONFIG_OVERRIDE+= xulrunner/installer/mozilla-gtkmozembed.pc.in | 18 | PKGCONFIG_OVERRIDE+= xulrunner/installer/mozilla-gtkmozembed.pc.in | |
18 | PKGCONFIG_OVERRIDE+= xulrunner/installer/mozilla-js.pc.in | 19 | PKGCONFIG_OVERRIDE+= xulrunner/installer/mozilla-js.pc.in | |
19 | PKGCONFIG_OVERRIDE+= xulrunner/installer/mozilla-nspr.pc.in | 20 | PKGCONFIG_OVERRIDE+= xulrunner/installer/mozilla-nspr.pc.in | |
20 | PKGCONFIG_OVERRIDE+= xulrunner/installer/mozilla-nss.pc.in | 21 | PKGCONFIG_OVERRIDE+= xulrunner/installer/mozilla-nss.pc.in | |
21 | PKGCONFIG_OVERRIDE+= xulrunner/installer/mozilla-plugin.pc.in | 22 | PKGCONFIG_OVERRIDE+= xulrunner/installer/mozilla-plugin.pc.in | |
22 | 23 | |||
23 | CONFIGURE_ARGS+= --enable-application=xulrunner | 24 | CONFIGURE_ARGS+= --enable-application=xulrunner | |
24 | CONFIGURE_ARGS+= --enable-libxul | 25 | CONFIGURE_ARGS+= --enable-libxul | |
25 | 26 | |||
26 | ALL_ENV+= MOZILLA_PKG_NAME=xulrunner17 | 27 | ALL_ENV+= MOZILLA_PKG_NAME=xulrunner17 | |
27 | 28 | |||
28 | MAKE_ENV+= FREEBL_NO_DEPEND=0 | 29 | MAKE_ENV+= FREEBL_NO_DEPEND=0 | |
29 | 30 | |||
31 | INSTALLATION_DIRS= lib/pkgconfig | |||
32 | ||||
30 | # workround for link of xulrunner-bin etc. | 33 | # workround for link of xulrunner-bin etc. | |
31 | LDFLAGS+= -Wl,-rpath,${PREFIX}/lib/xulrunner17 ${COMPILER_RPATH_FLAG}${PREFIX}/lib | 34 | LDFLAGS+= -Wl,-rpath,${PREFIX}/lib/xulrunner17 ${COMPILER_RPATH_FLAG}${PREFIX}/lib | |
32 | 35 | |||
33 | .include "mozilla-common.mk" | 36 | .include "mozilla-common.mk" | |
34 | .include "options.mk" | 37 | .include "options.mk" | |
35 | 38 | |||
36 | PLIST_VARS+= sps webrtc vorbis tremor | 39 | PLIST_VARS+= sps webrtc vorbis tremor | |
37 | 40 | |||
38 | .if !empty(MACHINE_PLATFORM:S/i386/x86/:MLinux-*-x86*) || ${OPSYS} == "Darwin" | 41 | .if !empty(MACHINE_PLATFORM:S/i386/x86/:MLinux-*-x86*) || ${OPSYS} == "Darwin" | |
39 | PLIST.sps= yes | 42 | PLIST.sps= yes | |
40 | .endif | 43 | .endif | |
41 | .if ${OPSYS} == "Linux" || ${OPSYS} == "Darwin" | 44 | .if ${OPSYS} == "Linux" || ${OPSYS} == "Darwin" | |
42 | PLIST.webrtc= yes | 45 | PLIST.webrtc= yes | |
@@ -65,15 +68,17 @@ post-install: | @@ -65,15 +68,17 @@ post-install: | |||
65 | rm -f ${DESTDIR}${PREFIX}/lib/xulrunner17/libunicharutil_external_s.a | 68 | rm -f ${DESTDIR}${PREFIX}/lib/xulrunner17/libunicharutil_external_s.a | |
66 | ln -s ${PREFIX}/lib/xulrunner17-sdk/sdk/lib/libunicharutil_external_s.a \ | 69 | ln -s ${PREFIX}/lib/xulrunner17-sdk/sdk/lib/libunicharutil_external_s.a \ | |
67 | ${DESTDIR}${PREFIX}/lib/xulrunner17/libunicharutil_external_s.a | 70 | ${DESTDIR}${PREFIX}/lib/xulrunner17/libunicharutil_external_s.a | |
68 | ${TOUCH} ${TOUCH_FLAGS} ${DESTDIR}${PREFIX}/include/xulrunner17/mozilla/throw_gcc.h | 71 | ${TOUCH} ${TOUCH_FLAGS} ${DESTDIR}${PREFIX}/include/xulrunner17/mozilla/throw_gcc.h | |
69 | ${INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/lib/xulrunner17-sdk/sdk/bin | 72 | ${INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/lib/xulrunner17-sdk/sdk/bin | |
70 | ${INSTALL_SCRIPT} ${WRKSRC}/dist/sdk/bin/xpt.py \ | 73 | ${INSTALL_SCRIPT} ${WRKSRC}/dist/sdk/bin/xpt.py \ | |
71 | ${DESTDIR}${PREFIX}/lib/xulrunner17-sdk/sdk/bin | 74 | ${DESTDIR}${PREFIX}/lib/xulrunner17-sdk/sdk/bin | |
72 | ${INSTALL_LIB} ${WRKSRC}/mozglue/build/libmozglue.a \ | 75 | ${INSTALL_LIB} ${WRKSRC}/mozglue/build/libmozglue.a \ | |
73 | ${DESTDIR}${PREFIX}/lib/xulrunner17 | 76 | ${DESTDIR}${PREFIX}/lib/xulrunner17 | |
74 | ${INSTALL_LIB} ${WRKSRC}/mozglue/build/libmozglue.a \ | 77 | ${INSTALL_LIB} ${WRKSRC}/mozglue/build/libmozglue.a \ | |
75 | ${DESTDIR}${PREFIX}/lib/xulrunner17-sdk/sdk/lib | 78 | ${DESTDIR}${PREFIX}/lib/xulrunner17-sdk/sdk/lib | |
76 | ln -s ${PREFIX}/lib/xulrunner17/lib \ | 79 | ln -s ${PREFIX}/lib/xulrunner17/lib \ | |
77 | ${DESTDIR}${PREFIX}/lib/xulrunner17-sdk/lib | 80 | ${DESTDIR}${PREFIX}/lib/xulrunner17-sdk/lib | |
81 | ${INSTALL_DATA} ${WRKSRC}/xulrunner/installer/*pc \ | |||
82 | ${DESTDIR}${PREFIX}/lib/pkgconfig | |||
78 | 83 | |||
79 | .include "../../mk/bsd.pkg.mk" | 84 | .include "../../mk/bsd.pkg.mk" |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.3 2013/05/20 00:17:42 ryoon Exp $ | 1 | @comment $NetBSD: PLIST,v 1.4 2013/05/25 11:08:21 ryoon Exp $ | |
2 | bin/xulrunner17 | 2 | bin/xulrunner17 | |
3 | include/xulrunner17/.mkdir.done | 3 | include/xulrunner17/.mkdir.done | |
4 | include/xulrunner17/AccEvent.h | 4 | include/xulrunner17/AccEvent.h | |
5 | include/xulrunner17/AnimationCommon.h | 5 | include/xulrunner17/AnimationCommon.h | |
6 | include/xulrunner17/AudioSegment.h | 6 | include/xulrunner17/AudioSegment.h | |
7 | include/xulrunner17/BasicImplData.h | 7 | include/xulrunner17/BasicImplData.h | |
8 | include/xulrunner17/BasicLayers.h | 8 | include/xulrunner17/BasicLayers.h | |
9 | include/xulrunner17/BasicTiledThebesLayer.h | 9 | include/xulrunner17/BasicTiledThebesLayer.h | |
10 | include/xulrunner17/CompositorChild.h | 10 | include/xulrunner17/CompositorChild.h | |
11 | include/xulrunner17/CompositorParent.h | 11 | include/xulrunner17/CompositorParent.h | |
12 | include/xulrunner17/CustomQS_Canvas.h | 12 | include/xulrunner17/CustomQS_Canvas.h | |
13 | include/xulrunner17/CustomQS_Canvas2D.h | 13 | include/xulrunner17/CustomQS_Canvas2D.h | |
14 | include/xulrunner17/CustomQS_WebGL.h | 14 | include/xulrunner17/CustomQS_WebGL.h | |
@@ -2528,26 +2528,30 @@ include/xulrunner17/xpcom-config.h | @@ -2528,26 +2528,30 @@ include/xulrunner17/xpcom-config.h | |||
2528 | include/xulrunner17/xpcpublic.h | 2528 | include/xulrunner17/xpcpublic.h | |
2529 | include/xulrunner17/xpt_arena.h | 2529 | include/xulrunner17/xpt_arena.h | |
2530 | include/xulrunner17/xpt_struct.h | 2530 | include/xulrunner17/xpt_struct.h | |
2531 | include/xulrunner17/xpt_xdr.h | 2531 | include/xulrunner17/xpt_xdr.h | |
2532 | include/xulrunner17/xptcall.h | 2532 | include/xulrunner17/xptcall.h | |
2533 | include/xulrunner17/xptcstubsdecl.inc | 2533 | include/xulrunner17/xptcstubsdecl.inc | |
2534 | include/xulrunner17/xptcstubsdef.inc | 2534 | include/xulrunner17/xptcstubsdef.inc | |
2535 | include/xulrunner17/xptinfo.h | 2535 | include/xulrunner17/xptinfo.h | |
2536 | include/xulrunner17/xrecore.h | 2536 | include/xulrunner17/xrecore.h | |
2537 | include/xulrunner17/ycbcr_to_rgb565.h | 2537 | include/xulrunner17/ycbcr_to_rgb565.h | |
2538 | include/xulrunner17/yuv_convert.h | 2538 | include/xulrunner17/yuv_convert.h | |
2539 | include/xulrunner17/yuv_row.h | 2539 | include/xulrunner17/yuv_row.h | |
2540 | include/xulrunner17/zipstruct.h | 2540 | include/xulrunner17/zipstruct.h | |
2541 | lib/pkgconfig/libxul-embedding.pc | |||
2542 | lib/pkgconfig/libxul.pc | |||
2543 | lib/pkgconfig/mozilla-js.pc | |||
2544 | lib/pkgconfig/mozilla-plugin.pc | |||
2541 | lib/xulrunner17/pkgconfig/libxul-embedding.pc | 2545 | lib/xulrunner17/pkgconfig/libxul-embedding.pc | |
2542 | lib/xulrunner17/pkgconfig/libxul.pc | 2546 | lib/xulrunner17/pkgconfig/libxul.pc | |
2543 | lib/xulrunner17/pkgconfig/mozilla-js.pc | 2547 | lib/xulrunner17/pkgconfig/mozilla-js.pc | |
2544 | lib/xulrunner17/pkgconfig/mozilla-plugin.pc | 2548 | lib/xulrunner17/pkgconfig/mozilla-plugin.pc | |
2545 | lib/xulrunner17-sdk/lib | 2549 | lib/xulrunner17-sdk/lib | |
2546 | lib/xulrunner17-sdk/sdk/bin/xpt.py | 2550 | lib/xulrunner17-sdk/sdk/bin/xpt.py | |
2547 | lib/xulrunner17-sdk/sdk/lib/libmozglue.a | 2551 | lib/xulrunner17-sdk/sdk/lib/libmozglue.a | |
2548 | lib/xulrunner17/LICENSE | 2552 | lib/xulrunner17/LICENSE | |
2549 | lib/xulrunner17/README.xulrunner | 2553 | lib/xulrunner17/README.xulrunner | |
2550 | lib/xulrunner17/bin | 2554 | lib/xulrunner17/bin | |
2551 | lib/xulrunner17/chrome.manifest | 2555 | lib/xulrunner17/chrome.manifest | |
2552 | lib/xulrunner17/chrome/.mkdir.done | 2556 | lib/xulrunner17/chrome/.mkdir.done | |
2553 | lib/xulrunner17/chrome/en-US.manifest | 2557 | lib/xulrunner17/chrome/en-US.manifest |
@@ -1,28 +1,28 @@ | @@ -1,28 +1,28 @@ | |||
1 | # $NetBSD: buildlink3.mk,v 1.5 2013/02/16 11:19:09 wiz Exp $ | 1 | # $NetBSD: buildlink3.mk,v 1.6 2013/05/25 11:08:21 ryoon Exp $ | |
2 | 2 | |||
3 | BUILDLINK_TREE+= xulrunner17 | 3 | BUILDLINK_TREE+= xulrunner17 | |
4 | 4 | |||
5 | .if !defined(XULRUNNER17_BUILDLINK3_MK) | 5 | .if !defined(XULRUNNER17_BUILDLINK3_MK) | |
6 | XULRUNNER17_BUILDLINK3_MK:= | 6 | XULRUNNER17_BUILDLINK3_MK:= | |
7 | 7 | |||
8 | BUILDLINK_API_DEPENDS.xulrunner17+= xulrunner17>=17.0.2 | 8 | BUILDLINK_API_DEPENDS.xulrunner17+= xulrunner17>=17.0.2 | |
9 | BUILDLINK_ABI_DEPENDS.xulrunner17+= xulrunner17>=17.0.2nb3 | 9 | BUILDLINK_ABI_DEPENDS.xulrunner17+= xulrunner17>=17.0.2nb3 | |
10 | BUILDLINK_PKGSRCDIR.xulrunner17?= ../../devel/xulrunner17 | 10 | BUILDLINK_PKGSRCDIR.xulrunner17?= ../../devel/xulrunner17 | |
11 | 11 | |||
12 | BUILDLINK_INCDIRS.xulrunner17+= lib/xulrunner17-sdk/include | 12 | BUILDLINK_INCDIRS.xulrunner17+= lib/xulrunner17/include | |
13 | BUILDLINK_INCDIRS.xulrunner17+= include/xulrunner17 | 13 | BUILDLINK_INCDIRS.xulrunner17+= include/xulrunner17 | |
14 | BUILDLINK_FILES.xulrunner17+= lib/xulrunner17-sdk/include/*.h | 14 | BUILDLINK_FILES.xulrunner17+= lib/xulrunner17/include/*.h | |
15 | 15 | |||
16 | BUILDLINK_LIBDIRS.xulrunner17+= lib/xulrunner17-sdk/lib | 16 | BUILDLINK_LIBDIRS.xulrunner17+= lib/xulrunner17/lib | |
17 | BUILDLINK_FILES.xulrunner17+= lib/xulrunner17-sdk/lib/*.so | 17 | BUILDLINK_FILES.xulrunner17+= lib/xulrunner17/lib/*.so | |
18 | 18 | |||
19 | pkgbase := xulrunner17 | 19 | pkgbase := xulrunner17 | |
20 | .include "../../mk/pkg-build-options.mk" | 20 | .include "../../mk/pkg-build-options.mk" | |
21 | .if !empty(PKG_BUILD_OPTIONS.xulrunner17:Mgnome) | 21 | .if !empty(PKG_BUILD_OPTIONS.xulrunner17:Mgnome) | |
22 | . include "../../devel/libgnomeui/buildlink3.mk" | 22 | . include "../../devel/libgnomeui/buildlink3.mk" | |
23 | . include "../../sysutils/gnome-vfs/buildlink3.mk" | 23 | . include "../../sysutils/gnome-vfs/buildlink3.mk" | |
24 | .endif | 24 | .endif | |
25 | .include "../../devel/nspr/buildlink3.mk" | 25 | .include "../../devel/nspr/buildlink3.mk" | |
26 | .endif # XULRUNNER17_BUILDLINK3_MK | 26 | .endif # XULRUNNER17_BUILDLINK3_MK | |
27 | 27 | |||
28 | BUILDLINK_TREE+= -xulrunner17 | 28 | BUILDLINK_TREE+= -xulrunner17 |