summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorjmmv <jmmv>2003-05-06 16:26:27 +0000
committerjmmv <jmmv>2003-05-06 16:26:27 +0000
commit1f12886d71c6e9599c782a7d831f32babed5a464 (patch)
tree7d05157b81d6313c98bbaf7bda4b850f9a92e6ad /print
parent751b25c512300ef986b8523d82f918b2b9f64872 (diff)
downloadpkgsrc-1f12886d71c6e9599c782a7d831f32babed5a464.tar.gz
Install a symbolic link for the "acroread5" binary, called "acroread", to
match package name. The original name is preserved to avoid breaking current user's configurations and scripts. Bump PKGREVISION to 2. Suggested by tron@.
Diffstat (limited to 'print')
-rw-r--r--print/acroread5/Makefile5
-rw-r--r--print/acroread5/PLIST.pre3
2 files changed, 5 insertions, 3 deletions
diff --git a/print/acroread5/Makefile b/print/acroread5/Makefile
index 569d59dbbe6..23c26ac10f8 100644
--- a/print/acroread5/Makefile
+++ b/print/acroread5/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.9 2003/05/05 13:34:45 jmmv Exp $
+# $NetBSD: Makefile,v 1.10 2003/05/06 16:26:27 jmmv Exp $
DISTNAME= acroread5 # Overridden below
PKGNAME= acroread-5.06
-PKGREVISION= 1
+PKGREVISION= 2
WRKSRC= ${WRKDIR}
CATEGORIES= print
MASTER_SITES= ftp://ftp-pac.adobe.com/pub/adobe/acrobatreader/unix/5.x/
@@ -68,6 +68,7 @@ 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}
diff --git a/print/acroread5/PLIST.pre b/print/acroread5/PLIST.pre
index 10cd554260c..6529f6c0408 100644
--- a/print/acroread5/PLIST.pre
+++ b/print/acroread5/PLIST.pre
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST.pre,v 1.2 2003/05/04 18:04:22 jmmv Exp $
+@comment $NetBSD: PLIST.pre,v 1.3 2003/05/06 16:26:27 jmmv Exp $
Acrobat5/Browsers/netscape
Acrobat5/Browsers/${PLATFORM}/nppdf.so
Acrobat5/Reader/AcroVersion
@@ -50,5 +50,6 @@ 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