aboutsummaryrefslogtreecommitdiffstats
path: root/www/mozilla-embedded-vendor/Makefile
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2002-10-22 11:42:24 +0800
committermarcus <marcus@FreeBSD.org>2002-10-22 11:42:24 +0800
commitdb683278d52320231ff347aa9f90bdf1f8cfc942 (patch)
tree818a0db385ad1a1818c7c6820cba4c37a2368ddd /www/mozilla-embedded-vendor/Makefile
parent0058b4bc54d23e482a66a6870ca65af242a7cbe2 (diff)
downloadfreebsd-ports-graphics-db683278d52320231ff347aa9f90bdf1f8cfc942.tar.gz
freebsd-ports-graphics-db683278d52320231ff347aa9f90bdf1f8cfc942.tar.zst
freebsd-ports-graphics-db683278d52320231ff347aa9f90bdf1f8cfc942.zip
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
Diffstat (limited to 'www/mozilla-embedded-vendor/Makefile')
-rw-r--r--www/mozilla-embedded-vendor/Makefile22
1 files changed, 16 insertions, 6 deletions
diff --git a/www/mozilla-embedded-vendor/Makefile b/www/mozilla-embedded-vendor/Makefile
index 9249b54eb12..a1b52ffa303 100644
--- a/www/mozilla-embedded-vendor/Makefile
+++ b/www/mozilla-embedded-vendor/Makefile
@@ -14,7 +14,7 @@ DISTFILES=
MAINTAINER= sobomax@FreeBSD.org
-BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/www/mozilla:build \
+BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/www/mozilla-vendor:build \
zip:${PORTSDIR}/archivers/zip \
unzip:${PORTSDIR}/archivers/unzip
LIB_DEPENDS= ${MAKE} -V LIB_DEPENDS -f ${MAINDIR}/${MKFILE}
@@ -22,7 +22,9 @@ RUN_DEPENDS= ${MAKE} -V RUN_DEPENDS -f ${MAINDIR}/${MKFILE}
USE_X_PREFIX= yes
-MAINDIR= ${.CURDIR}/../mozilla
+LATEST_LINK= mozilla-embedded-vendor
+PLIST= ${WRKSRC}/pkg-plist
+MAINDIR= ${.CURDIR}/../mozilla-vendor
MKFILE!= /usr/bin/basename ${MAKEFILE}
PORTVERSION!= ${PORTVERSION}
PORTREVISION!= ${PORTREVISION}
@@ -37,12 +39,20 @@ do-build:
@(cd ${WRKSRC}/dist/Embed; \
${SETENV} LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ../bin/regxpcom; \
${SETENV} LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ../bin/regchrome)
- @find ${WRKSRC}/dist/Embed -name "*.so" | xargs strip
+ @${FIND} ${WRKSRC}/dist/Embed -name "*.so" | ${XARGS} ${STRIP_CMD}
+
+pre-install:
+ ${TOUCH} -f ${PLIST}
+ cd ${WRKSRC}/dist/Embed && ${FIND} -s * -type f -o -type l | \
+ ${SED} -e ':^:lib/mozilla-embedded-vendor/:' >> ${PLIST} \
+ && ${FIND} -d * -type f | \
+ ${SED} -e 's:^:@dirrm lib/mozilla-embedded-vendor/:' >> ${PLIST}
+ ${ECHO_CMD} @dirrm lib/mozilla-embedded-vendor >> ${PLIST}
do-install:
- ${MKDIR} ${PREFIX}/lib/mozilla-embedded
- ${CHMOD} 755 ${PREFIX}/lib/mozilla-embedded
+ ${MKDIR} ${PREFIX}/lib/mozilla-embedded-vendor
+ ${CHMOD} 755 ${PREFIX}/lib/mozilla-embedded-vendor
cd ${WRKSRC}/dist/Embed && ${FIND} . | \
- cpio -pdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX}/lib/mozilla-embedded
+ cpio -pdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX}/lib/mozilla-embedded-vendor
.include <bsd.port.mk>