aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2000-07-19 23:55:20 +0800
committerknu <knu@FreeBSD.org>2000-07-19 23:55:20 +0800
commit5fafc60cb193d5e63d26efa6c177a8db1baa6652 (patch)
tree705bea08e51ce2661d59c4038ac3ac50017a2f88 /www
parent55c60589ba7d34be20797d12fa09bc619812e27c (diff)
downloadfreebsd-ports-graphics-5fafc60cb193d5e63d26efa6c177a8db1baa6652.tar.gz
freebsd-ports-graphics-5fafc60cb193d5e63d26efa6c177a8db1baa6652.tar.zst
freebsd-ports-graphics-5fafc60cb193d5e63d26efa6c177a8db1baa6652.zip
Create and remove the plugins dir properly.
Diffstat (limited to 'www')
-rw-r--r--www/linux-flashplugin/Makefile1
-rw-r--r--www/linux-flashplugin/pkg-plist1
2 files changed, 2 insertions, 0 deletions
diff --git a/www/linux-flashplugin/Makefile b/www/linux-flashplugin/Makefile
index c9dcd2afeb6..ad3632ac6f4 100644
--- a/www/linux-flashplugin/Makefile
+++ b/www/linux-flashplugin/Makefile
@@ -29,6 +29,7 @@ PLIST_SUB= PLUGINSDIR="${PLUGINSDIR}"
do-install:
${MKDIR} ${PREFIX}/lib/flash
${MKDIR} ${PREFIX}/share/doc/flash
+ ${MKDIR} ${PREFIX}/${PLUGINSDIR}
.for f in ${LIBFILES}
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/lib/flash/
${LN} -sf ${PREFIX}/lib/flash/${f} ${PREFIX}/${PLUGINSDIR}/
diff --git a/www/linux-flashplugin/pkg-plist b/www/linux-flashplugin/pkg-plist
index e8e04443c2c..b2e9a235635 100644
--- a/www/linux-flashplugin/pkg-plist
+++ b/www/linux-flashplugin/pkg-plist
@@ -2,6 +2,7 @@ lib/flash/ShockwaveFlash.class
lib/flash/libflashplayer.so
%%PLUGINSDIR%%/ShockwaveFlash.class
%%PLUGINSDIR%%/libflashplayer.so
+@unexec rmdir -p %%PLUGINSDIR%% 2>/dev/null || true
share/doc/flash/README.Linux
@dirrm lib/flash
@dirrm share/doc/flash