Unify all the mozilla projects into using a single Makefile.common and INSTALL, and put it in seamonkey. Ensure all build with USE_DESTDIR. Bump PKGREVISIONsdiff -r1.33 -r1.34 pkgsrc/mail/thunderbird/Makefile
(abs)
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: Makefile,v 1.33 2009/01/07 14:23:03 ghen Exp $ | 1 | # $NetBSD: Makefile,v 1.34 2009/03/18 00:08:39 abs Exp $ | |
2 | 2 | |||
3 | MOZILLA= thunderbird | 3 | MOZILLA= thunderbird | |
4 | PKGREVISION= 1 | 4 | PKGREVISION= 2 | |
5 | COMMENT= Mozilla mail client | 5 | COMMENT= Mozilla mail client | |
6 | 6 | |||
7 | MOZILLA_USE_GTK2= # yes | 7 | MOZILLA_USE_GTK2= # yes | |
8 | MOZILLA_USE_XFT= YES | 8 | MOZILLA_USE_XFT= YES | |
9 | 9 | |||
10 | # thunderbird passes LD_LIBRARY_PATH to mime handlers, making them fail: | 10 | # thunderbird passes LD_LIBRARY_PATH to mime handlers, making them fail: | |
11 | # https://bugzilla.mozilla.org/show_bug.cgi?id=392327 | 11 | # https://bugzilla.mozilla.org/show_bug.cgi?id=392327 | |
12 | 12 | |||
13 | .include "../../mail/thunderbird/Makefile-thunderbird.common" | 13 | .include "../../mail/thunderbird/Makefile-thunderbird.common" | |
14 | .include "../../mk/bsd.pkg.mk" | 14 | .include "../../mk/bsd.pkg.mk" |
@@ -1,51 +1,46 @@ | @@ -1,51 +1,46 @@ | |||
1 | # $NetBSD: Makefile-thunderbird.common,v 1.42 2009/01/07 14:23:03 ghen Exp $ | 1 | # $NetBSD: Makefile-thunderbird.common,v 1.43 2009/03/18 00:08:39 abs Exp $ | |
2 | # used by mail/thunderbird/Makefile | 2 | # used by mail/thunderbird/Makefile | |
3 | # used by mail/thunderbird-gtk1/Makefile | 3 | # used by mail/thunderbird-gtk1/Makefile | |
4 | 4 | |||
5 | MOZILLA_BIN= thunderbird-bin | 5 | MOZILLA_BIN= thunderbird-bin | |
6 | MOZ_VER= 2.0.0.19 | 6 | MOZ_VER= 2.0.0.19 | |
7 | EXTRACT_SUFX= .tar.bz2 | 7 | EXTRACT_SUFX= .tar.bz2 | |
8 | DISTNAME= thunderbird-${MOZ_VER}-source | 8 | DISTNAME= thunderbird-${MOZ_VER}-source | |
9 | CATEGORIES= mail | 9 | CATEGORIES= mail | |
10 | MASTER_SITES= ${MASTER_SITE_MOZILLA:=thunderbird/releases/${MOZ_VER}/source/} | 10 | MASTER_SITES= ${MASTER_SITE_MOZILLA:=thunderbird/releases/${MOZ_VER}/source/} | |
11 | 11 | |||
12 | HOMEPAGE= http://www.mozilla.com/en-US/thunderbird/ | 12 | HOMEPAGE= http://www.mozilla.com/en-US/thunderbird/ | |
13 | 13 | |||
14 | CONFIGURE_ENV+= MOZ_THUNDERBIRD=1 | 14 | CONFIGURE_ENV+= MOZ_THUNDERBIRD=1 | |
15 | MAKE_ENV+= MOZ_THUNDERBIRD=1 | 15 | MAKE_ENV+= MOZ_THUNDERBIRD=1 | |
16 | 16 | |||
17 | DISTINFO_FILE= ${.CURDIR}/../../mail/thunderbird/distinfo | 17 | DISTINFO_FILE= ${.CURDIR}/../../mail/thunderbird/distinfo | |
18 | PATCHDIR= ${.CURDIR}/../../mail/thunderbird/patches | 18 | PATCHDIR= ${.CURDIR}/../../mail/thunderbird/patches | |
19 | 19 | |||
20 | CONFIGURE_ARGS+= --enable-application=mail | 20 | CONFIGURE_ARGS+= --enable-application=mail | |
21 | CONFIGURE_ARGS+= --enable-debug=-g | 21 | CONFIGURE_ARGS+= --enable-debug=-g | |
22 | CONFIGURE_ENV+= ac_cv_visibility_pragma=no ac_cv_visibility_hidden=no | |||
23 | 22 | |||
24 | CHECK_FILES_SKIP+= ${PREFIX}/lib/${MOZILLA}/chrome/app-chrome.manifest | 23 | CHECK_FILES_SKIP+= ${PREFIX}/lib/${MOZILLA}/chrome/app-chrome.manifest | |
25 | CHECK_FILES_SKIP+= ${PREFIX}/lib/${MOZILLA}/components/compreg.dat | 24 | CHECK_FILES_SKIP+= ${PREFIX}/lib/${MOZILLA}/components/compreg.dat | |
26 | CHECK_FILES_SKIP+= ${PREFIX}/lib/${MOZILLA}/components/xpti.dat | 25 | CHECK_FILES_SKIP+= ${PREFIX}/lib/${MOZILLA}/components/xpti.dat | |
27 | 26 | |||
28 | INSTALL_TEMPLATES+= ${.CURDIR}/../../mail/thunderbird/INSTALL | |||
29 | ||||
30 | USE_DIRS+= xdg-1.4 | 27 | USE_DIRS+= xdg-1.4 | |
31 | 28 | |||
32 | post-install: | 29 | .PHONY: install-desktop | |
33 | ${FIND} ${DESTDIR:Q}${PREFIX:Q}/lib/${MOZILLA}/defaults -type f -exec ${CHMOD} u+w {} \; | 30 | post-install: install-desktop | |
31 | install-desktop: | |||
34 | ${SED} \ | 32 | ${SED} \ | |
35 | -e 's|@MOZILLA@|${MOZILLA}|g' \ | 33 | -e 's|@MOZILLA@|${MOZILLA}|g' \ | |
36 | -e 's|@MOZILLA_NAME@|Thunderbird|g' \ | 34 | -e 's|@MOZILLA_NAME@|Thunderbird|g' \ | |
37 | -e 's|@MOZILLA_ICON@|${MOZILLA}.xpm|g' \ | 35 | -e 's|@MOZILLA_ICON@|${MOZILLA}.xpm|g' \ | |
38 | < ${.CURDIR}/../../mail/thunderbird/files/thunderbird.desktop.in \ | 36 | < ${.CURDIR}/../../mail/thunderbird/files/thunderbird.desktop.in \ | |
39 | > ${WRKDIR}/${MOZILLA}.desktop | 37 | > ${WRKDIR}/${MOZILLA}.desktop | |
40 | ${INSTALL_DATA} ${WRKDIR}/${MOZILLA}.desktop \ | 38 | ${INSTALL_DATA} ${WRKDIR}/${MOZILLA}.desktop \ | |
41 | ${DESTDIR:Q}${PREFIX:Q}/share/applications/${MOZILLA}.desktop | 39 | ${DESTDIR:Q}${PREFIX:Q}/share/applications/${MOZILLA}.desktop | |
42 | ${LN} -sf ${DESTDIR:Q}${PREFIX:Q}/lib/${MOZILLA}/chrome/icons/default/default.xpm \ | 40 | ${LN} -sf ${DESTDIR:Q}${PREFIX:Q}/lib/${MOZILLA}/chrome/icons/default/default.xpm \ | |
43 | ${DESTDIR:Q}${PREFIX:Q}/share/pixmaps/${MOZILLA}.xpm | 41 | ${DESTDIR:Q}${PREFIX:Q}/share/pixmaps/${MOZILLA}.xpm | |
44 | 42 | |||
45 | .include "../../mk/bsd.fast.prefs.mk" | 43 | INSTALLATION_DIRS+= share/applications share/pixmaps | |
46 | 44 | PKG_DESTDIR_SUPPORT= user-destdir | ||
47 | .if ${OPSYS} == "NetBSD" || ${OPSYS} == "DragonFly" | |||
48 | CPPFLAGS+= -DSQLITE_THREAD_OVERRIDE_LOCK=0 | |||
49 | .endif | |||
50 | 45 | |||
51 | .include "../../www/seamonkey/Makefile.common" | 46 | .include "../../www/seamonkey/Makefile.common" |
@@ -1,9 +1,9 @@ | @@ -1,9 +1,9 @@ | |||
1 | # $NetBSD: Makefile,v 1.20 2009/01/07 14:23:03 ghen Exp $ | 1 | # $NetBSD: Makefile,v 1.21 2009/03/18 00:08:39 abs Exp $ | |
2 | 2 | |||
3 | MOZILLA= thunderbird-gtk1 | 3 | MOZILLA= thunderbird-gtk1 | |
4 | PKGREVISION= 1 | 4 | PKGREVISION= 2 | |
5 | 5 | |||
6 | COMMENT= Mozilla mail client using the older GTK1 toolkit | 6 | COMMENT= Mozilla mail client using the older GTK1 toolkit | |
7 | 7 | |||
8 | .include "../../mail/thunderbird/Makefile-thunderbird.common" | 8 | .include "../../mail/thunderbird/Makefile-thunderbird.common" | |
9 | .include "../../mk/bsd.pkg.mk" | 9 | .include "../../mk/bsd.pkg.mk" |
@@ -1,11 +1,12 @@ | @@ -1,11 +1,12 @@ | |||
1 | # $NetBSD: Makefile,v 1.5 2007/03/02 09:34:17 ghen Exp $ | 1 | # $NetBSD: Makefile,v 1.6 2009/03/18 00:08:39 abs Exp $ | |
2 | 2 | |||
3 | MOZILLA= sunbird | 3 | MOZILLA= sunbird | |
4 | PKGREVISION= 1 | |||
4 | 5 | |||
5 | COMMENT= Mozilla stand-alone calendar application | 6 | COMMENT= Mozilla stand-alone calendar application | |
6 | 7 | |||
7 | MOZILLA_USE_GTK2= # yes | 8 | MOZILLA_USE_GTK2= # yes | |
8 | MOZILLA_USE_XFT= YES | 9 | MOZILLA_USE_XFT= YES | |
9 | 10 | |||
10 | .include "../../time/sunbird/Makefile-sunbird.common" | 11 | .include "../../time/sunbird/Makefile-sunbird.common" | |
11 | .include "../../mk/bsd.pkg.mk" | 12 | .include "../../mk/bsd.pkg.mk" |
@@ -1,35 +1,27 @@ | @@ -1,35 +1,27 @@ | |||
1 | # $NetBSD: Makefile-sunbird.common,v 1.12 2007/12/22 07:22:10 obache Exp $ | 1 | # $NetBSD: Makefile-sunbird.common,v 1.13 2009/03/18 00:08:39 abs Exp $ | |
2 | # used by time/sunbird/Makefile | |||
2 | 3 | |||
3 | MOZILLA_BIN= sunbird-bin | 4 | MOZILLA_BIN= sunbird-bin | |
4 | MOZ_VER= 0.3.1 | 5 | MOZ_VER= 0.3.1 | |
5 | EXTRACT_SUFX= .tar.bz2 | 6 | EXTRACT_SUFX= .tar.bz2 | |
6 | DISTNAME= sunbird-${MOZ_VER}.source | 7 | DISTNAME= sunbird-${MOZ_VER}.source | |
7 | CATEGORIES= time | 8 | CATEGORIES= time | |
8 | MASTER_SITES= ${MASTER_SITE_MOZILLA:=calendar/sunbird/releases/${MOZ_VER}/source/} | 9 | MASTER_SITES= ${MASTER_SITE_MOZILLA:=calendar/sunbird/releases/${MOZ_VER}/source/} | |
9 | 10 | |||
10 | HOMEPAGE= http://www.mozilla.org/projects/calendar/sunbird/ | 11 | HOMEPAGE= http://www.mozilla.org/projects/calendar/sunbird/ | |
11 | 12 | |||
12 | CONFIGURE_ENV+= MOZ_SUNBIRD=1 | 13 | CONFIGURE_ENV+= MOZ_SUNBIRD=1 | |
13 | MAKE_ENV+= MOZ_SUNBIRD=1 | 14 | MAKE_ENV+= MOZ_SUNBIRD=1 | |
14 | 15 | |||
15 | DISTINFO_FILE= ${.CURDIR}/../../time/sunbird/distinfo | 16 | DISTINFO_FILE= ${.CURDIR}/../../time/sunbird/distinfo | |
16 | PATCHDIR= ${.CURDIR}/../../time/sunbird/patches | 17 | PATCHDIR= ${.CURDIR}/../../time/sunbird/patches | |
17 | 18 | |||
18 | CONFIGURE_ARGS+= --enable-application=calendar | 19 | CONFIGURE_ARGS+= --enable-application=calendar | |
19 | CONFIGURE_ENV+= ac_cv_visibility_pragma=no ac_cv_visibility_hidden=no | |||
20 | 20 | |||
21 | CHECK_FILES_SKIP+= ${PREFIX}/lib/${MOZILLA}/chrome/app-chrome.manifest | 21 | CHECK_FILES_SKIP+= ${PREFIX}/lib/${MOZILLA}/chrome/app-chrome.manifest | |
22 | CHECK_FILES_SKIP+= ${PREFIX}/lib/${MOZILLA}/components/compreg.dat | 22 | CHECK_FILES_SKIP+= ${PREFIX}/lib/${MOZILLA}/components/compreg.dat | |
23 | CHECK_FILES_SKIP+= ${PREFIX}/lib/${MOZILLA}/components/xpti.dat | 23 | CHECK_FILES_SKIP+= ${PREFIX}/lib/${MOZILLA}/components/xpti.dat | |
24 | 24 | |||
25 | .include "../../mk/bsd.prefs.mk" | 25 | PKG_DESTDIR_SUPPORT= user-destdir | |
26 | ||||
27 | CONFIG_GUESS_OVERRIDE+= */*/*/*/config.guess | |||
28 | CONFIG_SUB_OVERRIDE+= */*/*/*/config.sub | |||
29 | ||||
30 | post-install: | |||
31 | cd ${PREFIX}/lib/${MOZILLA} && \ | |||
32 | ${SETENV} LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. HOME=${WRKSRC:Q} \ | |||
33 | ./${MOZILLA_BIN} -register | |||
34 | 26 | |||
35 | .include "../../www/seamonkey/Makefile.common" | 27 | .include "../../www/seamonkey/Makefile.common" |
@@ -1,12 +1,13 @@ | @@ -1,12 +1,13 @@ | |||
1 | # $NetBSD: Makefile,v 1.48 2008/09/24 14:34:36 ghen Exp $ | 1 | # $NetBSD: Makefile,v 1.49 2009/03/18 00:08:39 abs Exp $ | |
2 | 2 | |||
3 | MOZILLA= firefox | 3 | MOZILLA= firefox | |
4 | PKGREVISION= 1 | |||
4 | COMMENT= Lightweight gecko-based web browser | 5 | COMMENT= Lightweight gecko-based web browser | |
5 | 6 | |||
6 | MOZILLA_USE_GTK2= # yes | 7 | MOZILLA_USE_GTK2= # yes | |
7 | MOZILLA_USE_XFT= YES | 8 | MOZILLA_USE_XFT= YES | |
8 | 9 | |||
9 | INSTALLATION_DIRS= lib/pkgconfig | 10 | INSTALLATION_DIRS= lib/pkgconfig | |
10 | 11 | |||
11 | .include "../../www/firefox/Makefile-firefox.common" | 12 | .include "../../www/firefox/Makefile-firefox.common" | |
12 | .include "../../mk/bsd.pkg.mk" | 13 | .include "../../mk/bsd.pkg.mk" |
@@ -1,40 +1,31 @@ | @@ -1,40 +1,31 @@ | |||
1 | # $NetBSD: Makefile-firefox.common,v 1.62 2008/12/17 17:05:52 ghen Exp $ | 1 | # $NetBSD: Makefile-firefox.common,v 1.63 2009/03/18 00:08:39 abs Exp $ | |
2 | # used by www/firefox/Makefile | 2 | # used by www/firefox/Makefile | |
3 | # used by www/firefox-gtk1/Makefile | |||
3 | 4 | |||
4 | MOZILLA_BIN= firefox-bin | 5 | MOZILLA_BIN= firefox-bin | |
5 | MOZ_VER= 2.0.0.19 | 6 | MOZ_VER= 2.0.0.19 | |
6 | EXTRACT_SUFX= .tar.bz2 | 7 | EXTRACT_SUFX= .tar.bz2 | |
7 | ||||
8 | DISTNAME= firefox-${MOZ_VER}-source | 8 | DISTNAME= firefox-${MOZ_VER}-source | |
9 | 9 | CATEGORIES= www | ||
10 | MASTER_SITES= ${MASTER_SITE_MOZILLA:=firefox/releases/${MOZ_VER}/source/} | 10 | MASTER_SITES= ${MASTER_SITE_MOZILLA:=firefox/releases/${MOZ_VER}/source/} | |
11 | 11 | |||
12 | MAINTAINER= taya@NetBSD.org | |||
12 | HOMEPAGE= http://www.mozilla.com/en-US/firefox/ | 13 | HOMEPAGE= http://www.mozilla.com/en-US/firefox/ | |
13 | 14 | |||
14 | PKG_DESTDIR_SUPPORT= user-destdir | |||
15 | ||||
16 | DISTINFO_FILE= ${.CURDIR}/../../www/firefox/distinfo | 15 | DISTINFO_FILE= ${.CURDIR}/../../www/firefox/distinfo | |
17 | PATCHDIR= ${.CURDIR}/../../www/firefox/patches | 16 | PATCHDIR= ${.CURDIR}/../../www/firefox/patches | |
18 | 17 | |||
19 | CONFIGURE_ARGS+= --enable-application=browser | 18 | CONFIGURE_ARGS+= --enable-application=browser | |
20 | CONFIGURE_ARGS+= --without-gssapi | 19 | CONFIGURE_ARGS+= --without-gssapi | |
21 | ||||
22 | CONFIGURE_ARGS+= --enable-canvas | 20 | CONFIGURE_ARGS+= --enable-canvas | |
23 | 21 | |||
24 | MOZILLA_EXTENSIONS= default | |||
25 | CONFIGURE_ARGS+= --enable-extensions=${MOZILLA_EXTENSIONS:Q} | |||
26 | CONFIGURE_ENV+= ac_cv_visibility_pragma=no ac_cv_visibility_hidden=no | |||
27 | ||||
28 | .include "../../mk/bsd.fast.prefs.mk" | |||
29 | ||||
30 | .if ${OPSYS} == "NetBSD" || ${OPSYS} == "DragonFly" | |||
31 | CPPFLAGS+= -DSQLITE_THREAD_OVERRIDE_LOCK=0 | |||
32 | .endif | |||
33 | ||||
34 | USE_LANGUAGES+= c++ | 22 | USE_LANGUAGES+= c++ | |
35 | BUILD_SVG= # yes | 23 | BUILD_SVG= # yes | |
36 | BUILD_MATHML= # yes | 24 | BUILD_MATHML= # yes | |
37 | 25 | |||
38 | .include "../../www/firefox/Makefile.common" | 26 | MOZILLA_EXTENSIONS= default | |
27 | CONFIGURE_ARGS+= --enable-extensions=${MOZILLA_EXTENSIONS:Q} | |||
28 | ||||
29 | PKG_DESTDIR_SUPPORT= user-destdir | |||
39 | 30 | |||
40 | INSTALL_TEMPLATES+= ${.CURDIR}/../../www/firefox/INSTALL | 31 | .include "../../www/seamonkey/Makefile.common" |
@@ -1,7 +1,8 @@ | @@ -1,7 +1,8 @@ | |||
1 | # $NetBSD: Makefile,v 1.21 2008/09/24 14:34:36 ghen Exp $ | 1 | # $NetBSD: Makefile,v 1.22 2009/03/18 00:08:40 abs Exp $ | |
2 | 2 | |||
3 | MOZILLA= firefox-gtk1 | 3 | MOZILLA= firefox-gtk1 | |
4 | PKGREVISION= 1 | |||
4 | COMMENT= Lightweight gecko-based web browser built with GTK+-1.x | 5 | COMMENT= Lightweight gecko-based web browser built with GTK+-1.x | |
5 | 6 | |||
6 | .include "../../www/firefox/Makefile-firefox.common" | 7 | .include "../../www/firefox/Makefile-firefox.common" | |
7 | .include "../../mk/bsd.pkg.mk" | 8 | .include "../../mk/bsd.pkg.mk" |
@@ -1,20 +1,19 @@ | @@ -1,20 +1,19 @@ | |||
1 | # $NetBSD: Makefile,v 1.24 2009/03/05 15:44:02 tron Exp $ | 1 | # $NetBSD: Makefile,v 1.25 2009/03/18 00:08:40 abs Exp $ | |
2 | 2 | |||
3 | MOZILLA= firefox3 # allow coexisting with firefox2 | 3 | MOZILLA= firefox3 # allow coexisting with firefox2 | |
4 | PKGREVISION= 1 | |||
4 | COMMENT= Lightweight gecko-based web browser | 5 | COMMENT= Lightweight gecko-based web browser | |
5 | 6 | |||
6 | PKG_DESTDIR_SUPPORT= user-destdir | |||
7 | ||||
8 | MOZILLA_USE_GTK2= # yes | 7 | MOZILLA_USE_GTK2= # yes | |
9 | MOZILLA_USE_XFT= YES | 8 | MOZILLA_USE_XFT= YES | |
10 | 9 | |||
11 | INSTALLATION_DIRS= lib/pkgconfig share/applications share/pixmaps | 10 | INSTALLATION_DIRS= lib/pkgconfig share/applications share/pixmaps | |
12 | 11 | |||
13 | CHECK_PORTABILITY_SKIP= security/nss/tests/libpkix/libpkix.sh | 12 | CHECK_PORTABILITY_SKIP= security/nss/tests/libpkix/libpkix.sh | |
14 | 13 | |||
15 | BUILDLINK_API_DEPENDS.cairo+= cairo>=1.6.4 | 14 | BUILDLINK_API_DEPENDS.cairo+= cairo>=1.6.4 | |
16 | 15 | |||
17 | # Pull in standard firefox build framework, and override some things below. | 16 | # Pull in standard firefox build framework, and override some things below. | |
18 | # This include must appear first, to ensure that USE_LANGUAGES is set | 17 | # This include must appear first, to ensure that USE_LANGUAGES is set | |
19 | # correctly before mk/compiler.mk may be loaded. | 18 | # correctly before mk/compiler.mk may be loaded. | |
20 | .include "../../www/firefox/Makefile-firefox.common" | 19 | .include "../../www/firefox/Makefile-firefox.common" |
@@ -1,11 +1,11 @@ | @@ -1,11 +1,11 @@ | |||
1 | # $NetBSD: Makefile,v 1.24 2007/10/22 08:04:07 ghen Exp $ | 1 | # $NetBSD: Makefile,v 1.25 2009/03/18 00:08:40 abs Exp $ | |
2 | 2 | |||
3 | MOZILLA= seamonkey | 3 | MOZILLA= seamonkey | |
4 | 4 | PKGREVISION= 1 | ||
5 | COMMENT= Full featured gecko-based browser | 5 | COMMENT= Full featured gecko-based browser | |
6 | 6 | |||
7 | MOZILLA_USE_GTK2= # yes | 7 | MOZILLA_USE_GTK2= # yes | |
8 | MOZILLA_USE_XFT= YES | 8 | MOZILLA_USE_XFT= YES | |
9 | 9 | |||
10 | .include "../../www/seamonkey/Makefile-seamonkey.common" | 10 | .include "../../www/seamonkey/Makefile-seamonkey.common" | |
11 | .include "../../mk/bsd.pkg.mk" | 11 | .include "../../mk/bsd.pkg.mk" |
@@ -1,29 +1,26 @@ | @@ -1,29 +1,26 @@ | |||
1 | # $NetBSD: Makefile-seamonkey.common,v 1.22 2009/01/05 19:41:06 ghen Exp $ | 1 | # $NetBSD: Makefile-seamonkey.common,v 1.23 2009/03/18 00:08:40 abs Exp $ | |
2 | # used by www/seamonkey/Makefile | |||
3 | # used by www/seamonkey-gtk1/Makefile | |||
2 | 4 | |||
3 | MOZILLA_BIN= seamonkey-bin | 5 | MOZILLA_BIN= seamonkey-bin | |
4 | MOZ_VER= 1.1.14 | 6 | MOZ_VER= 1.1.14 | |
5 | EXTRACT_SUFX= .tar.bz2 | 7 | EXTRACT_SUFX= .tar.bz2 | |
6 | DISTNAME= seamonkey-${MOZ_DIST_VER}.source | 8 | DISTNAME= seamonkey-${MOZ_DIST_VER}.source | |
7 | ||||
8 | MASTER_SITES= ${MASTER_SITE_MOZILLA:=seamonkey/releases/${MOZ_DIST_VER}/} | |||
9 | CATEGORIES= www | 9 | CATEGORIES= www | |
10 | MASTER_SITES= ${MASTER_SITE_MOZILLA:=seamonkey/releases/${MOZ_DIST_VER}/} | |||
10 | 11 | |||
11 | MAINTAINER= ghen@NetBSD.org | 12 | MAINTAINER= ghen@NetBSD.org | |
12 | HOMEPAGE= http://www.mozilla.org/projects/seamonkey/ | 13 | HOMEPAGE= http://www.mozilla.org/projects/seamonkey/ | |
13 | 14 | |||
14 | ||||
15 | DISTINFO_FILE= ${.CURDIR}/../../www/seamonkey/distinfo | 15 | DISTINFO_FILE= ${.CURDIR}/../../www/seamonkey/distinfo | |
16 | PATCHDIR= ${.CURDIR}/../../www/seamonkey/patches | 16 | PATCHDIR= ${.CURDIR}/../../www/seamonkey/patches | |
17 | 17 | |||
18 | CONFIGURE_ARGS+= --enable-application=suite | 18 | CONFIGURE_ARGS+= --enable-application=suite | |
19 | 19 | |||
20 | USE_LANGUAGES+= c++ | |||
20 | BUILD_SVG= # yes | 21 | BUILD_SVG= # yes | |
21 | BUILD_MATHML= # yes | 22 | BUILD_MATHML= # yes | |
22 | 23 | |||
23 | .include "../../mk/bsd.prefs.mk" | 24 | PKG_DESTDIR_SUPPORT= user-destdir | |
24 | ||||
25 | .if ${OPSYS} == "NetBSD" || ${OPSYS} == "DragonFly" | |||
26 | CPPFLAGS+= -DSQLITE_THREAD_OVERRIDE_LOCK=0 | |||
27 | .endif | |||
28 | 25 | |||
29 | .include "../../www/seamonkey/Makefile.common" | 26 | .include "../../www/seamonkey/Makefile.common" |
@@ -1,103 +1,94 @@ | @@ -1,103 +1,94 @@ | |||
1 | # $NetBSD: Makefile.common,v 1.32 2009/02/18 10:51:40 abs Exp $ | 1 | # $NetBSD: Makefile.common,v 1.33 2009/03/18 00:08:40 abs Exp $ | |
2 | # used by www/firefox/Makefile-firefox.common | |||
2 | # used by mail/thunderbird/Makefile-thunderbird.common | 3 | # used by mail/thunderbird/Makefile-thunderbird.common | |
3 | # used by www/seamonkey/Makefile-seamonkey.common | 4 | # used by www/seamonkey/Makefile-seamonkey.common | |
4 | # used by time/sunbird/Makefile-sunbird.common | 5 | # used by time/sunbird/Makefile-sunbird.common | |
5 | 6 | |||
6 | MOZ_DIST_VER?= ${MOZ_VER} | 7 | MOZ_DIST_VER?= ${MOZ_VER} | |
7 | DISTNAME?= seamonkey-${MOZ_DIST_VER}.source | 8 | DISTNAME?= seamonkey-${MOZ_DIST_VER}.source | |
8 | PKGNAME= ${MOZILLA}-${MOZ_VER} | 9 | PKGNAME= ${MOZILLA}-${MOZ_VER} | |
9 | MASTER_SITES?= ${MASTER_SITE_MOZILLA:=seamonkey/releases/${MOZ_DIST_VER}/} | |||
10 | CATEGORIES?= www | 10 | CATEGORIES?= www | |
11 | MASTER_SITES?= ${MASTER_SITE_MOZILLA:=seamonkey/releases/${MOZ_DIST_VER}/} | |||
11 | 12 | |||
12 | FILESDIR= ${.CURDIR}/../../www/seamonkey/files | 13 | FILESDIR= ${.CURDIR}/../../www/seamonkey/files | |
13 | 14 | |||
14 | BUILD_DEPENDS+= zip>=2.3:../../archivers/zip | 15 | BUILD_DEPENDS+= zip>=2.3:../../archivers/zip | |
15 | 16 | |||
16 | WRKSRC= ${WRKDIR}/mozilla | 17 | WRKSRC= ${WRKDIR}/mozilla | |
17 | USE_LANGUAGES= c c++ | 18 | USE_LANGUAGES= c c++ | |
18 | USE_TOOLS+= autoconf213 gmake perl pkg-config | 19 | USE_TOOLS+= autoconf213 gmake perl pkg-config | |
19 | GNU_CONFIGURE= yes | 20 | GNU_CONFIGURE= yes | |
20 | 21 | |||
22 | # Mozilla applications require the frame-pointer | |||
23 | BUILDLINK_TRANSFORM+= rm:-fomit-frame-pointer | |||
24 | ||||
21 | INSTALL_TEMPLATES+= ${.CURDIR}/../../www/seamonkey/INSTALL | 25 | INSTALL_TEMPLATES+= ${.CURDIR}/../../www/seamonkey/INSTALL | |
22 | 26 | |||
23 | CONFIG_GUESS_OVERRIDE= build/autoconf/config.guess | 27 | CONFIG_GUESS_OVERRIDE+= */*/*/config.guess */*/*/*/config.guess | |
24 | CONFIG_GUESS_OVERRIDE+= nsprpub/build/autoconf/config.guess | 28 | CONFIG_SUB_OVERRIDE+= */*/*/config.sub */*/*/*/config.sub | |
25 | CONFIG_GUESS_OVERRIDE+= directory/c-sdk/config/autoconf/config.guess | |||
26 | CONFIG_SUB_OVERRIDE= build/autoconf/config.sub | |||
27 | CONFIG_SUB_OVERRIDE+= nsprpub/build/autoconf/config.sub | |||
28 | CONFIG_SUB_OVERRIDE+= directory/c-sdk/config/autoconf/config.sub | |||
29 | CONFIG_STATUS_OVERRIDE= build/config.status | 29 | CONFIG_STATUS_OVERRIDE= build/config.status | |
30 | CONFIG_STATUS_OVERRIDE+= nsprpub/config.status | 30 | CONFIG_STATUS_OVERRIDE+= nsprpub/config.status | |
31 | CONFIG_STATUS_OVERRIDE+= directory/c-sdk/config.status | 31 | CONFIG_STATUS_OVERRIDE+= directory/c-sdk/config.status | |
32 | 32 | |||
33 | PKGCONFIG_OVERRIDE+= build/unix/${MOZILLA}-gtkmozembed.pc | |||
34 | PKGCONFIG_OVERRIDE+= build/unix/${MOZILLA}-js.pc | |||
35 | PKGCONFIG_OVERRIDE+= build/unix/${MOZILLA}-nspr.pc | |||
36 | PKGCONFIG_OVERRIDE+= build/unix/${MOZILLA}-nss.pc | |||
37 | PKGCONFIG_OVERRIDE+= build/unix/${MOZILLA}-plugin.pc | |||
38 | PKGCONFIG_OVERRIDE+= build/unix/${MOZILLA}-xpcom.pc | |||
39 | # Some .pc files are filled in by the build process, so we can't fix the | 33 | # Some .pc files are filled in by the build process, so we can't fix the | |
40 | # rpaths until this has happened. | 34 | # rpaths until this has happened. | |
41 | PKGCONFIG_OVERRIDE_STAGE= post-build | 35 | PKGCONFIG_OVERRIDE_STAGE= post-build | |
36 | PKGCONFIG_OVERRIDE+= build/unix/*.pc | |||
42 | 37 | |||
38 | CONFIGURE_ENV+= ac_cv_visibility_pragma=no ac_cv_visibility_hidden=no | |||
43 | CONFIGURE_ARGS+= --disable-tests | 39 | CONFIGURE_ARGS+= --disable-tests | |
44 | CONFIGURE_ARGS+= --disable-pedantic | 40 | CONFIGURE_ARGS+= --disable-pedantic | |
45 | CONFIGURE_ARGS+= --with-system-jpeg=${BUILDLINK_PREFIX.jpeg:Q} | 41 | CONFIGURE_ARGS+= --with-system-jpeg=${BUILDLINK_PREFIX.jpeg:Q} | |
46 | CONFIGURE_ARGS+= --with-system-png=${BUILDLINK_PREFIX.png:Q} | 42 | CONFIGURE_ARGS+= --with-system-png=${BUILDLINK_PREFIX.png:Q} | |
47 | CONFIGURE_ARGS+= --enable-crypto | 43 | CONFIGURE_ARGS+= --enable-crypto | |
48 | CONFIGURE_ENV+= ac_cv_visibility_pragma=no ac_cv_visibility_hidden=no | |||
49 | 44 | |||
50 | SHAREMODE?= 644 | 45 | SHAREMODE?= 644 | |
51 | BUILD_TARGET= # empty | 46 | BUILD_TARGET= # empty | |
52 | 47 | |||
53 | UNLIMIT_RESOURCES= datasize memorysize stacksize | 48 | UNLIMIT_RESOURCES= datasize memorysize stacksize | |
54 | 49 | |||
55 | .include "../../x11/libXt/buildlink3.mk" | 50 | .include "../../x11/libXt/buildlink3.mk" | |
56 | .include "../../graphics/freetype2/buildlink3.mk" | 51 | .include "../../x11/libXi/buildlink3.mk" | |
57 | .include "../../graphics/jpeg/buildlink3.mk" | 52 | .include "../../graphics/jpeg/buildlink3.mk" | |
58 | .include "../../graphics/png/buildlink3.mk" | 53 | .include "../../graphics/png/buildlink3.mk" | |
54 | ||||
59 | .if defined(MOZILLA_USE_GTK2) | 55 | .if defined(MOZILLA_USE_GTK2) | |
60 | .include "../../net/libIDL/buildlink3.mk" | 56 | .include "../../net/libIDL/buildlink3.mk" | |
61 | .include "../../x11/gtk2/buildlink3.mk" | 57 | .include "../../x11/gtk2/buildlink3.mk" | |
58 | .include "../../x11/xextproto/buildlink3.mk" | |||
59 | .include "../../x11/libXext/buildlink3.mk" | |||
62 | CONFIGURE_ARGS+= --enable-default-toolkit=gtk2 --disable-gnomevfs | 60 | CONFIGURE_ARGS+= --enable-default-toolkit=gtk2 --disable-gnomevfs | |
63 | .else | 61 | .else | |
64 | .include "../../fonts/fontconfig/buildlink3.mk" | 62 | .include "../../graphics/freetype2/buildlink3.mk" | |
65 | .include "../../graphics/gdk-pixbuf/buildlink3.mk" | 63 | .include "../../graphics/gdk-pixbuf/buildlink3.mk" | |
66 | .include "../../net/ORBit/buildlink3.mk" | 64 | .include "../../net/ORBit/buildlink3.mk" | |
67 | .include "../../x11/gtk/buildlink3.mk" | |||
68 | .include "../../x11/libXp/buildlink3.mk" | 65 | .include "../../x11/libXp/buildlink3.mk" | |
69 | .include "../../x11/libXrender/buildlink3.mk" | 66 | .include "../../x11/gtk/buildlink3.mk" | |
70 | CONFIGURE_ARGS+= --enable-default-toolkit=gtk | 67 | CONFIGURE_ARGS+= --enable-default-toolkit=gtk | |
71 | .endif | 68 | .endif | |
72 | 69 | |||
73 | # NetBSD-*-m68k builds, but "regchrome" dumps core. | 70 | # NetBSD-*-m68k builds, but "regchrome" dumps core. | |
74 | NOT_FOR_PLATFORM= NetBSD-1.4.*-* NetBSD-*-m68k | 71 | NOT_FOR_PLATFORM= NetBSD-1.4.*-* NetBSD-*-m68k | |
75 | 72 | |||
76 | # Mozilla applications require the frame-pointer | |||
77 | BUILDLINK_TRANSFORM+= rm:-fomit-frame-pointer | |||
78 | ||||
79 | MAKE_ENV+= MOZILLA_PKG_NAME=${MOZILLA:Q} | 73 | MAKE_ENV+= MOZILLA_PKG_NAME=${MOZILLA:Q} | |
80 | 74 | |||
81 | MOZ_LIBDIR= ${PREFIX}/lib/${MOZILLA} | 75 | MOZ_LIBDIR= ${PREFIX}/lib/${MOZILLA} | |
82 | MAKE_ENV+= LIBRUNPATH=${MOZ_LIBDIR:Q} | 76 | MAKE_ENV+= LIBRUNPATH=${MOZ_LIBDIR:Q} | |
83 | CONFIGURE_ENV+= LIBRUNPATH=${MOZ_LIBDIR:Q} | 77 | CONFIGURE_ENV+= LIBRUNPATH=${MOZ_LIBDIR:Q} | |
84 | LDFLAGS+= ${COMPILER_RPATH_FLAG}${MOZ_LIBDIR} | 78 | LDFLAGS+= ${COMPILER_RPATH_FLAG}${MOZ_LIBDIR} | |
85 | 79 | |||
86 | .if defined(BUILD_SVG) | 80 | .if defined(BUILD_SVG) | |
87 | MAKE_ENV+= MOZ_INTERNAL_LIBART_LGPL=1 | |||
88 | CONFIGURE_ENV+= MOZ_INTERNAL_LIBART_LGPL=1 | |||
89 | CONFIGURE_ARGS+= --enable-svg | 81 | CONFIGURE_ARGS+= --enable-svg | |
90 | CONFIGURE_ARGS+= --enable-svg-renderer-libart | |||
91 | CONFIGURE_ARGS+= --enable-svg-renderer=cairo | 82 | CONFIGURE_ARGS+= --enable-svg-renderer=cairo | |
92 | .include "../../graphics/cairo/buildlink3.mk" | 83 | .include "../../graphics/cairo/buildlink3.mk" | |
93 | CONFIGURE_ARGS+= --enable-system-cairo | 84 | CONFIGURE_ARGS+= --enable-system-cairo | |
94 | .endif | 85 | .endif | |
95 | 86 | |||
96 | .if defined(BUILD_CALENDAR) | 87 | .if defined(BUILD_CALENDAR) | |
97 | CONFIGURE_ARGS+= --enable-calendar | 88 | CONFIGURE_ARGS+= --enable-calendar | |
98 | .endif | 89 | .endif | |
99 | 90 | |||
100 | .if defined(BUILD_MATHML) | 91 | .if defined(BUILD_MATHML) | |
101 | CONFIGURE_ARGS+= --enable-mathml | 92 | CONFIGURE_ARGS+= --enable-mathml | |
102 | .endif | 93 | .endif | |
103 | 94 | |||
@@ -153,80 +144,80 @@ PTHREAD_OPTS+= native optional | @@ -153,80 +144,80 @@ PTHREAD_OPTS+= native optional | |||
153 | .if (${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "x86_64") | 144 | .if (${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "x86_64") | |
154 | GCC_REQD+= 3.4 | 145 | GCC_REQD+= 3.4 | |
155 | .endif | 146 | .endif | |
156 | 147 | |||
157 | .include "../../mk/compiler.mk" | 148 | .include "../../mk/compiler.mk" | |
158 | .if !empty(CC_VERSION:Mgcc*) | 149 | .if !empty(CC_VERSION:Mgcc*) | |
159 | COPTS?= -O2 | 150 | COPTS?= -O2 | |
160 | .endif | 151 | .endif | |
161 | CONFIGURE_ARGS+= --enable-optimize=${COPTS:Q} | 152 | CONFIGURE_ARGS+= --enable-optimize=${COPTS:Q} | |
162 | 153 | |||
163 | XPTCFILES+= xptcinvoke_asm_sparc64_netbsd.s xptcstubs_asm_sparc64_netbsd.s | 154 | XPTCFILES+= xptcinvoke_asm_sparc64_netbsd.s xptcstubs_asm_sparc64_netbsd.s | |
164 | XPTCFILES+= xptcinvoke_sparc64_netbsd.cpp xptcstubs_sparc64_netbsd.cpp | 155 | XPTCFILES+= xptcinvoke_sparc64_netbsd.cpp xptcstubs_sparc64_netbsd.cpp | |
165 | 156 | |||
157 | .if ${OPSYS} == "NetBSD" || ${OPSYS} == "DragonFly" | |||
158 | CPPFLAGS+= -DSQLITE_THREAD_OVERRIDE_LOCK=0 | |||
159 | .endif | |||
160 | ||||
166 | .if ${OPSYS} == "Darwin" | 161 | .if ${OPSYS} == "Darwin" | |
167 | BUILDLINK_PASSTHRU_DIRS+=/Developer | 162 | BUILDLINK_PASSTHRU_DIRS+=/Developer | |
168 | .endif | 163 | .endif | |
169 | 164 | |||
170 | post-extract: | 165 | post-extract: | |
171 | .for f in ${XPTCFILES} | 166 | cd ${FILESDIR:Q} \ | |
172 | ${CP} ${FILESDIR:Q}/${f:Q} ${WRKSRC:Q}/xpcom/reflect/xptcall/src/md/unix/${f:Q} | 167 | && ${CP} ${XPTCFILES} ${WRKSRC:Q}/xpcom/reflect/xptcall/src/md/unix/ | |
173 | .endfor | |||
174 | 168 | |||
175 | pre-configure: | 169 | pre-configure: | |
176 | cd ${WRKSRC:Q} && autoconf | 170 | cd ${WRKSRC:Q} && autoconf | |
177 | cd ${WRKSRC:Q}/nsprpub && autoconf | 171 | cd ${WRKSRC:Q}/nsprpub && autoconf | |
178 | cd ${WRKSRC:Q}/directory/c-sdk && autoconf | 172 | cd ${WRKSRC:Q}/directory/c-sdk && autoconf | |
179 | 173 | |||
180 | post-build: | 174 | post-build: | |
181 | ${ECHO} skin,install,select,classic/1.0 >> \ | 175 | ${ECHO} skin,install,select,classic/1.0 >> \ | |
182 | ${WRKSRC:Q}/dist/bin/chrome/installed-chrome.txt | 176 | ${WRKSRC:Q}/dist/bin/chrome/installed-chrome.txt | |
183 | ${ECHO} locale,install,select,en-US >> \ | 177 | ${ECHO} locale,install,select,en-US >> \ | |
184 | ${WRKSRC:Q}/dist/bin/chrome/installed-chrome.txt | 178 | ${WRKSRC:Q}/dist/bin/chrome/installed-chrome.txt | |
185 | 179 | |||
186 | # The exact set of libfreebl* libs built and installed depends on the | 180 | # The exact set of libfreebl* libs built and installed depends on the | |
187 | # operating system and platform. For example, on solaris/sparc you might | 181 | # operating system and platform. For example, on solaris/sparc you might | |
188 | # get | 182 | # get | |
189 | # libfreebl_32fpu_3.so | 183 | # libfreebl_32fpu_3.so | |
190 | # libfreebl_32int_3.so | 184 | # libfreebl_32int_3.so | |
191 | # libfreebl_32int64_3.so | 185 | # libfreebl_32int64_3.so | |
192 | # and on others | 186 | # and on others | |
193 | # libfreebl3.so | 187 | # libfreebl3.so | |
194 | # Since this has been a continual problem in many mozilla packages, just | 188 | # Since this has been a continual problem in many mozilla packages, just | |
195 | # do that part dynamically rather than trying to always keep our conditionals | 189 | # do that part dynamically rather than trying to always keep our conditionals | |
196 | # up to date. Note that the exact set of libfreebl libs has had a history | 190 | # up to date. Note that the exact set of libfreebl libs has had a history | |
197 | # of changing even on minor releases. | 191 | # of changing even on minor releases. | |
198 | PLIST_SRC= ${WRKDIR}/PLIST | 192 | PLIST_SRC= ${WRKDIR}/PLIST | |
199 | pre-install: | 193 | pre-install: | |
200 | cd ${WRKSRC:Q}/dist/bin && ls libfreebl*.${SO_SUFFIX} | ${SORT} | \ | 194 | cd ${WRKSRC:Q}/dist/bin && ls libfreebl*.${SO_SUFFIX} | ${SORT} | \ | |
201 | ${AWK} '{print "lib/$${MOZILLA}/" $$0}' > ${WRKSRC}/PLIST.libfreebl | 195 | ${AWK} '{print "lib/$${MOZILLA}/" $$0}' > ${WRKSRC}/PLIST.libfreebl | |
202 | cd ${WRKSRC:Q}/dist/bin && ls libfreebl*.chk | ${SORT} | \ | 196 | cd ${WRKSRC:Q}/dist/bin && ls libfreebl*.chk | ${SORT} | \ | |
203 | ${AWK} '{print "lib/$${MOZILLA}/" $$0}' > ${WRKSRC}/PLIST.libfreebl.chk | 197 | ${AWK} '{print "lib/$${MOZILLA}/" $$0}' > ${WRKSRC}/PLIST.libfreebl.chk | |
204 | ${AWK} '/@comment libfreebl$$/ {exit} {print}' ${.CURDIR}/PLIST > ${PLIST_SRC} | 198 | ${AWK} '/@comment libfreebl$$/ {exit} {print}' ${.CURDIR}/PLIST > ${PLIST_SRC} | |
205 | ${CAT} ${WRKSRC}/PLIST.libfreebl >> ${PLIST_SRC} | 199 | ${CAT} ${WRKSRC}/PLIST.libfreebl >> ${PLIST_SRC} | |
206 | ${AWK} '/@comment libfreebl.chk/ {exit} ok == 1 {print} /@comment libfreebl$$/ {ok=1}' \ | 200 | ${AWK} '/@comment libfreebl.chk/ {exit} ok == 1 {print} /@comment libfreebl$$/ {ok=1}' \ | |
207 | ${.CURDIR}/PLIST >> ${PLIST_SRC} | 201 | ${.CURDIR}/PLIST >> ${PLIST_SRC} | |
208 | ${CAT} ${WRKSRC}/PLIST.libfreebl.chk >> ${PLIST_SRC} | 202 | ${CAT} ${WRKSRC}/PLIST.libfreebl.chk >> ${PLIST_SRC} | |
209 | ${AWK} 'ok == 1 {print} /@comment libfreebl.chk/ {ok=1}' \ | 203 | ${AWK} 'ok == 1 {print} /@comment libfreebl.chk/ {ok=1}' \ | |
210 | ${.CURDIR}/PLIST >> ${PLIST_SRC} | 204 | ${.CURDIR}/PLIST >> ${PLIST_SRC} | |
211 | 205 | |||
212 | do-install: | 206 | do-install: | |
213 | ${SETENV} ${SCRIPTS_ENV} ${SH} ${FILESDIR:Q}/moz-install | 207 | ${SETENV} ${SCRIPTS_ENV} DESTDIR=${DESTDIR} ${SH} ${FILESDIR:Q}/moz-install | |
214 | 208 | |||
215 | .if !target(do-install) | |||
216 | post-install: | 209 | post-install: | |
217 | ${FIND} ${PREFIX}/lib/${MOZILLA}/defaults -type f -print | \ | 210 | ${FIND} ${DESTDIR:Q}${PREFIX:Q}/lib/${MOZILLA}/defaults -type f -exec ${CHMOD} u+w {} \; | |
218 | ${XARGS} ${CHMOD} u+w | |||
219 | .endif | |||
220 | 211 | |||
221 | .include "../../mk/pthread.buildlink3.mk" | 212 | .include "../../mk/pthread.buildlink3.mk" | |
222 | 213 | |||
223 | .if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} == "none") | 214 | .if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} == "none") | |
224 | CONFIGURE_ARGS+= --without-pthreads | 215 | CONFIGURE_ARGS+= --without-pthreads | |
225 | .else | 216 | .else | |
226 | CONFIGURE_ARGS+= --with-pthreads | 217 | CONFIGURE_ARGS+= --with-pthreads | |
227 | .endif | 218 | .endif | |
228 | 219 | |||
229 | .if ${MOZILLA_USE_XFT} == "YES" | 220 | .if ${MOZILLA_USE_XFT} == "YES" | |
230 | CONFIGURE_ARGS+= --enable-xft | 221 | CONFIGURE_ARGS+= --enable-xft | |
231 | # pkgconfig defaults to a "build" dependency, which is what we want. | 222 | # pkgconfig defaults to a "build" dependency, which is what we want. | |
232 | .include "../../x11/libXft/buildlink3.mk" | 223 | .include "../../x11/libXft/buildlink3.mk" |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.15 2008/07/05 12:04:38 ghen Exp $ | 1 | @comment $NetBSD: PLIST,v 1.16 2009/03/18 00:08:40 abs Exp $ | |
2 | bin/${MOZILLA} | 2 | bin/${MOZILLA} | |
3 | @comment begin PROGRAMS | 3 | @comment begin PROGRAMS | |
4 | lib/${MOZILLA}/${MOZILLA_BIN} | 4 | lib/${MOZILLA}/${MOZILLA_BIN} | |
5 | lib/${MOZILLA}/dirver | 5 | lib/${MOZILLA}/dirver | |
6 | lib/${MOZILLA}/mangle | 6 | lib/${MOZILLA}/mangle | |
7 | lib/${MOZILLA}/mozilla-xremote-client | 7 | lib/${MOZILLA}/mozilla-xremote-client | |
8 | lib/${MOZILLA}/nsinstall | 8 | lib/${MOZILLA}/nsinstall | |
9 | lib/${MOZILLA}/regchrome | 9 | lib/${MOZILLA}/regchrome | |
10 | lib/${MOZILLA}/regxpcom | 10 | lib/${MOZILLA}/regxpcom | |
11 | lib/${MOZILLA}/shlibsign | 11 | lib/${MOZILLA}/shlibsign | |
12 | lib/${MOZILLA}/xpcshell | 12 | lib/${MOZILLA}/xpcshell | |
13 | lib/${MOZILLA}/xpicleanup | 13 | lib/${MOZILLA}/xpicleanup | |
14 | lib/${MOZILLA}/xpidl | 14 | lib/${MOZILLA}/xpidl | |
@@ -3033,28 +3033,28 @@ include/${MOZILLA}/nss/secmodt.h | @@ -3033,28 +3033,28 @@ include/${MOZILLA}/nss/secmodt.h | |||
3033 | include/${MOZILLA}/nss/secoid.h | 3033 | include/${MOZILLA}/nss/secoid.h | |
3034 | include/${MOZILLA}/nss/secoidt.h | 3034 | include/${MOZILLA}/nss/secoidt.h | |
3035 | include/${MOZILLA}/nss/secpkcs5.h | 3035 | include/${MOZILLA}/nss/secpkcs5.h | |
3036 | include/${MOZILLA}/nss/secpkcs7.h | 3036 | include/${MOZILLA}/nss/secpkcs7.h | |
3037 | include/${MOZILLA}/nss/secport.h | 3037 | include/${MOZILLA}/nss/secport.h | |
3038 | include/${MOZILLA}/nss/shsign.h | 3038 | include/${MOZILLA}/nss/shsign.h | |
3039 | include/${MOZILLA}/nss/smime.h | 3039 | include/${MOZILLA}/nss/smime.h | |
3040 | include/${MOZILLA}/nss/ssl.h | 3040 | include/${MOZILLA}/nss/ssl.h | |
3041 | include/${MOZILLA}/nss/sslerr.h | 3041 | include/${MOZILLA}/nss/sslerr.h | |
3042 | include/${MOZILLA}/nss/sslproto.h | 3042 | include/${MOZILLA}/nss/sslproto.h | |
3043 | include/${MOZILLA}/nss/sslt.h | 3043 | include/${MOZILLA}/nss/sslt.h | |
3044 | include/${MOZILLA}/nss/watcomfx.h | 3044 | include/${MOZILLA}/nss/watcomfx.h | |
3045 | @comment end INCLUDE-PUBLIC | 3045 | @comment end INCLUDE-PUBLIC | |
3046 | @exec env LD_LIBRARY_PATH=%D/lib/${MOZILLA}:%D/lib MOZILLA_FIVE_HOME=%D/lib/${MOZILLA} %D/lib/${MOZILLA}/regxpcom | 3046 | @exec env LD_LIBRARY_PATH=%D/lib/${MOZILLA} MOZILLA_FIVE_HOME=%D/lib/${MOZILLA} %D/lib/${MOZILLA}/regxpcom | |
3047 | @exec env LD_LIBRARY_PATH=%D/lib/${MOZILLA}%D/lib MOZILLA_FIVE_HOME=%D/lib/${MOZILLA} %D/lib/${MOZILLA}/regchrome | 3047 | @exec env LD_LIBRARY_PATH=%D/lib/${MOZILLA} MOZILLA_FIVE_HOME=%D/lib/${MOZILLA} %D/lib/${MOZILLA}/regchrome | |
3048 | @unexec ${RM} %D/lib/${MOZILLA}/chrome/chrome.rdf | 3048 | @unexec ${RM} %D/lib/${MOZILLA}/chrome/chrome.rdf | |
3049 | @unexec ${RM} %D/lib/${MOZILLA}/chrome/overlays.rdf | 3049 | @unexec ${RM} %D/lib/${MOZILLA}/chrome/overlays.rdf | |
3050 | @unexec ${RM} %D/lib/${MOZILLA}/chrome/stylesheets.rdf | 3050 | @unexec ${RM} %D/lib/${MOZILLA}/chrome/stylesheets.rdf | |
3051 | @unexec ${RM} %D/lib/${MOZILLA}/components/compreg.dat | 3051 | @unexec ${RM} %D/lib/${MOZILLA}/components/compreg.dat | |
3052 | @unexec ${RM} %D/lib/${MOZILLA}/components/xpti.dat | 3052 | @unexec ${RM} %D/lib/${MOZILLA}/components/xpti.dat | |
3053 | @comment begin DIRS | 3053 | @comment begin DIRS | |
3054 | @dirrm lib/${MOZILLA}/searchplugins | 3054 | @dirrm lib/${MOZILLA}/searchplugins | |
3055 | @dirrm lib/${MOZILLA}/res/throbber | 3055 | @dirrm lib/${MOZILLA}/res/throbber | |
3056 | @dirrm lib/${MOZILLA}/res/samples/sampleimages | 3056 | @dirrm lib/${MOZILLA}/res/samples/sampleimages | |
3057 | @dirrm lib/${MOZILLA}/res/samples | 3057 | @dirrm lib/${MOZILLA}/res/samples | |
3058 | @dirrm lib/${MOZILLA}/res/html | 3058 | @dirrm lib/${MOZILLA}/res/html | |
3059 | @dirrm lib/${MOZILLA}/res/fonts | 3059 | @dirrm lib/${MOZILLA}/res/fonts | |
3060 | @dirrm lib/${MOZILLA}/res/entityTables | 3060 | @dirrm lib/${MOZILLA}/res/entityTables |
@@ -1,8 +1,9 @@ | @@ -1,8 +1,9 @@ | |||
1 | # $NetBSD: Makefile,v 1.17 2007/10/22 08:04:08 ghen Exp $ | 1 | # $NetBSD: Makefile,v 1.18 2009/03/18 00:08:40 abs Exp $ | |
2 | 2 | |||
3 | MOZILLA= seamonkey-gtk1 | 3 | MOZILLA= seamonkey-gtk1 | |
4 | PKGREVISION= 1 | |||
4 | 5 | |||
5 | COMMENT= Full featured gecko-based browser built with GTK1 | 6 | COMMENT= Full featured gecko-based browser built with GTK1 | |
6 | 7 | |||
7 | .include "../../www/seamonkey/Makefile-seamonkey.common" | 8 | .include "../../www/seamonkey/Makefile-seamonkey.common" | |
8 | .include "../../mk/bsd.pkg.mk" | 9 | .include "../../mk/bsd.pkg.mk" |
@@ -1,25 +1,25 @@ | @@ -1,25 +1,25 @@ | |||
1 | # $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:11:13 jlam Exp $ | 1 | # $NetBSD: buildlink3.mk,v 1.7 2009/03/18 00:08:40 abs Exp $ | |
2 | 2 | |||
3 | BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ | 3 | BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ | |
4 | SEAMONKEY_GTK1_BUILDLINK3_MK:= ${SEAMONKEY_GTK1_BUILDLINK3_MK}+ | 4 | SEAMONKEY_GTK1_BUILDLINK3_MK:= ${SEAMONKEY_GTK1_BUILDLINK3_MK}+ | |
5 | 5 | |||
6 | .if !empty(BUILDLINK_DEPTH:M+) | 6 | .if !empty(BUILDLINK_DEPTH:M+) | |
7 | BUILDLINK_DEPENDS+= seamonkey-gtk1 | 7 | BUILDLINK_DEPENDS+= seamonkey-gtk1 | |
8 | .endif | 8 | .endif | |
9 | 9 | |||
10 | BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nseamonkey-gtk1} | 10 | BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nseamonkey-gtk1} | |
11 | BUILDLINK_PACKAGES+= seamonkey-gtk1 | 11 | BUILDLINK_PACKAGES+= seamonkey-gtk1 | |
12 | BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}seamonkey-gtk1 | 12 | BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}seamonkey-gtk1 | |
13 | 13 | |||
14 | .if !empty(SEAMONKEY_GTK1_BUILDLINK3_MK:M+) | 14 | .if !empty(SEAMONKEY_GTK1_BUILDLINK3_MK:M+) | |
15 | BUILDLINK_API_DEPENDS.seamonkey-gtk1+= seamonkey-gtk1>=1.0 | 15 | BUILDLINK_API_DEPENDS.seamonkey-gtk1+= seamonkey-gtk1>=1.0 | |
16 | BUILDLINK_ABI_DEPENDS.seamonkey-gtk1?= seamonkey-gtk1>=1.0.1nb1 | 16 | BUILDLINK_ABI_DEPENDS.seamonkey-gtk1?= seamonkey-gtk1>=1.0.1nb1 | |
17 | BUILDLINK_PKGSRCDIR.seamonkey-gtk1?= ../../www/seamonkey-gtk1 | 17 | BUILDLINK_PKGSRCDIR.seamonkey-gtk1?= ../../www/seamonkey-gtk1 | |
18 | .endif # SEAMONKEY_GTK1_BUILDLINK3_MK | 18 | .endif # SEAMONKEY_GTK1_BUILDLINK3_MK | |
19 | 19 | |||
20 | .include "../../graphics/freetype2/buildlink3.mk" | 20 | .include "../../graphics/freetype2/buildlink3.mk" | |
21 | .include "../../graphics/gdk-pixbuf/buildlink3.mk" | 21 | .include "../../graphics/gdk-pixbuf/buildlink3.mk" | |
22 | .include "../../graphics/jpeg/buildlink3.mk" | 22 | .include "../../graphics/jpeg/buildlink3.mk" | |
23 | .include "../../graphics/png/buildlink3.mk" | 23 | .include "../../graphics/png/buildlink3.mk" | |
24 | .include "../../net/ORBit/buildlink3.mk" | 24 | .include "../../net/ORBit/buildlink3.mk" | |
25 | .include "../../x11/gtk/buildlink3.mk" | 25 | .include "../../x11/gtk/buildlink3.mk" |
@@ -1,16 +1,16 @@ | @@ -1,16 +1,16 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh | |
2 | # | 2 | # | |
3 | # $NetBSD: moz-install,v 1.7 2008/12/17 19:37:40 tnn Exp $ | 3 | # $NetBSD: moz-install,v 1.8 2009/03/18 00:08:40 abs Exp $ | |
4 | 4 | |||
5 | ${BSD_INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/bin | 5 | ${BSD_INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/bin | |
6 | ${SED} -e "s,@PREFIX@,${PREFIX},g" -e "s,@MOZILLA@,${MOZILLA}," -e "s,@MOZILLA_BIN@,${MOZILLA_BIN}," ${FILESDIR}/mozilla-${OBJECT_FMT}.in > ${DESTDIR}${PREFIX}/bin/${MOZILLA} | 6 | ${SED} -e "s,@PREFIX@,${PREFIX},g" -e "s,@MOZILLA@,${MOZILLA}," -e "s,@MOZILLA_BIN@,${MOZILLA_BIN}," ${FILESDIR}/mozilla-${OBJECT_FMT}.in > ${DESTDIR}${PREFIX}/bin/${MOZILLA} | |
7 | ${CHOWN} ${BINOWN} ${DESTDIR}${PREFIX}/bin/${MOZILLA} | 7 | ${CHOWN} ${BINOWN} ${DESTDIR}${PREFIX}/bin/${MOZILLA} | |
8 | ${CHGRP} ${BINGRP} ${DESTDIR}${PREFIX}/bin/${MOZILLA} | 8 | ${CHGRP} ${BINGRP} ${DESTDIR}${PREFIX}/bin/${MOZILLA} | |
9 | ${CHMOD} ${BINMODE} ${DESTDIR}${PREFIX}/bin/${MOZILLA} | 9 | ${CHMOD} ${BINMODE} ${DESTDIR}${PREFIX}/bin/${MOZILLA} | |
10 | 10 | |||
11 | # | 11 | # | |
12 | # Substitute variables | 12 | # Substitute variables | |
13 | # | 13 | # | |
14 | TMP_PLIST=${WRKDIR}/TMP_PLIST.$$ | 14 | TMP_PLIST=${WRKDIR}/TMP_PLIST.$$ | |
15 | trap "${RM} -f ${TMP_PLIST}" 1 2 15 | 15 | trap "${RM} -f ${TMP_PLIST}" 1 2 15 | |
16 | 16 | |||
@@ -30,26 +30,27 @@ done | @@ -30,26 +30,27 @@ done | |||
30 | # install scripts | 30 | # install scripts | |
31 | for i in `${SED} -n -e '/^@comment begin SCRIPTS$/,/^@comment end SCRIPTS$/p' ${TMP_PLIST} | ${EGREP} -v ^@comment` ; do | 31 | for i in `${SED} -n -e '/^@comment begin SCRIPTS$/,/^@comment end SCRIPTS$/p' ${TMP_PLIST} | ${EGREP} -v ^@comment` ; do | |
32 | src=`echo $i | ${SED} -e "s@lib/${MOZILLA}@dist/bin@"`; | 32 | src=`echo $i | ${SED} -e "s@lib/${MOZILLA}@dist/bin@"`; | |
33 | ${BSD_INSTALL_SCRIPT} ${WRKSRC}/${src} ${DESTDIR}${PREFIX}/$i | 33 | ${BSD_INSTALL_SCRIPT} ${WRKSRC}/${src} ${DESTDIR}${PREFIX}/$i | |
34 | done | 34 | done | |
35 | 35 | |||
36 | # install DSO | 36 | # install DSO | |
37 | for i in `${SED} -n -e '/^@comment begin DSO$/,/^@comment end DSO$/p' ${TMP_PLIST} | ${EGREP} -v ^@comment` ; do | 37 | for i in `${SED} -n -e '/^@comment begin DSO$/,/^@comment end DSO$/p' ${TMP_PLIST} | ${EGREP} -v ^@comment` ; do | |
38 | src=`echo $i | ${SED} -e "s@lib/${MOZILLA}@dist/bin@"`; | 38 | src=`echo $i | ${SED} -e "s@lib/${MOZILLA}@dist/bin@"`; | |
39 | ${MOZ_INSTALL_LIB} ${WRKSRC}/${src} ${DESTDIR}${PREFIX}/$i | 39 | ${MOZ_INSTALL_LIB} ${WRKSRC}/${src} ${DESTDIR}${PREFIX}/$i | |
40 | done | 40 | done | |
41 | 41 | |||
42 | # install PKGCONFIG | 42 | # install PKGCONFIG | |
43 | ${BSD_INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/pkgconfig | |||
43 | for i in `${SED} -n -e '/^@comment begin PKGCONFIG$/,/^@comment end PKGCONFIG$/p' ${TMP_PLIST} | ${EGREP} -v ^@comment` ; do | 44 | for i in `${SED} -n -e '/^@comment begin PKGCONFIG$/,/^@comment end PKGCONFIG$/p' ${TMP_PLIST} | ${EGREP} -v ^@comment` ; do | |
44 | src=`echo $i | ${SED} -e "s@lib/pkgconfig@build/unix@"`; | 45 | src=`echo $i | ${SED} -e "s@lib/pkgconfig@build/unix@"`; | |
45 | ${BSD_INSTALL_DATA} ${WRKSRC}/${src} ${DESTDIR}${PREFIX}/$i | 46 | ${BSD_INSTALL_DATA} ${WRKSRC}/${src} ${DESTDIR}${PREFIX}/$i | |
46 | done | 47 | done | |
47 | 48 | |||
48 | # install DATA | 49 | # install DATA | |
49 | for i in `${SED} -n -e '/^@comment begin DATA$/,/^@comment end DATA$/p' ${TMP_PLIST} | ${EGREP} -v ^@comment` ; do | 50 | for i in `${SED} -n -e '/^@comment begin DATA$/,/^@comment end DATA$/p' ${TMP_PLIST} | ${EGREP} -v ^@comment` ; do | |
50 | src=`echo $i | ${SED} -e "s@lib/${MOZILLA}@dist/bin@"`; | 51 | src=`echo $i | ${SED} -e "s@lib/${MOZILLA}@dist/bin@"`; | |
51 | ${BSD_INSTALL_DATA} ${WRKSRC}/${src} ${DESTDIR}${PREFIX}/$i | 52 | ${BSD_INSTALL_DATA} ${WRKSRC}/${src} ${DESTDIR}${PREFIX}/$i | |
52 | done | 53 | done | |
53 | 54 | |||
54 | # install INCLUDE | 55 | # install INCLUDE | |
55 | for i in `${SED} -n -e '/^@comment begin INCLUDE$/,/^@comment end INCLUDE$/p' ${TMP_PLIST} | ${EGREP} -v ^@comment` ; do | 56 | for i in `${SED} -n -e '/^@comment begin INCLUDE$/,/^@comment end INCLUDE$/p' ${TMP_PLIST} | ${EGREP} -v ^@comment` ; do |