summaryrefslogtreecommitdiff
path: root/www/linux-mozilla/Makefile
diff options
context:
space:
mode:
authorTrevor Johnson <trevor@FreeBSD.org>2002-01-17 06:14:45 +0000
committerTrevor Johnson <trevor@FreeBSD.org>2002-01-17 06:14:45 +0000
commitd3dfc05021206b1f27bf29f3e32b9a954c825951 (patch)
treed05562a692821b9d8e85904d2dc414e7a1441cac /www/linux-mozilla/Makefile
parentFix a problem with the nessus-update-plugins script, which did not (diff)
Make this compatibile with the www/linux-flashplugin package, by
adding some symbolic links into the Netscape plugins directory.
Notes
Notes: svn path=/head/; revision=53225
Diffstat (limited to 'www/linux-mozilla/Makefile')
-rw-r--r--www/linux-mozilla/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/www/linux-mozilla/Makefile b/www/linux-mozilla/Makefile
index b3caf0c302d5..9b983ede882f 100644
--- a/www/linux-mozilla/Makefile
+++ b/www/linux-mozilla/Makefile
@@ -66,6 +66,8 @@ pre-install:
cd ${WRKSRC}/bin; for i in `find * \! -type d | sort`; do \
${ECHO} lib/linux-mozilla/$${i} >> ${PLIST}; \
done
+ ${ECHO} lib/linux-mozilla/plugins/libflashplayer.so >> ${PLIST}
+ ${ECHO} lib/linux-mozilla/plugins/ShockwaveFlash.class >> ${PLIST}
cd ${WRKSRC}/bin; \
for i in `find -d * -type d`; do \
${ECHO} @dirrm lib/linux-mozilla/$${i} >> ${PLIST}; \
@@ -75,6 +77,10 @@ pre-install:
do-install:
${MKDIR} ${INSTALL_DIR}
${CP} -Rp ${WRKSRC}/bin/* ${INSTALL_DIR}
+# These links are broken if the linux-flashplugin package is not installed.
+ cd ${PREFIX}/lib/linux-mozilla/plugins \
+ && ${LN} -s ../../netscape-linux/plugins/libflashplayer.so \
+ && ${LN} -s ../../netscape-linux/plugins/ShockwaveFlash.class
${INSTALL_SCRIPT} ${WRKDIR}/${STARTUP_CMD} ${PREFIX}/bin
post-install: