summaryrefslogtreecommitdiff
path: root/www/nspluginwrapper
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2007-07-31 17:59:28 +0000
committerjlam <jlam@pkgsrc.org>2007-07-31 17:59:28 +0000
commitfb6d025b532436156766148b1a904405a3830056 (patch)
treef1a4bc01a7c0ab6c6ec0726d7156e09606eade50 /www/nspluginwrapper
parent7c2f0441beeb30203af95d5731fc66d699a2c236 (diff)
downloadpkgsrc-fb6d025b532436156766148b1a904405a3830056.tar.gz
Use the emulator framework to note that this package installs linux-i386
binaries and libraries. Add dependencies on the base, gtk2 and x11 Linux modules, which provide shared libraries needed by npviewer.bin. Bump the PKGREVISION to 1.
Diffstat (limited to 'www/nspluginwrapper')
-rw-r--r--www/nspluginwrapper/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/www/nspluginwrapper/Makefile b/www/nspluginwrapper/Makefile
index 571e38b5edf..877ffb18c84 100644
--- a/www/nspluginwrapper/Makefile
+++ b/www/nspluginwrapper/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.5 2007/07/31 17:53:56 jlam Exp $
+# $NetBSD: Makefile,v 1.6 2007/07/31 17:59:28 jlam Exp $
#
DISTNAME= nspluginwrapper-0.9.91.3
+PKGREVISION= 1
CATEGORIES= www
MASTER_SITES= http://gwenole.beauchesne.info/projects/nspluginwrapper/files/
EXTRACT_SUFX= .tar.bz2
@@ -11,6 +12,10 @@ MAINTAINER= abs@NetBSD.org
HOMEPAGE= http://gwenole.beauchesne.info/projects/nspluginwrapper/
COMMENT= Use Netscape compatible plugins from other platforms
+EMUL_PLATFORMS= linux-i386
+EMUL_MODULES.linux= base gtk2 x11
+NOT_FOR_PLATFORM= Linux-*-*
+
HAS_CONFIGURE= yes
USE_LANGUAGES= c c++
USE_TOOLS+= gmake pkg-config
@@ -31,8 +36,6 @@ post-install:
${INSTALL_SCRIPT} ${PLUGIN_SRCDIR}/npviewer ${PLUGIN_INSTDIR}
${INSTALL_LIB} ${PLUGIN_SRCDIR}/npviewer.bin ${PLUGIN_INSTDIR}
-ONLY_FOR_PLATFORM= *-*-i386 *-*-x86_64
-
.include "../../devel/glib2/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"