summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--japanese/acroread/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/japanese/acroread/Makefile b/japanese/acroread/Makefile
index a212f856a5df..eccf77869090 100644
--- a/japanese/acroread/Makefile
+++ b/japanese/acroread/Makefile
@@ -53,8 +53,10 @@ do-install:
${BRANDELF} -t Linux ${INSTALLDIR}/Reader/intellinux/bin/acroread
post-install:
- ${LN} -s -f \
+ if [ -d ${PREFIX}/${PLUGINDIR} ]; then \
+ ${LN} -s -f \
${PREFIX}/${ACRODIR}/Browser/intellinux/nppdf.so \
- ${PREFIX}/${PLUGINDIR}/nppdf.so
+ ${PREFIX}/${PLUGINDIR}/nppdf.so; \
+ fi
.include <bsd.port.mk>