summaryrefslogtreecommitdiff
path: root/www/linuxpluginwrapper/Makefile
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2002-11-13 19:35:14 +0000
committerPete Fritchman <petef@FreeBSD.org>2002-11-13 19:35:14 +0000
commit9e8d00728d81f15cb5c2df24ce7a3639b26d587d (patch)
tree67bc8cf5f09570e75fc8d43004efc7c0404befb2 /www/linuxpluginwrapper/Makefile
parentNew port minivmac version 0.1.7: A miniature Macintosh emulator (diff)
Add flashpluginwrapper 0.20021113, a wrapper allowing use of
linux-flashplugin with native mozilla.
Notes
Notes: svn path=/head/; revision=70055
Diffstat (limited to 'www/linuxpluginwrapper/Makefile')
-rw-r--r--www/linuxpluginwrapper/Makefile35
1 files changed, 35 insertions, 0 deletions
diff --git a/www/linuxpluginwrapper/Makefile b/www/linuxpluginwrapper/Makefile
new file mode 100644
index 000000000000..2ad449543a7f
--- /dev/null
+++ b/www/linuxpluginwrapper/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: flashpluginwrapper
+# Date Created: 13 November 2002
+# Whom: Pete Fritchman <petef@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= flashpluginwrapper
+PORTVERSION= 0.20021113
+CATEGORIES= www linux
+MASTER_SITES= ${MASTER_SITE_LOCAL} \
+ http://absolutbsd.org/~petef/
+MASTER_SITE_SUBDIR= petef
+
+MAINTAINER= petef@FreeBSD.org
+
+RUN_DEPENDS= ${LOCALBASE}/lib/flash/libflashplayer.so:${PORTSDIR}/www/linux-flashplugin \
+ mozilla:${PORTSDIR}/www/mozilla
+
+USE_REINPLACE= yes
+ONLY_FOR_ARCHS= i386
+PKGMESSAGE= ${WRKDIR}/pkg-message
+
+post-patch:
+ @${REINPLACE_CMD} -e 's,/usr/X11R6,${X11BASE},' \
+ -e 's,/usr/local,${PREFIX},' ${WRKSRC}/Makefile
+
+post-install:
+ @${SED} -e 's,%%PREFIX%%,${PREFIX},' \
+ -e 's,%%LOCALBASE%%,${LOCALBASE},' \
+ -e 's,%%X11BASE%%,${X11BASE},' \
+ < ${FILESDIR}/pkg-message.in > ${PKGMESSAGE}
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>