aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2004-02-21 16:03:37 +0800
committerlinimon <linimon@FreeBSD.org>2004-02-21 16:03:37 +0800
commitc5c2f19de2878e00e7ec33b6432bf2a1446e9f02 (patch)
tree9e07540115a8c6e738b03652826dec9375134169
parentbc6b21c62ba54dca00d08ea98c35b2561fca491d (diff)
downloadfreebsd-ports-gnome-c5c2f19de2878e00e7ec33b6432bf2a1446e9f02.tar.gz
freebsd-ports-gnome-c5c2f19de2878e00e7ec33b6432bf2a1446e9f02.tar.zst
freebsd-ports-gnome-c5c2f19de2878e00e7ec33b6432bf2a1446e9f02.zip
Unbreak by fixing install and plist.
PR: ports/62992 (but slightly modified) Submitted by: Leland Wnag <llwang@infor.org> (maintainer)
-rw-r--r--www/flashplugin-mozilla/Makefile7
-rw-r--r--www/flashplugin-mozilla/pkg-plist1
2 files changed, 3 insertions, 5 deletions
diff --git a/www/flashplugin-mozilla/Makefile b/www/flashplugin-mozilla/Makefile
index 1972129a8204..b9d35d25051a 100644
--- a/www/flashplugin-mozilla/Makefile
+++ b/www/flashplugin-mozilla/Makefile
@@ -16,10 +16,6 @@ EXTRACT_SUFX= .tgz
MAINTAINER= llwang@infor.org
COMMENT= A GPL standalone Flash (TM) plugin for Mozilla web browser
-BROKEN= "Broken pkg-plist"
-DEPRECATED= ${BROKEN}
-EXPIRATION_DATE=2004-04-17
-
LIB_DEPENDS= flash.0:${PORTSDIR}/graphics/libflash
RUN_DEPENDS?= mozilla:${PORTSDIR}/www/mozilla
@@ -30,6 +26,7 @@ PLUGIN_DIR?= lib/browser_plugins
PLIST_SUB+= PLUGIN_DIR=${PLUGIN_DIR}
do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/npflash.so ${X11BASE}/${PLUGIN_DIR}
+ @${MKDIR} ${PREFIX}/${PLUGIN_DIR}
+ @${INSTALL_PROGRAM} ${WRKSRC}/npflash.so ${PREFIX}/${PLUGIN_DIR}
.include <bsd.port.mk>
diff --git a/www/flashplugin-mozilla/pkg-plist b/www/flashplugin-mozilla/pkg-plist
index 82bb63e6e74a..8ff3d6b3c29b 100644
--- a/www/flashplugin-mozilla/pkg-plist
+++ b/www/flashplugin-mozilla/pkg-plist
@@ -1 +1,2 @@
%%PLUGIN_DIR%%/npflash.so
+@unexec rmdir %%PLUGIN_DIR%% 2>/dev/null || true