diff options
author | Alan Eldridge <alane@FreeBSD.org> | 2002-11-01 04:17:51 +0000 |
---|---|---|
committer | Alan Eldridge <alane@FreeBSD.org> | 2002-11-01 04:17:51 +0000 |
commit | 7df6fabb8f99e8bbcc2590d706f4051c3382996f (patch) | |
tree | e9d3b5ce13cba10b7dea7bc2309acdc3f7899475 /www | |
parent | use SYSTEMDIR (diff) |
Changed MAINTAINER to my FreeBSD address.
Notes
Notes:
svn path=/head/; revision=69236
Diffstat (limited to '')
-rw-r--r-- | www/firefox-devel/Makefile | 53 | ||||
-rw-r--r-- | www/firefox-esr/Makefile | 53 | ||||
-rw-r--r-- | www/firefox/Makefile | 53 | ||||
-rw-r--r-- | www/firefox10/Makefile | 53 | ||||
-rw-r--r-- | www/firefox15/Makefile | 53 | ||||
-rw-r--r-- | www/firefox3-devel/Makefile | 53 | ||||
-rw-r--r-- | www/firefox35/Makefile | 53 | ||||
-rw-r--r-- | www/firefox36/Makefile | 53 | ||||
-rw-r--r-- | www/flock/Makefile | 53 | ||||
-rw-r--r-- | www/mozilla-firebird/Makefile | 53 | ||||
-rw-r--r-- | www/phoenix-devel/Makefile | 53 | ||||
-rw-r--r-- | www/phoenix/Makefile | 53 | ||||
-rw-r--r-- | www/zope/Makefile | 2 | ||||
-rw-r--r-- | www/zope210/Makefile | 2 | ||||
-rw-r--r-- | www/zope211/Makefile | 2 | ||||
-rw-r--r-- | www/zope213/Makefile | 2 | ||||
-rw-r--r-- | www/zope28/Makefile | 2 | ||||
-rw-r--r-- | www/zope29/Makefile | 2 |
18 files changed, 462 insertions, 186 deletions
diff --git a/www/firefox-devel/Makefile b/www/firefox-devel/Makefile index 130a48cb3b10..227b008f88ed 100644 --- a/www/firefox-devel/Makefile +++ b/www/firefox-devel/Makefile @@ -2,7 +2,7 @@ # # New ports collection makefile for: phoenix # Date created: 2002/10/21 -# Whom: Alan Eldridge <ports@geeksrus.net> +# Whom: Alan Eldridge <AlanE@FreeBSD.org> # # $FreeBSD$ # @@ -19,46 +19,69 @@ LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \ jpeg.9:${PORTSDIR}/graphics/jpeg \ png.5:${PORTSDIR}/graphics/png \ mng.1:${PORTSDIR}/graphics/libmng \ - freetype.9:${PORTSDIR}/print/freetype2 -#Xft2.2:${PORTSDIR}/x11-fonts/Xft + freetype.9:${PORTSDIR}/print/freetype2 \ + IDL.2:${PORTSDIR}/devel/ORBit \ + Xft2.2:${PORTSDIR}/x11-fonts/Xft + BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip \ - freetype-config:${PORTSDIR}/print/freetype2 \ - perl5.8.0:${PORTSDIR}/lang/perl5.8 + freetype-config:${PORTSDIR}/print/freetype2 -PREFIX= ${X11BASE}/lib/${PORTNAME} +USE_X_PREFIX= yes USE_BZIP2= yes USE_GMAKE= yes +USE_REINPLACE= yes #USE_AUTOCONF_VER= 213 GNU_CONFIGURE= yes + +USE_GNOMENG= yes +USE_GNOME= gtk12 ORBit + CFLAGS+= ${PTHREAD_CFLAGS} LIBS+= ${PTHREAD_LIBS} +.if defined(OPTIMIZE) +CFLAGS+= -O2 +.endif # defined(OPTIMIZE) + NO_MTREE= yes WRKSRC= ${WRKDIR}/mozilla +LOCAL_PREFIX= ${PREFIX}/lib/${PORTNAME} .include <bsd.port.pre.mk> +SITE_PERL?= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER} + +PERL_MAJOR=${PERL_VER:C|^([1-9]+).*|\1|} +PERL_MINOR=${PERL_VER:C|^[1-9]+\.0*([1-9]+).*|\1|} + +.if ${PERL_MAJOR} < 5 || ${PERL_MAJOR} == 5 && ${PERL_MINOR} < 8 +BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec +RUN_DEPENDS= ${BUILD_DEPENDS} +.endif # ${PERL_MAJOR} < 5 || ${PERL_MAJOR} == 5 && ${PERL_MINOR} < 8 + .if ${OSVERSION} > 500038 BROKEN= "on -CURRENT, can only be used with local files" .endif -.if !defined(PERL_VER) || ${PERL_VER} != "5.8.0" -.undef NO_IGNORE -BROKEN= This port requires Perl 5.8.0 because of File::Spec issues. \ - Make sure to run 'use.perl port' after installing it or you \ - will still get this message. -.endif # !defined(PERL_VER) || ${PERL_VER} != "5.8.0" - post-extract: ${SED} -e 's|@CFLAGS@|${CFLAGS}|' \ -e 's|@LIBS@|${LIBS}|' \ -e 's|@X11BASE@|${X11BASE}|' \ -e 's|@LOCALBASE@|${LOCALBASE}|' \ + -e 's|@PREFIX@|${LOCAL_PREFIX}|' \ <${FILESDIR}/mozconfig.in >${WRKSRC}/.mozconfig +# fix for Xft (thanks to marcus@) +post-patch: + cd ${WRKSRC}/gfx/src/gtk; \ + ${REINPLACE_CMD} -e 's|X11/Xft/Xft\.h|X11/Xft/Xft2.h|g' \ + nsDrawingSurfaceGTK.cpp nsFontMetricsXft.h + post-install: - ${LN} -s ${PREFIX}/bin/phoenix ${X11BASE}/bin/phoenix - ${LN} -s ${PREFIX}/bin/mozilla-config ${X11BASE}/bin/phoenix-config + ${LN} -s ${LOCAL_PREFIX}/bin/phoenix \ + ${PREFIX}/bin/phoenix + ${LN} -s ${LOCAL_PREFIX}/bin/mozilla-config \ + ${PREFIX}/bin/phoenix-config .include <bsd.port.post.mk> diff --git a/www/firefox-esr/Makefile b/www/firefox-esr/Makefile index 130a48cb3b10..227b008f88ed 100644 --- a/www/firefox-esr/Makefile +++ b/www/firefox-esr/Makefile @@ -2,7 +2,7 @@ # # New ports collection makefile for: phoenix # Date created: 2002/10/21 -# Whom: Alan Eldridge <ports@geeksrus.net> +# Whom: Alan Eldridge <AlanE@FreeBSD.org> # # $FreeBSD$ # @@ -19,46 +19,69 @@ LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \ jpeg.9:${PORTSDIR}/graphics/jpeg \ png.5:${PORTSDIR}/graphics/png \ mng.1:${PORTSDIR}/graphics/libmng \ - freetype.9:${PORTSDIR}/print/freetype2 -#Xft2.2:${PORTSDIR}/x11-fonts/Xft + freetype.9:${PORTSDIR}/print/freetype2 \ + IDL.2:${PORTSDIR}/devel/ORBit \ + Xft2.2:${PORTSDIR}/x11-fonts/Xft + BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip \ - freetype-config:${PORTSDIR}/print/freetype2 \ - perl5.8.0:${PORTSDIR}/lang/perl5.8 + freetype-config:${PORTSDIR}/print/freetype2 -PREFIX= ${X11BASE}/lib/${PORTNAME} +USE_X_PREFIX= yes USE_BZIP2= yes USE_GMAKE= yes +USE_REINPLACE= yes #USE_AUTOCONF_VER= 213 GNU_CONFIGURE= yes + +USE_GNOMENG= yes +USE_GNOME= gtk12 ORBit + CFLAGS+= ${PTHREAD_CFLAGS} LIBS+= ${PTHREAD_LIBS} +.if defined(OPTIMIZE) +CFLAGS+= -O2 +.endif # defined(OPTIMIZE) + NO_MTREE= yes WRKSRC= ${WRKDIR}/mozilla +LOCAL_PREFIX= ${PREFIX}/lib/${PORTNAME} .include <bsd.port.pre.mk> +SITE_PERL?= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER} + +PERL_MAJOR=${PERL_VER:C|^([1-9]+).*|\1|} +PERL_MINOR=${PERL_VER:C|^[1-9]+\.0*([1-9]+).*|\1|} + +.if ${PERL_MAJOR} < 5 || ${PERL_MAJOR} == 5 && ${PERL_MINOR} < 8 +BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec +RUN_DEPENDS= ${BUILD_DEPENDS} +.endif # ${PERL_MAJOR} < 5 || ${PERL_MAJOR} == 5 && ${PERL_MINOR} < 8 + .if ${OSVERSION} > 500038 BROKEN= "on -CURRENT, can only be used with local files" .endif -.if !defined(PERL_VER) || ${PERL_VER} != "5.8.0" -.undef NO_IGNORE -BROKEN= This port requires Perl 5.8.0 because of File::Spec issues. \ - Make sure to run 'use.perl port' after installing it or you \ - will still get this message. -.endif # !defined(PERL_VER) || ${PERL_VER} != "5.8.0" - post-extract: ${SED} -e 's|@CFLAGS@|${CFLAGS}|' \ -e 's|@LIBS@|${LIBS}|' \ -e 's|@X11BASE@|${X11BASE}|' \ -e 's|@LOCALBASE@|${LOCALBASE}|' \ + -e 's|@PREFIX@|${LOCAL_PREFIX}|' \ <${FILESDIR}/mozconfig.in >${WRKSRC}/.mozconfig +# fix for Xft (thanks to marcus@) +post-patch: + cd ${WRKSRC}/gfx/src/gtk; \ + ${REINPLACE_CMD} -e 's|X11/Xft/Xft\.h|X11/Xft/Xft2.h|g' \ + nsDrawingSurfaceGTK.cpp nsFontMetricsXft.h + post-install: - ${LN} -s ${PREFIX}/bin/phoenix ${X11BASE}/bin/phoenix - ${LN} -s ${PREFIX}/bin/mozilla-config ${X11BASE}/bin/phoenix-config + ${LN} -s ${LOCAL_PREFIX}/bin/phoenix \ + ${PREFIX}/bin/phoenix + ${LN} -s ${LOCAL_PREFIX}/bin/mozilla-config \ + ${PREFIX}/bin/phoenix-config .include <bsd.port.post.mk> diff --git a/www/firefox/Makefile b/www/firefox/Makefile index 130a48cb3b10..227b008f88ed 100644 --- a/www/firefox/Makefile +++ b/www/firefox/Makefile @@ -2,7 +2,7 @@ # # New ports collection makefile for: phoenix # Date created: 2002/10/21 -# Whom: Alan Eldridge <ports@geeksrus.net> +# Whom: Alan Eldridge <AlanE@FreeBSD.org> # # $FreeBSD$ # @@ -19,46 +19,69 @@ LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \ jpeg.9:${PORTSDIR}/graphics/jpeg \ png.5:${PORTSDIR}/graphics/png \ mng.1:${PORTSDIR}/graphics/libmng \ - freetype.9:${PORTSDIR}/print/freetype2 -#Xft2.2:${PORTSDIR}/x11-fonts/Xft + freetype.9:${PORTSDIR}/print/freetype2 \ + IDL.2:${PORTSDIR}/devel/ORBit \ + Xft2.2:${PORTSDIR}/x11-fonts/Xft + BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip \ - freetype-config:${PORTSDIR}/print/freetype2 \ - perl5.8.0:${PORTSDIR}/lang/perl5.8 + freetype-config:${PORTSDIR}/print/freetype2 -PREFIX= ${X11BASE}/lib/${PORTNAME} +USE_X_PREFIX= yes USE_BZIP2= yes USE_GMAKE= yes +USE_REINPLACE= yes #USE_AUTOCONF_VER= 213 GNU_CONFIGURE= yes + +USE_GNOMENG= yes +USE_GNOME= gtk12 ORBit + CFLAGS+= ${PTHREAD_CFLAGS} LIBS+= ${PTHREAD_LIBS} +.if defined(OPTIMIZE) +CFLAGS+= -O2 +.endif # defined(OPTIMIZE) + NO_MTREE= yes WRKSRC= ${WRKDIR}/mozilla +LOCAL_PREFIX= ${PREFIX}/lib/${PORTNAME} .include <bsd.port.pre.mk> +SITE_PERL?= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER} + +PERL_MAJOR=${PERL_VER:C|^([1-9]+).*|\1|} +PERL_MINOR=${PERL_VER:C|^[1-9]+\.0*([1-9]+).*|\1|} + +.if ${PERL_MAJOR} < 5 || ${PERL_MAJOR} == 5 && ${PERL_MINOR} < 8 +BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec +RUN_DEPENDS= ${BUILD_DEPENDS} +.endif # ${PERL_MAJOR} < 5 || ${PERL_MAJOR} == 5 && ${PERL_MINOR} < 8 + .if ${OSVERSION} > 500038 BROKEN= "on -CURRENT, can only be used with local files" .endif -.if !defined(PERL_VER) || ${PERL_VER} != "5.8.0" -.undef NO_IGNORE -BROKEN= This port requires Perl 5.8.0 because of File::Spec issues. \ - Make sure to run 'use.perl port' after installing it or you \ - will still get this message. -.endif # !defined(PERL_VER) || ${PERL_VER} != "5.8.0" - post-extract: ${SED} -e 's|@CFLAGS@|${CFLAGS}|' \ -e 's|@LIBS@|${LIBS}|' \ -e 's|@X11BASE@|${X11BASE}|' \ -e 's|@LOCALBASE@|${LOCALBASE}|' \ + -e 's|@PREFIX@|${LOCAL_PREFIX}|' \ <${FILESDIR}/mozconfig.in >${WRKSRC}/.mozconfig +# fix for Xft (thanks to marcus@) +post-patch: + cd ${WRKSRC}/gfx/src/gtk; \ + ${REINPLACE_CMD} -e 's|X11/Xft/Xft\.h|X11/Xft/Xft2.h|g' \ + nsDrawingSurfaceGTK.cpp nsFontMetricsXft.h + post-install: - ${LN} -s ${PREFIX}/bin/phoenix ${X11BASE}/bin/phoenix - ${LN} -s ${PREFIX}/bin/mozilla-config ${X11BASE}/bin/phoenix-config + ${LN} -s ${LOCAL_PREFIX}/bin/phoenix \ + ${PREFIX}/bin/phoenix + ${LN} -s ${LOCAL_PREFIX}/bin/mozilla-config \ + ${PREFIX}/bin/phoenix-config .include <bsd.port.post.mk> diff --git a/www/firefox10/Makefile b/www/firefox10/Makefile index 130a48cb3b10..227b008f88ed 100644 --- a/www/firefox10/Makefile +++ b/www/firefox10/Makefile @@ -2,7 +2,7 @@ # # New ports collection makefile for: phoenix # Date created: 2002/10/21 -# Whom: Alan Eldridge <ports@geeksrus.net> +# Whom: Alan Eldridge <AlanE@FreeBSD.org> # # $FreeBSD$ # @@ -19,46 +19,69 @@ LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \ jpeg.9:${PORTSDIR}/graphics/jpeg \ png.5:${PORTSDIR}/graphics/png \ mng.1:${PORTSDIR}/graphics/libmng \ - freetype.9:${PORTSDIR}/print/freetype2 -#Xft2.2:${PORTSDIR}/x11-fonts/Xft + freetype.9:${PORTSDIR}/print/freetype2 \ + IDL.2:${PORTSDIR}/devel/ORBit \ + Xft2.2:${PORTSDIR}/x11-fonts/Xft + BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip \ - freetype-config:${PORTSDIR}/print/freetype2 \ - perl5.8.0:${PORTSDIR}/lang/perl5.8 + freetype-config:${PORTSDIR}/print/freetype2 -PREFIX= ${X11BASE}/lib/${PORTNAME} +USE_X_PREFIX= yes USE_BZIP2= yes USE_GMAKE= yes +USE_REINPLACE= yes #USE_AUTOCONF_VER= 213 GNU_CONFIGURE= yes + +USE_GNOMENG= yes +USE_GNOME= gtk12 ORBit + CFLAGS+= ${PTHREAD_CFLAGS} LIBS+= ${PTHREAD_LIBS} +.if defined(OPTIMIZE) +CFLAGS+= -O2 +.endif # defined(OPTIMIZE) + NO_MTREE= yes WRKSRC= ${WRKDIR}/mozilla +LOCAL_PREFIX= ${PREFIX}/lib/${PORTNAME} .include <bsd.port.pre.mk> +SITE_PERL?= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER} + +PERL_MAJOR=${PERL_VER:C|^([1-9]+).*|\1|} +PERL_MINOR=${PERL_VER:C|^[1-9]+\.0*([1-9]+).*|\1|} + +.if ${PERL_MAJOR} < 5 || ${PERL_MAJOR} == 5 && ${PERL_MINOR} < 8 +BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec +RUN_DEPENDS= ${BUILD_DEPENDS} +.endif # ${PERL_MAJOR} < 5 || ${PERL_MAJOR} == 5 && ${PERL_MINOR} < 8 + .if ${OSVERSION} > 500038 BROKEN= "on -CURRENT, can only be used with local files" .endif -.if !defined(PERL_VER) || ${PERL_VER} != "5.8.0" -.undef NO_IGNORE -BROKEN= This port requires Perl 5.8.0 because of File::Spec issues. \ - Make sure to run 'use.perl port' after installing it or you \ - will still get this message. -.endif # !defined(PERL_VER) || ${PERL_VER} != "5.8.0" - post-extract: ${SED} -e 's|@CFLAGS@|${CFLAGS}|' \ -e 's|@LIBS@|${LIBS}|' \ -e 's|@X11BASE@|${X11BASE}|' \ -e 's|@LOCALBASE@|${LOCALBASE}|' \ + -e 's|@PREFIX@|${LOCAL_PREFIX}|' \ <${FILESDIR}/mozconfig.in >${WRKSRC}/.mozconfig +# fix for Xft (thanks to marcus@) +post-patch: + cd ${WRKSRC}/gfx/src/gtk; \ + ${REINPLACE_CMD} -e 's|X11/Xft/Xft\.h|X11/Xft/Xft2.h|g' \ + nsDrawingSurfaceGTK.cpp nsFontMetricsXft.h + post-install: - ${LN} -s ${PREFIX}/bin/phoenix ${X11BASE}/bin/phoenix - ${LN} -s ${PREFIX}/bin/mozilla-config ${X11BASE}/bin/phoenix-config + ${LN} -s ${LOCAL_PREFIX}/bin/phoenix \ + ${PREFIX}/bin/phoenix + ${LN} -s ${LOCAL_PREFIX}/bin/mozilla-config \ + ${PREFIX}/bin/phoenix-config .include <bsd.port.post.mk> diff --git a/www/firefox15/Makefile b/www/firefox15/Makefile index 130a48cb3b10..227b008f88ed 100644 --- a/www/firefox15/Makefile +++ b/www/firefox15/Makefile @@ -2,7 +2,7 @@ # # New ports collection makefile for: phoenix # Date created: 2002/10/21 -# Whom: Alan Eldridge <ports@geeksrus.net> +# Whom: Alan Eldridge <AlanE@FreeBSD.org> # # $FreeBSD$ # @@ -19,46 +19,69 @@ LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \ jpeg.9:${PORTSDIR}/graphics/jpeg \ png.5:${PORTSDIR}/graphics/png \ mng.1:${PORTSDIR}/graphics/libmng \ - freetype.9:${PORTSDIR}/print/freetype2 -#Xft2.2:${PORTSDIR}/x11-fonts/Xft + freetype.9:${PORTSDIR}/print/freetype2 \ + IDL.2:${PORTSDIR}/devel/ORBit \ + Xft2.2:${PORTSDIR}/x11-fonts/Xft + BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip \ - freetype-config:${PORTSDIR}/print/freetype2 \ - perl5.8.0:${PORTSDIR}/lang/perl5.8 + freetype-config:${PORTSDIR}/print/freetype2 -PREFIX= ${X11BASE}/lib/${PORTNAME} +USE_X_PREFIX= yes USE_BZIP2= yes USE_GMAKE= yes +USE_REINPLACE= yes #USE_AUTOCONF_VER= 213 GNU_CONFIGURE= yes + +USE_GNOMENG= yes +USE_GNOME= gtk12 ORBit + CFLAGS+= ${PTHREAD_CFLAGS} LIBS+= ${PTHREAD_LIBS} +.if defined(OPTIMIZE) +CFLAGS+= -O2 +.endif # defined(OPTIMIZE) + NO_MTREE= yes WRKSRC= ${WRKDIR}/mozilla +LOCAL_PREFIX= ${PREFIX}/lib/${PORTNAME} .include <bsd.port.pre.mk> +SITE_PERL?= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER} + +PERL_MAJOR=${PERL_VER:C|^([1-9]+).*|\1|} +PERL_MINOR=${PERL_VER:C|^[1-9]+\.0*([1-9]+).*|\1|} + +.if ${PERL_MAJOR} < 5 || ${PERL_MAJOR} == 5 && ${PERL_MINOR} < 8 +BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec +RUN_DEPENDS= ${BUILD_DEPENDS} +.endif # ${PERL_MAJOR} < 5 || ${PERL_MAJOR} == 5 && ${PERL_MINOR} < 8 + .if ${OSVERSION} > 500038 BROKEN= "on -CURRENT, can only be used with local files" .endif -.if !defined(PERL_VER) || ${PERL_VER} != "5.8.0" -.undef NO_IGNORE -BROKEN= This port requires Perl 5.8.0 because of File::Spec issues. \ - Make sure to run 'use.perl port' after installing it or you \ - will still get this message. -.endif # !defined(PERL_VER) || ${PERL_VER} != "5.8.0" - post-extract: ${SED} -e 's|@CFLAGS@|${CFLAGS}|' \ -e 's|@LIBS@|${LIBS}|' \ -e 's|@X11BASE@|${X11BASE}|' \ -e 's|@LOCALBASE@|${LOCALBASE}|' \ + -e 's|@PREFIX@|${LOCAL_PREFIX}|' \ <${FILESDIR}/mozconfig.in >${WRKSRC}/.mozconfig +# fix for Xft (thanks to marcus@) +post-patch: + cd ${WRKSRC}/gfx/src/gtk; \ + ${REINPLACE_CMD} -e 's|X11/Xft/Xft\.h|X11/Xft/Xft2.h|g' \ + nsDrawingSurfaceGTK.cpp nsFontMetricsXft.h + post-install: - ${LN} -s ${PREFIX}/bin/phoenix ${X11BASE}/bin/phoenix - ${LN} -s ${PREFIX}/bin/mozilla-config ${X11BASE}/bin/phoenix-config + ${LN} -s ${LOCAL_PREFIX}/bin/phoenix \ + ${PREFIX}/bin/phoenix + ${LN} -s ${LOCAL_PREFIX}/bin/mozilla-config \ + ${PREFIX}/bin/phoenix-config .include <bsd.port.post.mk> diff --git a/www/firefox3-devel/Makefile b/www/firefox3-devel/Makefile index 130a48cb3b10..227b008f88ed 100644 --- a/www/firefox3-devel/Makefile +++ b/www/firefox3-devel/Makefile @@ -2,7 +2,7 @@ # # New ports collection makefile for: phoenix # Date created: 2002/10/21 -# Whom: Alan Eldridge <ports@geeksrus.net> +# Whom: Alan Eldridge <AlanE@FreeBSD.org> # # $FreeBSD$ # @@ -19,46 +19,69 @@ LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \ jpeg.9:${PORTSDIR}/graphics/jpeg \ png.5:${PORTSDIR}/graphics/png \ mng.1:${PORTSDIR}/graphics/libmng \ - freetype.9:${PORTSDIR}/print/freetype2 -#Xft2.2:${PORTSDIR}/x11-fonts/Xft + freetype.9:${PORTSDIR}/print/freetype2 \ + IDL.2:${PORTSDIR}/devel/ORBit \ + Xft2.2:${PORTSDIR}/x11-fonts/Xft + BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip \ - freetype-config:${PORTSDIR}/print/freetype2 \ - perl5.8.0:${PORTSDIR}/lang/perl5.8 + freetype-config:${PORTSDIR}/print/freetype2 -PREFIX= ${X11BASE}/lib/${PORTNAME} +USE_X_PREFIX= yes USE_BZIP2= yes USE_GMAKE= yes +USE_REINPLACE= yes #USE_AUTOCONF_VER= 213 GNU_CONFIGURE= yes + +USE_GNOMENG= yes +USE_GNOME= gtk12 ORBit + CFLAGS+= ${PTHREAD_CFLAGS} LIBS+= ${PTHREAD_LIBS} +.if defined(OPTIMIZE) +CFLAGS+= -O2 +.endif # defined(OPTIMIZE) + NO_MTREE= yes WRKSRC= ${WRKDIR}/mozilla +LOCAL_PREFIX= ${PREFIX}/lib/${PORTNAME} .include <bsd.port.pre.mk> +SITE_PERL?= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER} + +PERL_MAJOR=${PERL_VER:C|^([1-9]+).*|\1|} +PERL_MINOR=${PERL_VER:C|^[1-9]+\.0*([1-9]+).*|\1|} + +.if ${PERL_MAJOR} < 5 || ${PERL_MAJOR} == 5 && ${PERL_MINOR} < 8 +BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec +RUN_DEPENDS= ${BUILD_DEPENDS} +.endif # ${PERL_MAJOR} < 5 || ${PERL_MAJOR} == 5 && ${PERL_MINOR} < 8 + .if ${OSVERSION} > 500038 BROKEN= "on -CURRENT, can only be used with local files" .endif -.if !defined(PERL_VER) || ${PERL_VER} != "5.8.0" -.undef NO_IGNORE -BROKEN= This port requires Perl 5.8.0 because of File::Spec issues. \ - Make sure to run 'use.perl port' after installing it or you \ - will still get this message. -.endif # !defined(PERL_VER) || ${PERL_VER} != "5.8.0" - post-extract: ${SED} -e 's|@CFLAGS@|${CFLAGS}|' \ -e 's|@LIBS@|${LIBS}|' \ -e 's|@X11BASE@|${X11BASE}|' \ -e 's|@LOCALBASE@|${LOCALBASE}|' \ + -e 's|@PREFIX@|${LOCAL_PREFIX}|' \ <${FILESDIR}/mozconfig.in >${WRKSRC}/.mozconfig +# fix for Xft (thanks to marcus@) +post-patch: + cd ${WRKSRC}/gfx/src/gtk; \ + ${REINPLACE_CMD} -e 's|X11/Xft/Xft\.h|X11/Xft/Xft2.h|g' \ + nsDrawingSurfaceGTK.cpp nsFontMetricsXft.h + post-install: - ${LN} -s ${PREFIX}/bin/phoenix ${X11BASE}/bin/phoenix - ${LN} -s ${PREFIX}/bin/mozilla-config ${X11BASE}/bin/phoenix-config + ${LN} -s ${LOCAL_PREFIX}/bin/phoenix \ + ${PREFIX}/bin/phoenix + ${LN} -s ${LOCAL_PREFIX}/bin/mozilla-config \ + ${PREFIX}/bin/phoenix-config .include <bsd.port.post.mk> diff --git a/www/firefox35/Makefile b/www/firefox35/Makefile index 130a48cb3b10..227b008f88ed 100644 --- a/www/firefox35/Makefile +++ b/www/firefox35/Makefile @@ -2,7 +2,7 @@ # # New ports collection makefile for: phoenix # Date created: 2002/10/21 -# Whom: Alan Eldridge <ports@geeksrus.net> +# Whom: Alan Eldridge <AlanE@FreeBSD.org> # # $FreeBSD$ # @@ -19,46 +19,69 @@ LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \ jpeg.9:${PORTSDIR}/graphics/jpeg \ png.5:${PORTSDIR}/graphics/png \ mng.1:${PORTSDIR}/graphics/libmng \ - freetype.9:${PORTSDIR}/print/freetype2 -#Xft2.2:${PORTSDIR}/x11-fonts/Xft + freetype.9:${PORTSDIR}/print/freetype2 \ + IDL.2:${PORTSDIR}/devel/ORBit \ + Xft2.2:${PORTSDIR}/x11-fonts/Xft + BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip \ - freetype-config:${PORTSDIR}/print/freetype2 \ - perl5.8.0:${PORTSDIR}/lang/perl5.8 + freetype-config:${PORTSDIR}/print/freetype2 -PREFIX= ${X11BASE}/lib/${PORTNAME} +USE_X_PREFIX= yes USE_BZIP2= yes USE_GMAKE= yes +USE_REINPLACE= yes #USE_AUTOCONF_VER= 213 GNU_CONFIGURE= yes + +USE_GNOMENG= yes +USE_GNOME= gtk12 ORBit + CFLAGS+= ${PTHREAD_CFLAGS} LIBS+= ${PTHREAD_LIBS} +.if defined(OPTIMIZE) +CFLAGS+= -O2 +.endif # defined(OPTIMIZE) + NO_MTREE= yes WRKSRC= ${WRKDIR}/mozilla +LOCAL_PREFIX= ${PREFIX}/lib/${PORTNAME} .include <bsd.port.pre.mk> +SITE_PERL?= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER} + +PERL_MAJOR=${PERL_VER:C|^([1-9]+).*|\1|} +PERL_MINOR=${PERL_VER:C|^[1-9]+\.0*([1-9]+).*|\1|} + +.if ${PERL_MAJOR} < 5 || ${PERL_MAJOR} == 5 && ${PERL_MINOR} < 8 +BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec +RUN_DEPENDS= ${BUILD_DEPENDS} +.endif # ${PERL_MAJOR} < 5 || ${PERL_MAJOR} == 5 && ${PERL_MINOR} < 8 + .if ${OSVERSION} > 500038 BROKEN= "on -CURRENT, can only be used with local files" .endif -.if !defined(PERL_VER) || ${PERL_VER} != "5.8.0" -.undef NO_IGNORE -BROKEN= This port requires Perl 5.8.0 because of File::Spec issues. \ - Make sure to run 'use.perl port' after installing it or you \ - will still get this message. -.endif # !defined(PERL_VER) || ${PERL_VER} != "5.8.0" - post-extract: ${SED} -e 's|@CFLAGS@|${CFLAGS}|' \ -e 's|@LIBS@|${LIBS}|' \ -e 's|@X11BASE@|${X11BASE}|' \ -e 's|@LOCALBASE@|${LOCALBASE}|' \ + -e 's|@PREFIX@|${LOCAL_PREFIX}|' \ <${FILESDIR}/mozconfig.in >${WRKSRC}/.mozconfig +# fix for Xft (thanks to marcus@) +post-patch: + cd ${WRKSRC}/gfx/src/gtk; \ + ${REINPLACE_CMD} -e 's|X11/Xft/Xft\.h|X11/Xft/Xft2.h|g' \ + nsDrawingSurfaceGTK.cpp nsFontMetricsXft.h + post-install: - ${LN} -s ${PREFIX}/bin/phoenix ${X11BASE}/bin/phoenix - ${LN} -s ${PREFIX}/bin/mozilla-config ${X11BASE}/bin/phoenix-config + ${LN} -s ${LOCAL_PREFIX}/bin/phoenix \ + ${PREFIX}/bin/phoenix + ${LN} -s ${LOCAL_PREFIX}/bin/mozilla-config \ + ${PREFIX}/bin/phoenix-config .include <bsd.port.post.mk> diff --git a/www/firefox36/Makefile b/www/firefox36/Makefile index 130a48cb3b10..227b008f88ed 100644 --- a/www/firefox36/Makefile +++ b/www/firefox36/Makefile @@ -2,7 +2,7 @@ # # New ports collection makefile for: phoenix # Date created: 2002/10/21 -# Whom: Alan Eldridge <ports@geeksrus.net> +# Whom: Alan Eldridge <AlanE@FreeBSD.org> # # $FreeBSD$ # @@ -19,46 +19,69 @@ LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \ jpeg.9:${PORTSDIR}/graphics/jpeg \ png.5:${PORTSDIR}/graphics/png \ mng.1:${PORTSDIR}/graphics/libmng \ - freetype.9:${PORTSDIR}/print/freetype2 -#Xft2.2:${PORTSDIR}/x11-fonts/Xft + freetype.9:${PORTSDIR}/print/freetype2 \ + IDL.2:${PORTSDIR}/devel/ORBit \ + Xft2.2:${PORTSDIR}/x11-fonts/Xft + BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip \ - freetype-config:${PORTSDIR}/print/freetype2 \ - perl5.8.0:${PORTSDIR}/lang/perl5.8 + freetype-config:${PORTSDIR}/print/freetype2 -PREFIX= ${X11BASE}/lib/${PORTNAME} +USE_X_PREFIX= yes USE_BZIP2= yes USE_GMAKE= yes +USE_REINPLACE= yes #USE_AUTOCONF_VER= 213 GNU_CONFIGURE= yes + +USE_GNOMENG= yes +USE_GNOME= gtk12 ORBit + CFLAGS+= ${PTHREAD_CFLAGS} LIBS+= ${PTHREAD_LIBS} +.if defined(OPTIMIZE) +CFLAGS+= -O2 +.endif # defined(OPTIMIZE) + NO_MTREE= yes WRKSRC= ${WRKDIR}/mozilla +LOCAL_PREFIX= ${PREFIX}/lib/${PORTNAME} .include <bsd.port.pre.mk> +SITE_PERL?= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER} + +PERL_MAJOR=${PERL_VER:C|^([1-9]+).*|\1|} +PERL_MINOR=${PERL_VER:C|^[1-9]+\.0*([1-9]+).*|\1|} + +.if ${PERL_MAJOR} < 5 || ${PERL_MAJOR} == 5 && ${PERL_MINOR} < 8 +BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec +RUN_DEPENDS= ${BUILD_DEPENDS} +.endif # ${PERL_MAJOR} < 5 || ${PERL_MAJOR} == 5 && ${PERL_MINOR} < 8 + .if ${OSVERSION} > 500038 BROKEN= "on -CURRENT, can only be used with local files" .endif -.if !defined(PERL_VER) || ${PERL_VER} != "5.8.0" -.undef NO_IGNORE -BROKEN= This port requires Perl 5.8.0 because of File::Spec issues. \ - Make sure to run 'use.perl port' after installing it or you \ - will still get this message. -.endif # !defined(PERL_VER) || ${PERL_VER} != "5.8.0" - post-extract: ${SED} -e 's|@CFLAGS@|${CFLAGS}|' \ -e 's|@LIBS@|${LIBS}|' \ -e 's|@X11BASE@|${X11BASE}|' \ -e 's|@LOCALBASE@|${LOCALBASE}|' \ + -e 's|@PREFIX@|${LOCAL_PREFIX}|' \ <${FILESDIR}/mozconfig.in >${WRKSRC}/.mozconfig +# fix for Xft (thanks to marcus@) +post-patch: + cd ${WRKSRC}/gfx/src/gtk; \ + ${REINPLACE_CMD} -e 's|X11/Xft/Xft\.h|X11/Xft/Xft2.h|g' \ + nsDrawingSurfaceGTK.cpp nsFontMetricsXft.h + post-install: - ${LN} -s ${PREFIX}/bin/phoenix ${X11BASE}/bin/phoenix - ${LN} -s ${PREFIX}/bin/mozilla-config ${X11BASE}/bin/phoenix-config + ${LN} -s ${LOCAL_PREFIX}/bin/phoenix \ + ${PREFIX}/bin/phoenix + ${LN} -s ${LOCAL_PREFIX}/bin/mozilla-config \ + ${PREFIX}/bin/phoenix-config .include <bsd.port.post.mk> diff --git a/www/flock/Makefile b/www/flock/Makefile index 130a48cb3b10..227b008f88ed 100644 --- a/www/flock/Makefile +++ b/www/flock/Makefile @@ -2,7 +2,7 @@ # # New ports collection makefile for: phoenix # Date created: 2002/10/21 -# Whom: Alan Eldridge <ports@geeksrus.net> +# Whom: Alan Eldridge <AlanE@FreeBSD.org> # # $FreeBSD$ # @@ -19,46 +19,69 @@ LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \ jpeg.9:${PORTSDIR}/graphics/jpeg \ png.5:${PORTSDIR}/graphics/png \ mng.1:${PORTSDIR}/graphics/libmng \ - freetype.9:${PORTSDIR}/print/freetype2 -#Xft2.2:${PORTSDIR}/x11-fonts/Xft + freetype.9:${PORTSDIR}/print/freetype2 \ + IDL.2:${PORTSDIR}/devel/ORBit \ + Xft2.2:${PORTSDIR}/x11-fonts/Xft + BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip \ - freetype-config:${PORTSDIR}/print/freetype2 \ - perl5.8.0:${PORTSDIR}/lang/perl5.8 + freetype-config:${PORTSDIR}/print/freetype2 -PREFIX= ${X11BASE}/lib/${PORTNAME} +USE_X_PREFIX= yes USE_BZIP2= yes USE_GMAKE= yes +USE_REINPLACE= yes #USE_AUTOCONF_VER= 213 GNU_CONFIGURE= yes + +USE_GNOMENG= yes +USE_GNOME= gtk12 ORBit + CFLAGS+= ${PTHREAD_CFLAGS} LIBS+= ${PTHREAD_LIBS} +.if defined(OPTIMIZE) +CFLAGS+= -O2 +.endif # defined(OPTIMIZE) + NO_MTREE= yes WRKSRC= ${WRKDIR}/mozilla +LOCAL_PREFIX= ${PREFIX}/lib/${PORTNAME} .include <bsd.port.pre.mk> +SITE_PERL?= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER} + +PERL_MAJOR=${PERL_VER:C|^([1-9]+).*|\1|} +PERL_MINOR=${PERL_VER:C|^[1-9]+\.0*([1-9]+).*|\1|} + +.if ${PERL_MAJOR} < 5 || ${PERL_MAJOR} == 5 && ${PERL_MINOR} < 8 +BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec +RUN_DEPENDS= ${BUILD_DEPENDS} +.endif # ${PERL_MAJOR} < 5 || ${PERL_MAJOR} == 5 && ${PERL_MINOR} < 8 + .if ${OSVERSION} > 500038 BROKEN= "on -CURRENT, can only be used with local files" .endif -.if !defined(PERL_VER) || ${PERL_VER} != "5.8.0" -.undef NO_IGNORE -BROKEN= This port requires Perl 5.8.0 because of File::Spec issues. \ - Make sure to run 'use.perl port' after installing it or you \ - will still get this message. -.endif # !defined(PERL_VER) || ${PERL_VER} != "5.8.0" - post-extract: ${SED} -e 's|@CFLAGS@|${CFLAGS}|' \ -e 's|@LIBS@|${LIBS}|' \ -e 's|@X11BASE@|${X11BASE}|' \ -e 's|@LOCALBASE@|${LOCALBASE}|' \ + -e 's|@PREFIX@|${LOCAL_PREFIX}|' \ <${FILESDIR}/mozconfig.in >${WRKSRC}/.mozconfig +# fix for Xft (thanks to marcus@) +post-patch: + cd ${WRKSRC}/gfx/src/gtk; \ + ${REINPLACE_CMD} -e 's|X11/Xft/Xft\.h|X11/Xft/Xft2.h|g' \ + nsDrawingSurfaceGTK.cpp nsFontMetricsXft.h + post-install: - ${LN} -s ${PREFIX}/bin/phoenix ${X11BASE}/bin/phoenix - ${LN} -s ${PREFIX}/bin/mozilla-config ${X11BASE}/bin/phoenix-config + ${LN} -s ${LOCAL_PREFIX}/bin/phoenix \ + ${PREFIX}/bin/phoenix + ${LN} -s ${LOCAL_PREFIX}/bin/mozilla-config \ + ${PREFIX}/bin/phoenix-config .include <bsd.port.post.mk> diff --git a/www/mozilla-firebird/Makefile b/www/mozilla-firebird/Makefile index 130a48cb3b10..227b008f88ed 100644 --- a/www/mozilla-firebird/Makefile +++ b/www/mozilla-firebird/Makefile @@ -2,7 +2,7 @@ # # New ports collection makefile for: phoenix # Date created: 2002/10/21 -# Whom: Alan Eldridge <ports@geeksrus.net> +# Whom: Alan Eldridge <AlanE@FreeBSD.org> # # $FreeBSD$ # @@ -19,46 +19,69 @@ LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \ jpeg.9:${PORTSDIR}/graphics/jpeg \ png.5:${PORTSDIR}/graphics/png \ mng.1:${PORTSDIR}/graphics/libmng \ - freetype.9:${PORTSDIR}/print/freetype2 -#Xft2.2:${PORTSDIR}/x11-fonts/Xft + freetype.9:${PORTSDIR}/print/freetype2 \ + IDL.2:${PORTSDIR}/devel/ORBit \ + Xft2.2:${PORTSDIR}/x11-fonts/Xft + BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip \ - freetype-config:${PORTSDIR}/print/freetype2 \ - perl5.8.0:${PORTSDIR}/lang/perl5.8 + freetype-config:${PORTSDIR}/print/freetype2 -PREFIX= ${X11BASE}/lib/${PORTNAME} +USE_X_PREFIX= yes USE_BZIP2= yes USE_GMAKE= yes +USE_REINPLACE= yes #USE_AUTOCONF_VER= 213 GNU_CONFIGURE= yes + +USE_GNOMENG= yes +USE_GNOME= gtk12 ORBit + CFLAGS+= ${PTHREAD_CFLAGS} LIBS+= ${PTHREAD_LIBS} +.if defined(OPTIMIZE) +CFLAGS+= -O2 +.endif # defined(OPTIMIZE) + NO_MTREE= yes WRKSRC= ${WRKDIR}/mozilla +LOCAL_PREFIX= ${PREFIX}/lib/${PORTNAME} .include <bsd.port.pre.mk> +SITE_PERL?= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER} + +PERL_MAJOR=${PERL_VER:C|^([1-9]+).*|\1|} +PERL_MINOR=${PERL_VER:C|^[1-9]+\.0*([1-9]+).*|\1|} + +.if ${PERL_MAJOR} < 5 || ${PERL_MAJOR} == 5 && ${PERL_MINOR} < 8 +BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec +RUN_DEPENDS= ${BUILD_DEPENDS} +.endif # ${PERL_MAJOR} < 5 || ${PERL_MAJOR} == 5 && ${PERL_MINOR} < 8 + .if ${OSVERSION} > 500038 BROKEN= "on -CURRENT, can only be used with local files" .endif -.if !defined(PERL_VER) || ${PERL_VER} != "5.8.0" -.undef NO_IGNORE -BROKEN= This port requires Perl 5.8.0 because of File::Spec issues. \ - Make sure to run 'use.perl port' after installing it or you \ - will still get this message. -.endif # !defined(PERL_VER) || ${PERL_VER} != "5.8.0" - post-extract: ${SED} -e 's|@CFLAGS@|${CFLAGS}|' \ -e 's|@LIBS@|${LIBS}|' \ -e 's|@X11BASE@|${X11BASE}|' \ -e 's|@LOCALBASE@|${LOCALBASE}|' \ + -e 's|@PREFIX@|${LOCAL_PREFIX}|' \ <${FILESDIR}/mozconfig.in >${WRKSRC}/.mozconfig +# fix for Xft (thanks to marcus@) +post-patch: + cd ${WRKSRC}/gfx/src/gtk; \ + ${REINPLACE_CMD} -e 's|X11/Xft/Xft\.h|X11/Xft/Xft2.h|g' \ + nsDrawingSurfaceGTK.cpp nsFontMetricsXft.h + post-install: - ${LN} -s ${PREFIX}/bin/phoenix ${X11BASE}/bin/phoenix - ${LN} -s ${PREFIX}/bin/mozilla-config ${X11BASE}/bin/phoenix-config + ${LN} -s ${LOCAL_PREFIX}/bin/phoenix \ + ${PREFIX}/bin/phoenix + ${LN} -s ${LOCAL_PREFIX}/bin/mozilla-config \ + ${PREFIX}/bin/phoenix-config .include <bsd.port.post.mk> diff --git a/www/phoenix-devel/Makefile b/www/phoenix-devel/Makefile index 130a48cb3b10..227b008f88ed 100644 --- a/www/phoenix-devel/Makefile +++ b/www/phoenix-devel/Makefile @@ -2,7 +2,7 @@ # # New ports collection makefile for: phoenix # Date created: 2002/10/21 -# Whom: Alan Eldridge <ports@geeksrus.net> +# Whom: Alan Eldridge <AlanE@FreeBSD.org> # # $FreeBSD$ # @@ -19,46 +19,69 @@ LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \ jpeg.9:${PORTSDIR}/graphics/jpeg \ png.5:${PORTSDIR}/graphics/png \ mng.1:${PORTSDIR}/graphics/libmng \ - freetype.9:${PORTSDIR}/print/freetype2 -#Xft2.2:${PORTSDIR}/x11-fonts/Xft + freetype.9:${PORTSDIR}/print/freetype2 \ + IDL.2:${PORTSDIR}/devel/ORBit \ + Xft2.2:${PORTSDIR}/x11-fonts/Xft + BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip \ - freetype-config:${PORTSDIR}/print/freetype2 \ - perl5.8.0:${PORTSDIR}/lang/perl5.8 + freetype-config:${PORTSDIR}/print/freetype2 -PREFIX= ${X11BASE}/lib/${PORTNAME} +USE_X_PREFIX= yes USE_BZIP2= yes USE_GMAKE= yes +USE_REINPLACE= yes #USE_AUTOCONF_VER= 213 GNU_CONFIGURE= yes + +USE_GNOMENG= yes +USE_GNOME= gtk12 ORBit + CFLAGS+= ${PTHREAD_CFLAGS} LIBS+= ${PTHREAD_LIBS} +.if defined(OPTIMIZE) +CFLAGS+= -O2 +.endif # defined(OPTIMIZE) + NO_MTREE= yes WRKSRC= ${WRKDIR}/mozilla +LOCAL_PREFIX= ${PREFIX}/lib/${PORTNAME} .include <bsd.port.pre.mk> +SITE_PERL?= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER} + +PERL_MAJOR=${PERL_VER:C|^([1-9]+).*|\1|} +PERL_MINOR=${PERL_VER:C|^[1-9]+\.0*([1-9]+).*|\1|} + +.if ${PERL_MAJOR} < 5 || ${PERL_MAJOR} == 5 && ${PERL_MINOR} < 8 +BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec +RUN_DEPENDS= ${BUILD_DEPENDS} +.endif # ${PERL_MAJOR} < 5 || ${PERL_MAJOR} == 5 && ${PERL_MINOR} < 8 + .if ${OSVERSION} > 500038 BROKEN= "on -CURRENT, can only be used with local files" .endif -.if !defined(PERL_VER) || ${PERL_VER} != "5.8.0" -.undef NO_IGNORE -BROKEN= This port requires Perl 5.8.0 because of File::Spec issues. \ - Make sure to run 'use.perl port' after installing it or you \ - will still get this message. -.endif # !defined(PERL_VER) || ${PERL_VER} != "5.8.0" - post-extract: ${SED} -e 's|@CFLAGS@|${CFLAGS}|' \ -e 's|@LIBS@|${LIBS}|' \ -e 's|@X11BASE@|${X11BASE}|' \ -e 's|@LOCALBASE@|${LOCALBASE}|' \ + -e 's|@PREFIX@|${LOCAL_PREFIX}|' \ <${FILESDIR}/mozconfig.in >${WRKSRC}/.mozconfig +# fix for Xft (thanks to marcus@) +post-patch: + cd ${WRKSRC}/gfx/src/gtk; \ + ${REINPLACE_CMD} -e 's|X11/Xft/Xft\.h|X11/Xft/Xft2.h|g' \ + nsDrawingSurfaceGTK.cpp nsFontMetricsXft.h + post-install: - ${LN} -s ${PREFIX}/bin/phoenix ${X11BASE}/bin/phoenix - ${LN} -s ${PREFIX}/bin/mozilla-config ${X11BASE}/bin/phoenix-config + ${LN} -s ${LOCAL_PREFIX}/bin/phoenix \ + ${PREFIX}/bin/phoenix + ${LN} -s ${LOCAL_PREFIX}/bin/mozilla-config \ + ${PREFIX}/bin/phoenix-config .include <bsd.port.post.mk> diff --git a/www/phoenix/Makefile b/www/phoenix/Makefile index 130a48cb3b10..227b008f88ed 100644 --- a/www/phoenix/Makefile +++ b/www/phoenix/Makefile @@ -2,7 +2,7 @@ # # New ports collection makefile for: phoenix # Date created: 2002/10/21 -# Whom: Alan Eldridge <ports@geeksrus.net> +# Whom: Alan Eldridge <AlanE@FreeBSD.org> # # $FreeBSD$ # @@ -19,46 +19,69 @@ LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \ jpeg.9:${PORTSDIR}/graphics/jpeg \ png.5:${PORTSDIR}/graphics/png \ mng.1:${PORTSDIR}/graphics/libmng \ - freetype.9:${PORTSDIR}/print/freetype2 -#Xft2.2:${PORTSDIR}/x11-fonts/Xft + freetype.9:${PORTSDIR}/print/freetype2 \ + IDL.2:${PORTSDIR}/devel/ORBit \ + Xft2.2:${PORTSDIR}/x11-fonts/Xft + BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip \ - freetype-config:${PORTSDIR}/print/freetype2 \ - perl5.8.0:${PORTSDIR}/lang/perl5.8 + freetype-config:${PORTSDIR}/print/freetype2 -PREFIX= ${X11BASE}/lib/${PORTNAME} +USE_X_PREFIX= yes USE_BZIP2= yes USE_GMAKE= yes +USE_REINPLACE= yes #USE_AUTOCONF_VER= 213 GNU_CONFIGURE= yes + +USE_GNOMENG= yes +USE_GNOME= gtk12 ORBit + CFLAGS+= ${PTHREAD_CFLAGS} LIBS+= ${PTHREAD_LIBS} +.if defined(OPTIMIZE) +CFLAGS+= -O2 +.endif # defined(OPTIMIZE) + NO_MTREE= yes WRKSRC= ${WRKDIR}/mozilla +LOCAL_PREFIX= ${PREFIX}/lib/${PORTNAME} .include <bsd.port.pre.mk> +SITE_PERL?= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER} + +PERL_MAJOR=${PERL_VER:C|^([1-9]+).*|\1|} +PERL_MINOR=${PERL_VER:C|^[1-9]+\.0*([1-9]+).*|\1|} + +.if ${PERL_MAJOR} < 5 || ${PERL_MAJOR} == 5 && ${PERL_MINOR} < 8 +BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec +RUN_DEPENDS= ${BUILD_DEPENDS} +.endif # ${PERL_MAJOR} < 5 || ${PERL_MAJOR} == 5 && ${PERL_MINOR} < 8 + .if ${OSVERSION} > 500038 BROKEN= "on -CURRENT, can only be used with local files" .endif -.if !defined(PERL_VER) || ${PERL_VER} != "5.8.0" -.undef NO_IGNORE -BROKEN= This port requires Perl 5.8.0 because of File::Spec issues. \ - Make sure to run 'use.perl port' after installing it or you \ - will still get this message. -.endif # !defined(PERL_VER) || ${PERL_VER} != "5.8.0" - post-extract: ${SED} -e 's|@CFLAGS@|${CFLAGS}|' \ -e 's|@LIBS@|${LIBS}|' \ -e 's|@X11BASE@|${X11BASE}|' \ -e 's|@LOCALBASE@|${LOCALBASE}|' \ + -e 's|@PREFIX@|${LOCAL_PREFIX}|' \ <${FILESDIR}/mozconfig.in >${WRKSRC}/.mozconfig +# fix for Xft (thanks to marcus@) +post-patch: + cd ${WRKSRC}/gfx/src/gtk; \ + ${REINPLACE_CMD} -e 's|X11/Xft/Xft\.h|X11/Xft/Xft2.h|g' \ + nsDrawingSurfaceGTK.cpp nsFontMetricsXft.h + post-install: - ${LN} -s ${PREFIX}/bin/phoenix ${X11BASE}/bin/phoenix - ${LN} -s ${PREFIX}/bin/mozilla-config ${X11BASE}/bin/phoenix-config + ${LN} -s ${LOCAL_PREFIX}/bin/phoenix \ + ${PREFIX}/bin/phoenix + ${LN} -s ${LOCAL_PREFIX}/bin/mozilla-config \ + ${PREFIX}/bin/phoenix-config .include <bsd.port.post.mk> diff --git a/www/zope/Makefile b/www/zope/Makefile index 210b06eeabe1..4c4715393502 100644 --- a/www/zope/Makefile +++ b/www/zope/Makefile @@ -13,7 +13,7 @@ MASTER_SITES= http://www.zope.org/Products/Zope/${PORTVERSION}/ DISTNAME= Zope-${PORTVERSION}-src EXTRACT_SUFX= .tgz -MAINTAINER= ports@geeksrus.net +MAINTAINER= AlanE@FreeBSD.org USE_PYTHON= yes PYTHON_VERSION= python2.1 diff --git a/www/zope210/Makefile b/www/zope210/Makefile index 210b06eeabe1..4c4715393502 100644 --- a/www/zope210/Makefile +++ b/www/zope210/Makefile @@ -13,7 +13,7 @@ MASTER_SITES= http://www.zope.org/Products/Zope/${PORTVERSION}/ DISTNAME= Zope-${PORTVERSION}-src EXTRACT_SUFX= .tgz -MAINTAINER= ports@geeksrus.net +MAINTAINER= AlanE@FreeBSD.org USE_PYTHON= yes PYTHON_VERSION= python2.1 diff --git a/www/zope211/Makefile b/www/zope211/Makefile index 210b06eeabe1..4c4715393502 100644 --- a/www/zope211/Makefile +++ b/www/zope211/Makefile @@ -13,7 +13,7 @@ MASTER_SITES= http://www.zope.org/Products/Zope/${PORTVERSION}/ DISTNAME= Zope-${PORTVERSION}-src EXTRACT_SUFX= .tgz -MAINTAINER= ports@geeksrus.net +MAINTAINER= AlanE@FreeBSD.org USE_PYTHON= yes PYTHON_VERSION= python2.1 diff --git a/www/zope213/Makefile b/www/zope213/Makefile index 210b06eeabe1..4c4715393502 100644 --- a/www/zope213/Makefile +++ b/www/zope213/Makefile @@ -13,7 +13,7 @@ MASTER_SITES= http://www.zope.org/Products/Zope/${PORTVERSION}/ DISTNAME= Zope-${PORTVERSION}-src EXTRACT_SUFX= .tgz -MAINTAINER= ports@geeksrus.net +MAINTAINER= AlanE@FreeBSD.org USE_PYTHON= yes PYTHON_VERSION= python2.1 diff --git a/www/zope28/Makefile b/www/zope28/Makefile index 210b06eeabe1..4c4715393502 100644 --- a/www/zope28/Makefile +++ b/www/zope28/Makefile @@ -13,7 +13,7 @@ MASTER_SITES= http://www.zope.org/Products/Zope/${PORTVERSION}/ DISTNAME= Zope-${PORTVERSION}-src EXTRACT_SUFX= .tgz -MAINTAINER= ports@geeksrus.net +MAINTAINER= AlanE@FreeBSD.org USE_PYTHON= yes PYTHON_VERSION= python2.1 diff --git a/www/zope29/Makefile b/www/zope29/Makefile index 210b06eeabe1..4c4715393502 100644 --- a/www/zope29/Makefile +++ b/www/zope29/Makefile @@ -13,7 +13,7 @@ MASTER_SITES= http://www.zope.org/Products/Zope/${PORTVERSION}/ DISTNAME= Zope-${PORTVERSION}-src EXTRACT_SUFX= .tgz -MAINTAINER= ports@geeksrus.net +MAINTAINER= AlanE@FreeBSD.org USE_PYTHON= yes PYTHON_VERSION= python2.1 |