aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/acroread
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2005-09-11 11:58:46 +0800
committerhrs <hrs@FreeBSD.org>2005-09-11 11:58:46 +0800
commit787de1aec62374aca58d239b69f8742fd10c68b2 (patch)
tree759e5043461bd8c2fb6ec4ac4afbacea7fb4ad2c /japanese/acroread
parentf0e9102bda070aad325bd4a030f2213ba39859a7 (diff)
downloadfreebsd-ports-gnome-787de1aec62374aca58d239b69f8742fd10c68b2.tar.gz
freebsd-ports-gnome-787de1aec62374aca58d239b69f8742fd10c68b2.tar.zst
freebsd-ports-gnome-787de1aec62374aca58d239b69f8742fd10c68b2.zip
Add a symlink of nppdf.so into X11BASE/lib/browser_plugins.
Bump PORTREVISION.
Diffstat (limited to 'japanese/acroread')
-rw-r--r--japanese/acroread/Makefile10
-rw-r--r--japanese/acroread/pkg-plist1
2 files changed, 10 insertions, 1 deletions
diff --git a/japanese/acroread/Makefile b/japanese/acroread/Makefile
index a7275bbee6df..a212f856a5df 100644
--- a/japanese/acroread/Makefile
+++ b/japanese/acroread/Makefile
@@ -7,6 +7,7 @@
PORTNAME= acroread
PORTVERSION= 7.0.1
+PORTREVISION= 1
CATEGORIES= japanese print
MASTER_SITES= ftp://ftp.adobe.com/pub/adobe/reader/unix/7x/7.0/jpn/
DISTNAME= AdbeRdr701_linux_jpn
@@ -28,12 +29,14 @@ ONLY_FOR_ARCHS= amd64 i386
USE_LINUX= yes
USE_X_PREFIX= yes
NO_BUILD= yes
-PLIST_SUB= ACRODIR=${ACRODIR}
+PLIST_SUB= ACRODIR=${ACRODIR} \
+ PLUGINDIR=${PLUGINDIR}
SUB_FILES= acroread
SUB_LIST= INSTALLDIR=${INSTALLDIR}
WRKSRC= ${WRKDIR}/AdobeReader
ACRODIR= Acrobat7
+PLUGINDIR= lib/browser_plugins
INSTALLDIR= ${PREFIX}/${ACRODIR}
INSTALLEXEC= ${SETENV} UNAME_s=Linux \
UNAME_r="Linux Compatibility on FreeBSD" \
@@ -49,4 +52,9 @@ do-install:
${INSTALL_SCRIPT} ${WRKDIR}/acroread ${PREFIX}/bin/acroread
${BRANDELF} -t Linux ${INSTALLDIR}/Reader/intellinux/bin/acroread
+post-install:
+ ${LN} -s -f \
+ ${PREFIX}/${ACRODIR}/Browser/intellinux/nppdf.so \
+ ${PREFIX}/${PLUGINDIR}/nppdf.so
+
.include <bsd.port.mk>
diff --git a/japanese/acroread/pkg-plist b/japanese/acroread/pkg-plist
index 4090f7dbabbe..651c3592ef86 100644
--- a/japanese/acroread/pkg-plist
+++ b/japanese/acroread/pkg-plist
@@ -390,6 +390,7 @@ bin/acroread
%%ACRODIR%%/Browser/intellinux/nppdf.so
%%ACRODIR%%/Browser/install_browser_plugin
%%ACRODIR%%/Browser/Browser_Plugin_HowTo.txt
+%%PLUGINDIR%%/nppdf.so
@dirrm %%ACRODIR%%/bin
@dirrm %%ACRODIR%%/Resource/Support
@dirrm %%ACRODIR%%/Resource/Linguistics/Providers/Proximity