From ceab29fa677934f9a8541ad0dc57738aecc8f7f3 Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Tue, 22 Oct 2002 03:42:24 +0000 Subject: 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 --- www/mozilla-headers/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'www/mozilla-headers/Makefile') 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 -- cgit v1.2.3