Add a symlink of nppdf.so into X11BASE/lib/browser_plugins.

Bump PORTREVISION.
This commit is contained in:
Hiroki Sato 2005-09-11 03:58:46 +00:00
parent b15efad8d6
commit f16ca1e1d3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=142415
2 changed files with 10 additions and 1 deletions

View file

@ -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>

View file

@ -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