aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2004-09-16 10:08:34 +0800
committerleeym <leeym@FreeBSD.org>2004-09-16 10:08:34 +0800
commit2b729ac74ab0d5ccad315495b8d378964fc9bcba (patch)
treecae596174cdd03c2a2b0f9e61c56270d5ec958ca /www
parent2891ba83c0abd4e9a73acd60bac5a0be96c9ff7d (diff)
downloadfreebsd-ports-gnome-2b729ac74ab0d5ccad315495b8d378964fc9bcba.tar.gz
freebsd-ports-gnome-2b729ac74ab0d5ccad315495b8d378964fc9bcba.tar.zst
freebsd-ports-gnome-2b729ac74ab0d5ccad315495b8d378964fc9bcba.zip
- Install dummyflash plugin to a more sensible place
- Build fix PR: 71385 Submitted by: Daniel J. O'Connor <darius@dons.net.au> Approved by: portmgr (marcus)
Diffstat (limited to 'www')
-rw-r--r--www/dummyflash/Makefile16
-rw-r--r--www/dummyflash/pkg-plist3
2 files changed, 5 insertions, 14 deletions
diff --git a/www/dummyflash/Makefile b/www/dummyflash/Makefile
index 9d257bf28367..abc8ac5f8838 100644
--- a/www/dummyflash/Makefile
+++ b/www/dummyflash/Makefile
@@ -7,7 +7,7 @@
PORTNAME= dummyflash
PORTVERSION= 1.0
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= ftp://ftp.netscape.com/pub/sdk/plugin/unix/
DISTNAME= unix-sdk-3.0b5
@@ -21,18 +21,8 @@ BUILD_WRKSRC= ${WRKSRC}/PluginSDK30b5/examples/UnixTemplate/Unix
NO_WRKSUBDIR= yes
MAKEFILE= makefile.freebsd
-.if defined(WITH_MOZILLA_DEVEL)
-DEVEL=-devel
-PLIST_SUB=DEVEL=${DEVEL}
-.else
-DEVEL=
-PLIST_SUB=DEVEL=
-.endif
-
-pre-everything::
- @${ECHO_MSG} "Set WITH_MOZILLA_DEVEL to install this port for www/mozilla-devel"
-
do-install:
- ${INSTALL_DATA} ${BUILD_WRKSRC}/dummyflash.so ${PREFIX}/lib/mozilla${DEVEL}/plugins
+ @${MKDIR} ${PREFIX}/lib/browser_plugins
+ ${INSTALL_DATA} ${BUILD_WRKSRC}/dummyflash.so ${PREFIX}/lib/browser_plugins
.include <bsd.port.mk>
diff --git a/www/dummyflash/pkg-plist b/www/dummyflash/pkg-plist
index fba39a125159..29513d7aa154 100644
--- a/www/dummyflash/pkg-plist
+++ b/www/dummyflash/pkg-plist
@@ -1 +1,2 @@
-lib/mozilla%%DEVEL%%/plugins/dummyflash.so
+lib/browser_plugins/dummyflash.so
+@unexec rmdir %D/lib/browser_plugins 2>/dev/null || true