From 052c9b9ee57c2b5c34b66ea9b7740679a86bbcb3 Mon Sep 17 00:00:00 2001 From: Alan Eldridge Date: Tue, 10 Dec 2002 08:57:05 +0000 Subject: Update Phoenix to 0.5, the last release named Phoenix. Fixes a lot a bugs, adds some features, there is at least one crasher I've hit so far but I don't know if it is anomoly or not yet. Approved by: kris --- www/firefox10/Makefile | 51 ++++++++++++++++++++++++++++++++------------------ 1 file changed, 33 insertions(+), 18 deletions(-) (limited to 'www/firefox10/Makefile') diff --git a/www/firefox10/Makefile b/www/firefox10/Makefile index ad1a31a770cd..782a3adc2d54 100644 --- a/www/firefox10/Makefile +++ b/www/firefox10/Makefile @@ -1,4 +1,4 @@ -# ex:ts=8 +# ex:ts=8 -*-mode: makefile-*- # # New ports collection makefile for: phoenix # Date created: 2002/10/21 @@ -8,11 +8,11 @@ # PORTNAME= phoenix -PORTVERSION= 0.4 -PORTREVISION= 9 +PORTVERSION= 0.5.20021209 +PORTREVISION= 0 CATEGORIES= www # pita -MASTER_SITES= ${MASTER_SITE_LOCAL} -MASTER_SITE_SUBDIR= trevor +MASTER_SITES= ${MASTER_SITE_LOCAL} ${BSD_WEBDIR} +MASTER_SITE_SUBDIR= alane MAINTAINER= phoenix@freebsd.org # alane@fbsd and trevor@fbsd @@ -23,10 +23,11 @@ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \ IDL.2:${PORTSDIR}/devel/ORBit \ Xft2.2:${PORTSDIR}/x11-fonts/Xft \ iconv.3:${PORTSDIR}/converters/libiconv - BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip \ freetype-config:${PORTSDIR}/print/freetype2 +BSD_WEBDIR=http://people.freebsd.org/~${MASTER_SITE_SUBDIR}/ + USE_X_PREFIX= yes USE_BZIP2= yes @@ -48,7 +49,8 @@ WRKSRC= ${WRKDIR}/mozilla LOCAL_SUBDIR= lib/${PORTNAME} LOCAL_PREFIX= ${PREFIX}/${LOCAL_SUBDIR} JREDIR= ${LOCALBASE}/jdk1.3.1/jre -PLUGINSDIR= ${LOCAL_PREFIX}/lib/mozilla-1.2b/plugins/ +MOZVER= 1.3a +PLUGINSDIR= ${LOCAL_PREFIX}/lib/mozilla-${MOZVER}/plugins/ .include @@ -83,37 +85,50 @@ post-patch: ${REINPLACE_CMD} -e 's|X11/Xft/Xft\.h|X11/Xft/Xft2.h|g' \ nsDrawingSurfaceGTK.cpp nsFontMetricsXft.h -pre-install: +post-build: ${RM} -f ${PLIST} ${TOUCH} ${PLIST} -post-install: - @${RM} -f ${PREFIX}/bin/phoenix - @${LN} -s ${LOCAL_PREFIX}/bin/phoenix \ +pre-install: + ${RM} -fr ${LOCAL_PREFIX} + +link-bins: + ${RM} -f ${PREFIX}/bin/phoenix + ${LN} -s ${LOCAL_PREFIX}/bin/phoenix \ ${PREFIX}/bin/phoenix - @${RM} -f ${PREFIX}/bin/phoenix-config - @${LN} -s ${LOCAL_PREFIX}/bin/mozilla-config \ + ${RM} -f ${PREFIX}/bin/phoenix-config + ${LN} -s ${LOCAL_PREFIX}/bin/mozilla-config \ ${PREFIX}/bin/phoenix-config - @${CAT} ${PKGMESSAGE} 2>/dev/null - @${RM} -fr ${LOCAL_PREFIX}/share/idl - @${RM} -fr ${LOCAL_PREFIX}/include + +link-java: -${RM} -f ${PLUGINSDIR}/libjavaplugin_oji.so -${LN} -sf \ ${JREDIR}/plugin/i386/ns600/libjavaplugin_oji.so \ ${PLUGINSDIR}/libjavaplugin_oji.so + +cleanup-install: + ${RM} -fr ${LOCAL_PREFIX}/share/idl + ${RM} -fr ${LOCAL_PREFIX}/include + +cons-plist: -${RM} -f ${PLIST} ${ECHO_CMD} bin/phoenix >>${PLIST} ${ECHO_CMD} bin/phoenix-config >>${PLIST} cd ${PREFIX}; \ ${FIND} ${LOCAL_SUBDIR} ! -type d | ${SORT} >>${PLIST}; \ ${FIND} ${LOCAL_SUBDIR} -type d -empty | ${SORT} \ - | ${SED} -e "s:^:@exec /bin/mkdir -p %D/:" -e "s:$$: || true:" \ + | ${SED} -e "s:^:@exec ${MKDIR} %D/:" -e "s:$$: || true:" \ >> ${PLIST}; \ ${FIND} ${LOCAL_SUBDIR} -type d -empty | ${SORT} -r \ - | ${SED} -e "s:^:@unexec /bin/rmdir %D/:" -e "s:$$: || true:" \ + | ${SED} -e "s:^:@unexec ${RMDIR} %D/:" -e "s:$$: || true:" \ >> ${PLIST}; \ ${FIND} ${LOCAL_SUBDIR} -type d ! -empty | ${SORT} -r \ | ${SED} -e "s:^:@dirrm :" >> ${PLIST} +.PHONY: link-bins link-java cleanup-install cons-plist + .include + +generate-plist: link-bins link-java cleanup-install cons-plist + #EOF -- cgit v1.2.3