summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2003-05-06 16:26:27 +0000
committerjmmv <jmmv@pkgsrc.org>2003-05-06 16:26:27 +0000
commitc00269c6226c2ae97be800cd21a781cc821f5013 (patch)
tree7d05157b81d6313c98bbaf7bda4b850f9a92e6ad /print
parentafe3e83cd7f78c9f764bd44dd06c34f94a792324 (diff)
downloadpkgsrc-c00269c6226c2ae97be800cd21a781cc821f5013.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