aboutsummaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2005-11-13 07:00:08 +0000
committerHiroki Sato <hrs@FreeBSD.org>2005-11-13 07:00:08 +0000
commitf5f5f2320ffa4e724867bdc4dc1eeb73d43bb86e (patch)
tree963d6f032cad5ae3f6c4a7b4cc9be8a9a2b208a0 /japanese
parent76fba200be7fe92df16ed8567e63cefdb971ed46 (diff)
downloadports-f5f5f2320ffa4e724867bdc4dc1eeb73d43bb86e.tar.gz
ports-f5f5f2320ffa4e724867bdc4dc1eeb73d43bb86e.zip
Notes
Diffstat (limited to 'japanese')
-rw-r--r--japanese/acroread/Makefile11
-rw-r--r--japanese/acroread/distinfo1
-rw-r--r--japanese/acroread/pkg-plist1
3 files changed, 7 insertions, 6 deletions
diff --git a/japanese/acroread/Makefile b/japanese/acroread/Makefile
index eccf77869090..e9c413732276 100644
--- a/japanese/acroread/Makefile
+++ b/japanese/acroread/Makefile
@@ -7,7 +7,7 @@
PORTNAME= acroread
PORTVERSION= 7.0.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= japanese print
MASTER_SITES= ftp://ftp.adobe.com/pub/adobe/reader/unix/7x/7.0/jpn/
DISTNAME= AdbeRdr701_linux_jpn
@@ -36,7 +36,7 @@ SUB_LIST= INSTALLDIR=${INSTALLDIR}
WRKSRC= ${WRKDIR}/AdobeReader
ACRODIR= Acrobat7
-PLUGINDIR= lib/browser_plugins
+PLUGINDIR= lib/browser_linux_plugins
INSTALLDIR= ${PREFIX}/${ACRODIR}
INSTALLEXEC= ${SETENV} UNAME_s=Linux \
UNAME_r="Linux Compatibility on FreeBSD" \
@@ -53,10 +53,9 @@ do-install:
${BRANDELF} -t Linux ${INSTALLDIR}/Reader/intellinux/bin/acroread
post-install:
- if [ -d ${PREFIX}/${PLUGINDIR} ]; then \
- ${LN} -s -f \
+ ${MKDIR} ${PREFIX}/${PLUGINDIR}
+ ${LN} -s -f \
${PREFIX}/${ACRODIR}/Browser/intellinux/nppdf.so \
- ${PREFIX}/${PLUGINDIR}/nppdf.so; \
- fi
+ ${PREFIX}/${PLUGINDIR}/nppdf.so
.include <bsd.port.mk>
diff --git a/japanese/acroread/distinfo b/japanese/acroread/distinfo
index beb339de7f88..4087048d35e2 100644
--- a/japanese/acroread/distinfo
+++ b/japanese/acroread/distinfo
@@ -1,2 +1,3 @@
MD5 (acroread/AdbeRdr701_linux_jpn.tar.gz) = 4263743bb354b549b284b53f14851270
+SHA256 (acroread/AdbeRdr701_linux_jpn.tar.gz) = 339b4018de59f639b85f3132820edce3c2d5b30e0081053b7c02476fd207513f
SIZE (acroread/AdbeRdr701_linux_jpn.tar.gz) = 52470736
diff --git a/japanese/acroread/pkg-plist b/japanese/acroread/pkg-plist
index 651c3592ef86..2edd72b8a59a 100644
--- a/japanese/acroread/pkg-plist
+++ b/japanese/acroread/pkg-plist
@@ -391,6 +391,7 @@ bin/acroread
%%ACRODIR%%/Browser/install_browser_plugin
%%ACRODIR%%/Browser/Browser_Plugin_HowTo.txt
%%PLUGINDIR%%/nppdf.so
+@unexec /bin/rmdir %D/%%PLUGINDIR%% 2> /dev/null || true
@dirrm %%ACRODIR%%/bin
@dirrm %%ACRODIR%%/Resource/Support
@dirrm %%ACRODIR%%/Resource/Linguistics/Providers/Proximity