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@.
This commit is contained in:
parent
afe3e83cd7
commit
c00269c622
2 changed files with 5 additions and 3 deletions
|
@ -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}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue