summaryrefslogtreecommitdiff
path: root/www/netscape7-acroread
diff options
context:
space:
mode:
authorjschauma <jschauma>2004-02-13 17:39:55 +0000
committerjschauma <jschauma>2004-02-13 17:39:55 +0000
commitca14f0b37797843d9e9fba82080fff0d27854dc6 (patch)
tree801a551d8fa110bfcbab08dbdf7814916a5c8e9c /www/netscape7-acroread
parentaff5af2b457e0fe090f838d51673201a6d2d956c (diff)
downloadpkgsrc-ca14f0b37797843d9e9fba82080fff0d27854dc6.tar.gz
Add packages for the acroread plugin for the netscape7 browser, following
the example of the other browsers' plugins.
Diffstat (limited to 'www/netscape7-acroread')
-rw-r--r--www/netscape7-acroread/DESCR1
-rw-r--r--www/netscape7-acroread/Makefile14
-rw-r--r--www/netscape7-acroread/Makefile.common28
-rw-r--r--www/netscape7-acroread/PLIST3
4 files changed, 46 insertions, 0 deletions
diff --git a/www/netscape7-acroread/DESCR b/www/netscape7-acroread/DESCR
new file mode 100644
index 00000000000..cc6791be301
--- /dev/null
+++ b/www/netscape7-acroread/DESCR
@@ -0,0 +1 @@
+This package provides Adobe Acrobat Reader 4 plugin for the Netscape7 package.
diff --git a/www/netscape7-acroread/Makefile b/www/netscape7-acroread/Makefile
new file mode 100644
index 00000000000..d29507c2a71
--- /dev/null
+++ b/www/netscape7-acroread/Makefile
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1 2004/02/13 17:39:55 jschauma Exp $
+
+DISTNAME= netscape7-acroread-1.0
+
+MAINTAINER= jschauma@NetBSD.org
+COMMENT= Acrobat Reader 4 plugin for netscape7
+
+DEPENDS+= acroread-4.[0-9]*:../../print/acroread
+CONFLICTS+= netscape7-acroread3-[0-9]*
+CONFLICTS+= netscape7-acroread5-[0-9]*
+
+ACROREAD= Acrobat4
+
+.include "../../www/netscape7-acroread/Makefile.common"
diff --git a/www/netscape7-acroread/Makefile.common b/www/netscape7-acroread/Makefile.common
new file mode 100644
index 00000000000..96bb54916ba
--- /dev/null
+++ b/www/netscape7-acroread/Makefile.common
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile.common,v 1.1 2004/02/13 17:39:55 jschauma Exp $
+
+PKGNAME= ${DISTNAME:C|MozillaFirebird|firefox|}
+CATEGORIES= www print
+MASTER_SITES= # empty
+DISTFILES= # empty
+
+DEPENDS+= netscape7>=1:../../www/netscape7
+
+ONLY_FOR_PLATFORM= Linux-*-i386 NetBSD-*-i386
+PLATFORM= intellinux
+
+WRKSRC= ${WRKDIR}
+NO_CHECKSUM= YES
+NO_CONFIGURE= YES
+NO_BUILD= YES
+
+PLIST_SRC= ../../www/netscape7-acroread/PLIST
+PLIST_SUBST+= ACROREAD=${ACROREAD}
+PLIST_SUBST+= PLATFORM=${PLATFORM}
+NS_PLUGINS_DIR= ${PREFIX}/lib/netscape/netscape7/plugins
+
+do-install:
+ ${INSTALL_DATA_DIR} ${NS_PLUGINS_DIR}
+ ${LN} -s ${PREFIX}/${ACROREAD}/Browsers/${PLATFORM}/nppdf.so \
+ ${NS_PLUGINS_DIR}/nppdf.so
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/netscape7-acroread/PLIST b/www/netscape7-acroread/PLIST
new file mode 100644
index 00000000000..72f5bfbd244
--- /dev/null
+++ b/www/netscape7-acroread/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2004/02/13 17:39:55 jschauma Exp $
+@exec ${LN} -s %D/${ACROREAD}/Browsers/${PLATFORM}/nppdf.so %D/lib/netscape/netscape7/plugins/nppdf.so
+lib/netscape/netscape7/plugins/nppdf.so