summaryrefslogtreecommitdiff
path: root/www/phoenix-bin-acroread
diff options
context:
space:
mode:
authorjmc <jmc>2003-08-08 18:18:05 +0000
committerjmc <jmc>2003-08-08 18:18:05 +0000
commit46ae855bbf859adf1d8eeaf65911768dc0db1dfd (patch)
treefde342a210571df2b03d6263294be9aa1088941b /www/phoenix-bin-acroread
parent116a5d8fcb89e7909ad12ad58a4d829b426ff9b4 (diff)
downloadpkgsrc-46ae855bbf859adf1d8eeaf65911768dc0db1dfd.tar.gz
Make sure plugin's dir exists before linking into it.
Diffstat (limited to 'www/phoenix-bin-acroread')
-rw-r--r--www/phoenix-bin-acroread/Makefile.common7
1 files changed, 5 insertions, 2 deletions
diff --git a/www/phoenix-bin-acroread/Makefile.common b/www/phoenix-bin-acroread/Makefile.common
index 59ead1e2772..a1a6cec3718 100644
--- a/www/phoenix-bin-acroread/Makefile.common
+++ b/www/phoenix-bin-acroread/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.2 2003/05/24 10:36:03 jmmv Exp $
+# $NetBSD: Makefile.common,v 1.3 2003/08/08 18:18:05 jmc Exp $
WRKSRC= ${WRKDIR}
CATEGORIES= www print
@@ -17,9 +17,12 @@ NO_BUILD= YES
PLIST_SRC= ../../www/phoenix-bin-acroread/PLIST
PLIST_SUBST+= ACROREAD=${ACROREAD}
PLIST_SUBST+= PLATFORM=${PLATFORM}
+NS_PLUGINS_DIR= ${PREFIX}/lib/MozillaFirebird-linux/plugins
+
do-install:
+ ${INSTALL_DATA_DIR} ${NS_PLUGINS_DIR}
${LN} -s ${PREFIX}/${ACROREAD}/Browsers/${PLATFORM}/nppdf.so \
- ${PREFIX}/lib/MozillaFirebird-linux/plugins/nppdf.so
+ ${NS_PLUGINS_DIR}/nppdf.so
.include "../../mk/bsd.pkg.mk"