- 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)
This commit is contained in:
Yen-Ming Lee 2004-09-16 02:08:34 +00:00
parent b2fdfc4659
commit 2a830f770a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=118191
2 changed files with 5 additions and 14 deletions

View file

@ -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>

View file

@ -1 +1,2 @@
lib/mozilla%%DEVEL%%/plugins/dummyflash.so
lib/browser_plugins/dummyflash.so
@unexec rmdir %D/lib/browser_plugins 2>/dev/null || true