summaryrefslogtreecommitdiff
path: root/www/mozilla-headers/Makefile
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2002-10-22 03:42:24 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2002-10-22 03:42:24 +0000
commitceab29fa677934f9a8541ad0dc57738aecc8f7f3 (patch)
tree65ac614b19e089b6f45532f0fe3255a3262985f4 /www/mozilla-headers/Makefile
parentUpdated configure patch. (diff)
This commit includes:
* mozilla-*vendor ports (currently for Mozilla 1.0.1) * mozilla* ports (currently for Mozilla 1.1) * mozilla-*devel ports (currently for Mozilla 1.2b) Special thanks goes to trevor for auto-generating plist patches, cy for pointing out that the Mozilla startup scripts need to be tailored for each version of Mozilla, grog for suggesting that some verbage needs to be added to explain the Java plugin messages at startup, and John Merryweather Cooper for suggesting a common plugin directory. Of course, thanks also goes to the user community for suggestions and support. These ports offer: * Complete coexistence with each other * A universal ${PREFIX}/lib/browser_plugins directory * Auto-generated plists for ease of maintenance * More accurate pkg-descr's * A pkg-message pointing users to java/jdk13 for the Java plugin PR: 42870 42941 Reviewed by: ports gnome
Notes
Notes: svn path=/head/; revision=68562
Diffstat (limited to 'www/mozilla-headers/Makefile')
-rw-r--r--www/mozilla-headers/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/www/mozilla-headers/Makefile b/www/mozilla-headers/Makefile
index bfc99ae50f4b..bbba556a1dd5 100644
--- a/www/mozilla-headers/Makefile
+++ b/www/mozilla-headers/Makefile
@@ -18,6 +18,7 @@ BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/www/mozilla:configure
USE_X_PREFIX= yes
+PLIST= ${WRKSRC}/pkg-plist
MAINDIR= ${.CURDIR}/../mozilla
MKFILE!= /usr/bin/basename ${MAKEFILE}
PORTVERSION!= ${PORTVERSION}
@@ -31,6 +32,14 @@ ALL_TARGET= export
CPIOOWN= -R ${INCOWN}:${INCGRP}
.endif
+pre-install:
+ ${TOUCH} -f ${PLIST}
+ cd ${WRKSRC}/dist/include && ${FIND} -s * -type f -o -type l | \
+ ${SED} -e ':^:include/mozilla/:' >> ${PLIST} \
+ && ${FIND} -d * -type f | \
+ ${SED} -e 's:^:@dirrm include/mozilla/:' >> ${PLIST}
+ ${ECHO_CMD} @dirrm include/mozilla >> ${PLIST}
+
do-install:
-${RM} -fr ${PREFIX}/include/mozilla
${MKDIR} ${PREFIX}/include/mozilla