summaryrefslogtreecommitdiff
path: root/www/opera-acroread
diff options
context:
space:
mode:
authorjschauma <jschauma>2004-02-13 18:05:12 +0000
committerjschauma <jschauma>2004-02-13 18:05:12 +0000
commitaaba29b97c44789956448c60035242f9d549184d (patch)
treec8f6d80d832e0c2f22ce4aede55decd924ce228a /www/opera-acroread
parent399bb9873a756ada310086ef0265a02856c6fb55 (diff)
downloadpkgsrc-aaba29b97c44789956448c60035242f9d549184d.tar.gz
dd packages for the acroread plugin for the opera browser, following
the example of the other browsers' plugins.
Diffstat (limited to 'www/opera-acroread')
-rw-r--r--www/opera-acroread/DESCR1
-rw-r--r--www/opera-acroread/Makefile14
-rw-r--r--www/opera-acroread/Makefile.common28
-rw-r--r--www/opera-acroread/PLIST3
4 files changed, 46 insertions, 0 deletions
diff --git a/www/opera-acroread/DESCR b/www/opera-acroread/DESCR
new file mode 100644
index 00000000000..f13093635bc
--- /dev/null
+++ b/www/opera-acroread/DESCR
@@ -0,0 +1 @@
+This package provides Adobe Acrobat Reader 4 plugin for the Opera package.
diff --git a/www/opera-acroread/Makefile b/www/opera-acroread/Makefile
new file mode 100644
index 00000000000..c4f87346b44
--- /dev/null
+++ b/www/opera-acroread/Makefile
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1 2004/02/13 18:05:12 jschauma Exp $
+
+DISTNAME= opera-acroread-1.0
+
+MAINTAINER= jschauma@NetBSD.org
+COMMENT= Acrobat Reader 4 plugin for opera
+
+DEPENDS+= acroread-4.[0-9]*:../../print/acroread
+CONFLICTS+= opera-acroread3-[0-9]*
+CONFLICTS+= opera-acroread5-[0-9]*
+
+ACROREAD= Acrobat4
+
+.include "../../www/netscape7-acroread/Makefile.common"
diff --git a/www/opera-acroread/Makefile.common b/www/opera-acroread/Makefile.common
new file mode 100644
index 00000000000..209ed61e858
--- /dev/null
+++ b/www/opera-acroread/Makefile.common
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile.common,v 1.1 2004/02/13 18:05:12 jschauma Exp $
+
+PKGNAME= ${DISTNAME:C|MozillaFirebird|firefox|}
+CATEGORIES= www print
+MASTER_SITES= # empty
+DISTFILES= # empty
+
+DEPENDS+= opera>=7.0:../../www/opera7
+
+ONLY_FOR_PLATFORM= Linux-*-i386 NetBSD-*-i386
+PLATFORM= intellinux
+
+WRKSRC= ${WRKDIR}
+NO_CHECKSUM= YES
+NO_CONFIGURE= YES
+NO_BUILD= YES
+
+PLIST_SRC= ../../www/opera-acroread/PLIST
+PLIST_SUBST+= ACROREAD=${ACROREAD}
+PLIST_SUBST+= PLATFORM=${PLATFORM}
+NS_PLUGINS_DIR= ${PREFIX}/emul/linux/usr/lib/opera/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/opera-acroread/PLIST b/www/opera-acroread/PLIST
new file mode 100644
index 00000000000..7bbf08065a7
--- /dev/null
+++ b/www/opera-acroread/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2004/02/13 18:05:12 jschauma Exp $
+@exec ${LN} -s %D/${ACROREAD}/Browsers/${PLATFORM}/nppdf.so %D/emul/linux/usr/lib/opera/plugins/nppdf.so
+emul/linux/usr/lib/opera/plugins/nppdf.so