diff options
Diffstat (limited to 'print')
-rw-r--r-- | print/acroread5/Makefile | 19 | ||||
-rw-r--r-- | print/acroread5/distinfo | 2 | ||||
-rw-r--r-- | print/acroread5/pkg-plist | 6 |
3 files changed, 17 insertions, 10 deletions
diff --git a/print/acroread5/Makefile b/print/acroread5/Makefile index 7a526ff..a5806d7 100644 --- a/print/acroread5/Makefile +++ b/print/acroread5/Makefile @@ -6,21 +6,22 @@ # PORTNAME= acroread -PORTVERSION= 5.05 +PORTVERSION= 5.0.6 CATEGORIES= print linux MASTER_SITES= ftp://ftp.adobe.com/pub/adobe/acrobatreader/unix/5.x/ .include <bsd.port.pre.mk> .if ${ARCH} == "i386" -DISTNAME= linux-505 +DISTNAME= linux-506 .endif +DIST_SUBDIR= acroread MAINTAINER= trevor@FreeBSD.org -FORBIDDEN= "unconfirmed suspicion of temporary file bug--see http://online.securityfocus.com/archive/1/278984 " - ONLY_FOR_ARCHS= i386 USE_LINUX= yes +USE_REINPLACE= yes +REINPLACE_ARGS= -i NO_FILTER_SHLIBS= yes .if ${ARCH} == "i386" @@ -29,7 +30,7 @@ PLIST_SUB= "ARCHDIR=intellinux" WRKSRC= ${WRKDIR} pre-configure: - @${PERL} -pi.fbsd -e 's:Linux\):FreeBSD|Linux):g' ${WRKDIR}/INSTALL + ${REINPLACE_CMD} -E 's:Linux):FreeBSD|Linux):g' ${WRKDIR}/INSTALL do-build: @${ECHO_MSG} "Do a \`make install' as root." @@ -37,12 +38,16 @@ do-build: do-install: @${MKDIR} ${PREFIX}/Acrobat5 @ReadInstallDir=${PREFIX}/Acrobat5 ${WRKDIR}/INSTALL +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + strings -1 ${WRKDIR}/README > ${DOCSDIR}/README +.endif post-install: - @${PERL} -pi -e 's:Linux\):FreeBSD|Linux):g' ${PREFIX}/Acrobat5/bin/acroread + ${REINPLACE_CMD} -E 's:Linux):FreeBSD|Linux):g' ${PREFIX}/Acrobat5/bin/acroread -@/compat/linux/usr/bin/strip ${PREFIX}/Acrobat5/Reader/intellinux/bin/acroread @brandelf -t Linux ${PREFIX}/Acrobat5/Reader/intellinux/bin/acroread - @${PERL} -pi -e 's:OSF1\):FreeBSD|OSF1):g' ${PREFIX}/Acrobat5/bin/acroread + ${REINPLACE_CMD} -E 's:OSF1):FreeBSD|OSF1):g' ${PREFIX}/Acrobat5/bin/acroread @cd ${PREFIX}/Acrobat5/bin && \ ${INSTALL_SCRIPT} ${PREFIX}/Acrobat5/bin/acroread \ ${PREFIX}/bin/acroread5 diff --git a/print/acroread5/distinfo b/print/acroread5/distinfo index 631405d..a090fb5 100644 --- a/print/acroread5/distinfo +++ b/print/acroread5/distinfo @@ -1 +1 @@ -MD5 (linux-505.tar.gz) = 5c1cef0b5b1eb75ed01fefb3d6a88ce0 +MD5 (acroread/linux-506.tar.gz) = c5ca1f2fac7f2530d85de18ee6fffc26 diff --git a/print/acroread5/pkg-plist b/print/acroread5/pkg-plist index a5071aa..bd45534 100644 --- a/print/acroread5/pkg-plist +++ b/print/acroread5/pkg-plist @@ -48,7 +48,7 @@ Acrobat5/Reader/%%ARCHDIR%%/lib/libAGM.so.4.08 Acrobat5/Reader/%%ARCHDIR%%/lib/libBIB.so Acrobat5/Reader/%%ARCHDIR%%/lib/libBIB.so.1.1 Acrobat5/Reader/%%ARCHDIR%%/lib/libCoolType.so -Acrobat5/Reader/%%ARCHDIR%%/lib/libCoolType.so.3.06 +Acrobat5/Reader/%%ARCHDIR%%/lib/libCoolType.so.4.10 Acrobat5/Reader/%%ARCHDIR%%/lib/libOPP.so Acrobat5/Reader/%%ARCHDIR%%/lib/libOPP.so.1.02 Acrobat5/Reader/%%ARCHDIR%%/plug_ins/AcroForm.api @@ -64,12 +64,13 @@ Acrobat5/Reader/res/splashScreen18R.xpm Acrobat5/Reader/license.txt Acrobat5/bin/acroread bin/acroread5 +%%PORTDOCS%%share/doc/acroread/README @exec ln -sf ../../Resource/Font/ %D/Acrobat5/Reader/%%ARCHDIR%%/fonts @unexec rm -f %D/Acrobat5/Reader/%%ARCHDIR%%/fonts @exec ln -sf ../res %D/Acrobat5/Reader/%%ARCHDIR%%/res @unexec rm -f %D/Acrobat5/Reader/%%ARCHDIR%%/res @exec echo "Be sure to read the license agreement in" -@exec echo "%D/Acrobat5/Reader/License.pdf" +@exec echo "%D/Acrobat5/Reader/license.txt" @dirrm Acrobat5/bin @dirrm Acrobat5/Reader/res @comment ALPHA-ONLY:@dirrm Acrobat5/Reader/%%ARCHDIR%%/plug_ins/vdkHome/language @@ -87,3 +88,4 @@ bin/acroread5 @dirrm Acrobat5/Browsers/%%ARCHDIR%% @dirrm Acrobat5/Browsers @dirrm Acrobat5 +@dirrm share/doc/acroread |