summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2005-08-26 22:18:05 +0000
committerxtraeme <xtraeme>2005-08-26 22:18:05 +0000
commit337a03bbabaa04b9516f2e5e3b267749dddd5fa2 (patch)
tree1a675f1d5b7c7e5101de1193df0b3a3358730283 /www
parent1ba3e4ade81f8c730c952bd832290e6a528c7292 (diff)
downloadpkgsrc-337a03bbabaa04b9516f2e5e3b267749dddd5fa2.tar.gz
acroread7 installs the pdf plugin into another directory different
than "Browsers", adapt it.
Diffstat (limited to 'www')
-rw-r--r--www/firefox-bin-acroread/Makefile.common6
1 files changed, 4 insertions, 2 deletions
diff --git a/www/firefox-bin-acroread/Makefile.common b/www/firefox-bin-acroread/Makefile.common
index a743d3adc2e..8a87ce26f62 100644
--- a/www/firefox-bin-acroread/Makefile.common
+++ b/www/firefox-bin-acroread/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.1 2004/02/10 12:26:24 grant Exp $
+# $NetBSD: Makefile.common,v 1.2 2005/08/26 22:18:05 xtraeme Exp $
PKGNAME= ${DISTNAME:C|MozillaFirebird|firefox|}
CATEGORIES= www print
@@ -20,9 +20,11 @@ PLIST_SUBST+= ACROREAD=${ACROREAD}
PLIST_SUBST+= PLATFORM=${PLATFORM}
NS_PLUGINS_DIR= ${PREFIX}/lib/firefox-linux/plugins
+BROWSER?= Browsers
+
do-install:
${INSTALL_DATA_DIR} ${NS_PLUGINS_DIR}
- ${LN} -s ${PREFIX}/${ACROREAD}/Browsers/${PLATFORM}/nppdf.so \
+ ${LN} -s ${PREFIX}/${ACROREAD}/${BROWSER}/${PLATFORM}/nppdf.so \
${NS_PLUGINS_DIR}/nppdf.so
.include "../../mk/bsd.pkg.mk"