From 269e4355590c934bda9566b96d074b326d792eae Mon Sep 17 00:00:00 2001 From: jmmv Date: Wed, 7 May 2003 11:28:01 +0000 Subject: Let this coexist with acroread4 again (it seems some people finds this interesting...). Do not install the Netscape plugin (which should be installed by an independant package). Bump PKGREVISION to 3. --- print/acroread5/Makefile | 12 +++--------- print/acroread5/PLIST.post | 5 +---- print/acroread5/PLIST.pre | 4 +--- 3 files changed, 5 insertions(+), 16 deletions(-) (limited to 'print/acroread5') diff --git a/print/acroread5/Makefile b/print/acroread5/Makefile index 23c26ac10f8..4f1270c2d13 100644 --- a/print/acroread5/Makefile +++ b/print/acroread5/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.10 2003/05/06 16:26:27 jmmv Exp $ +# $NetBSD: Makefile,v 1.11 2003/05/07 11:28:01 jmmv Exp $ DISTNAME= acroread5 # Overridden below -PKGNAME= acroread-5.06 -PKGREVISION= 2 +PKGNAME= acroread5-5.06 +PKGREVISION= 3 WRKSRC= ${WRKDIR} CATEGORIES= print MASTER_SITES= ftp://ftp-pac.adobe.com/pub/adobe/acrobatreader/unix/5.x/ @@ -54,8 +54,6 @@ PLIST_SRC+= ${PKGDIR}/PLIST.${MACHINE_ARCH} .endif PLIST_SRC+= ${PKGDIR}/PLIST.post -NS_PLUGINS_DIR= ${PREFIX}/lib/netscape/plugins - BIN_PATCH= ${PATCH} --quiet ${_PATCH_BACKUP_ARG} .orig do-install: @@ -68,10 +66,6 @@ post-install: ${INSTALL_SCRIPT} ${PREFIX}/Acrobat5/bin/acroread \ ${PREFIX}/bin/acroread5 && ${RM} -f acroread.orig ${CHMOD} +x ${PREFIX}/bin/acroread5 - cd ${PREFIX}/bin && ln -s acroread5 acroread - ${INSTALL_DATA_DIR} ${NS_PLUGINS_DIR} - ${INSTALL_DATA} ${PREFIX}/Acrobat5/Browsers/${PLATFORM}/nppdf.so \ - ${NS_PLUGINS_DIR} @${ECHO_MSG} "Be sure to read the license agreement in" @${ECHO_MSG} "${PREFIX}/Acrobat5/Reader/license.txt" diff --git a/print/acroread5/PLIST.post b/print/acroread5/PLIST.post index 107d627c170..ce55648096f 100644 --- a/print/acroread5/PLIST.post +++ b/print/acroread5/PLIST.post @@ -1,7 +1,4 @@ -@comment $NetBSD: PLIST.post,v 1.2 2002/12/09 16:01:37 tron Exp $ -@exec ${MKDIR} %D/lib/netscape/plugins -@unexec ${RMDIR} %D/lib/netscape/plugins 2>/dev/null || ${TRUE} -@unexec ${RMDIR} %D/lib/netscape 2>/dev/null || ${TRUE} +@comment $NetBSD: PLIST.post,v 1.3 2003/05/07 11:28:01 jmmv Exp $ @exec ln -sf ../../Resource/Font %D/Acrobat5/Reader/${PLATFORM}/fonts @unexec ${RM} -f %D/Acrobat5/Reader/${PLATFORM}/fonts @exec ln -sf ../res %D/Acrobat5/Reader/${PLATFORM}/res diff --git a/print/acroread5/PLIST.pre b/print/acroread5/PLIST.pre index 6529f6c0408..1af23756ebd 100644 --- a/print/acroread5/PLIST.pre +++ b/print/acroread5/PLIST.pre @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST.pre,v 1.3 2003/05/06 16:26:27 jmmv Exp $ +@comment $NetBSD: PLIST.pre,v 1.4 2003/05/07 11:28:01 jmmv Exp $ Acrobat5/Browsers/netscape Acrobat5/Browsers/${PLATFORM}/nppdf.so Acrobat5/Reader/AcroVersion @@ -50,6 +50,4 @@ Acrobat5/Resource/Font/TimesNewRoman-Italic Acrobat5/Resource/Font/ZapfDingbats Acrobat5/Resource/LICFONT.TXT Acrobat5/bin/acroread -bin/acroread bin/acroread5 -lib/netscape/plugins/nppdf.so -- cgit v1.2.3