From 5c4045801465123651e1fadd3c85e702aa67c114 Mon Sep 17 00:00:00 2001 From: jschauma Date: Fri, 13 Feb 2004 18:05:12 +0000 Subject: dd packages for the acroread plugin for the opera browser, following the example of the other browsers' plugins. --- www/opera-acroread/DESCR | 1 + www/opera-acroread/Makefile | 14 ++++++++++++++ www/opera-acroread/Makefile.common | 28 ++++++++++++++++++++++++++++ www/opera-acroread/PLIST | 3 +++ 4 files changed, 46 insertions(+) create mode 100644 www/opera-acroread/DESCR create mode 100644 www/opera-acroread/Makefile create mode 100644 www/opera-acroread/Makefile.common create mode 100644 www/opera-acroread/PLIST (limited to 'www/opera-acroread') 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 -- cgit v1.2.3