summaryrefslogtreecommitdiff
path: root/www/opera-acroread
diff options
context:
space:
mode:
authorjschauma <jschauma>2005-04-18 16:20:25 +0000
committerjschauma <jschauma>2005-04-18 16:20:25 +0000
commitffaab1e42a4e72ebe9fb7a11778aa7dde5126c23 (patch)
treef2b263d690990babe0ac35e69bfdd953701f977c /www/opera-acroread
parenta6dca1d8ca1f751c9503a60a3e18ee5275b7e9b9 (diff)
downloadpkgsrc-ffaab1e42a4e72ebe9fb7a11778aa7dde5126c23.tar.gz
Adjust and correct for addition of -acroread7 based plugins.
Diffstat (limited to 'www/opera-acroread')
-rw-r--r--www/opera-acroread/DESCR2
-rw-r--r--www/opera-acroread/Makefile4
-rw-r--r--www/opera-acroread/Makefile.common5
-rw-r--r--www/opera-acroread/PLIST4
4 files changed, 9 insertions, 6 deletions
diff --git a/www/opera-acroread/DESCR b/www/opera-acroread/DESCR
index f13093635bc..2a238a6a078 100644
--- a/www/opera-acroread/DESCR
+++ b/www/opera-acroread/DESCR
@@ -1 +1 @@
-This package provides Adobe Acrobat Reader 4 plugin for the Opera package.
+This package provides the Adobe Acrobat Reader 4 plugin for the Opera package.
diff --git a/www/opera-acroread/Makefile b/www/opera-acroread/Makefile
index 493f0b57c9e..aae2fb915ec 100644
--- a/www/opera-acroread/Makefile
+++ b/www/opera-acroread/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2005/02/09 17:57:39 jschauma Exp $
+# $NetBSD: Makefile,v 1.3 2005/04/18 16:20:25 jschauma Exp $
DISTNAME= opera-acroread-1.0
PKGREVISION= 1
@@ -9,7 +9,9 @@ COMMENT= Acrobat Reader 4 plugin for opera
DEPENDS+= acroread-4.[0-9]*:../../print/acroread
CONFLICTS+= opera-acroread3-[0-9]*
CONFLICTS+= opera-acroread5-[0-9]*
+CONFLICTS+= opera-acroread7-[0-9]*
ACROREAD= Acrobat4
+ACRO_SUBDIR= Browsers
.include "../../www/netscape7-acroread/Makefile.common"
diff --git a/www/opera-acroread/Makefile.common b/www/opera-acroread/Makefile.common
index ae60f9d32dc..c2935dae1ce 100644
--- a/www/opera-acroread/Makefile.common
+++ b/www/opera-acroread/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.2 2005/02/09 17:49:35 jschauma Exp $
+# $NetBSD: Makefile.common,v 1.3 2005/04/18 16:20:25 jschauma Exp $
PKGNAME= ${DISTNAME:C|MozillaFirebird|firefox|}
CATEGORIES= www print
@@ -18,12 +18,13 @@ NO_BUILD= YES
PLIST_SRC= ../../www/opera-acroread/PLIST
PLIST_SUBST+= ACROREAD=${ACROREAD}
+PLIST_SUBST+= ACRO_SUBDIR=${ACRO_SUBDIR}
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 \
+ ${LN} -s ${PREFIX}/${ACROREAD}/${ACRO_SUBDIR}/${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
index 7bbf08065a7..1b88d0e9452 100644
--- a/www/opera-acroread/PLIST
+++ b/www/opera-acroread/PLIST
@@ -1,3 +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
+@comment $NetBSD: PLIST,v 1.2 2005/04/18 16:20:25 jschauma Exp $
+@exec ${LN} -s %D/${ACROREAD}/${ACRO_SUBDIR}/${PLATFORM}/nppdf.so %D/emul/linux/usr/lib/opera/plugins/nppdf.so
emul/linux/usr/lib/opera/plugins/nppdf.so