diff options
author | rillig <rillig@pkgsrc.org> | 2006-05-22 08:19:06 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-05-22 08:19:06 +0000 |
commit | 668f9e9acc444105af263c2894fa0a18de85ca15 (patch) | |
tree | dcbe1b847be5874c5ce15a3f9c08d67b5477da92 /print | |
parent | 732781c1b8bade4558752ef72f8ba0cf8b6879b2 (diff) | |
download | pkgsrc-668f9e9acc444105af263c2894fa0a18de85ca15.tar.gz |
Fixed some pkglint warnings.
Diffstat (limited to 'print')
-rw-r--r-- | print/acroread3/Makefile | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/print/acroread3/Makefile b/print/acroread3/Makefile index 106ea90d3d9..fd7235b4cc4 100644 --- a/print/acroread3/Makefile +++ b/print/acroread3/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.33 2006/04/22 09:22:13 rillig Exp $ +# $NetBSD: Makefile,v 1.34 2006/05/22 08:19:06 rillig Exp $ PKGNAME= acroread3-3.01 PKGREVISION= 2 @@ -22,31 +22,31 @@ NO_BUILD= YES .include "../../mk/bsd.prefs.mk" .if ${OPSYS} == "NetBSD" || ${OPSYS} == "DragonFly" -.if (${MACHINE_ARCH} == "i386") +. if (${MACHINE_ARCH} == "i386") SUSE_PREFER= 7.3 # Does not work with 9.1 DEPENDS+= suse_libc5>=6.3:../../emulators/${SUSE_DIR_PREFIX}_libc5 DEPENDS+= suse_x11>=6.3:../../emulators/${SUSE_DIR_PREFIX}_x11 DISTNAME= acroread_linux_301 PLATFORM= intellinux CHECK_SHLIBS= no -.elif (${MACHINE_ARCH} == "alpha") -.if !exists(/emul/osf1/sbin/loader) +. elif (${MACHINE_ARCH} == "alpha") +. if !exists(/emul/osf1/sbin/loader) PKG_FAIL_REASON+= "${PKGNAME} requires Digital UNIX libraries - see compat_osf1(8)" -.endif +. endif DISTNAME= acroread_osf_301 PLATFORM= alphaosf LDD?= ${TRUE} -.elif (${MACHINE_ARCH} == "sparc") -.if !exists(/emul/sunos/usr/lib/ld.so) +. elif (${MACHINE_ARCH} == "sparc") +. if !exists(/emul/sunos/usr/lib/ld.so) PKG_FAIL_REASON+= "${PKGNAME} requires SunOS libraries - see compat_sunos(8)" -.endif +. endif DISTNAME= acroread_sunos_301 PLATFORM= sparcsun LDD?= ${TRUE} -.else +. else DISTNAME= ${PKGNAME} LDD?= ${TRUE} -.endif +. endif ONLY_FOR_PLATFORM= *-*-i386 *-*-sparc # *-*-alpha .elif ${OPSYS} == "SunOS" DISTNAME= acroread_solaris_301 @@ -67,15 +67,15 @@ pre-install: # ${SED} -e 's|@PLATFORM@|${PLATFORM}|g' ${PKGDIR}/PLIST > ${PLIST_SRC} do-install: - @${INSTALL_DATA_DIR} ${PREFIX}/Acrobat3 - @${ECHO} accept | PAGER=${CAT} ReadInstallDir=${PREFIX}/Acrobat3 ${WRKSRC}/INSTALL + ${INSTALL_DATA_DIR} ${PREFIX}/Acrobat3 + ${ECHO} accept | PAGER=${CAT:Q} ReadInstallDir=${PREFIX}/Acrobat3 ${WRKSRC}/INSTALL post-install: - @cd ${PREFIX}/Acrobat3/bin && \ + cd ${PREFIX}/Acrobat3/bin && \ ${PATCH} ${_PATCH_BACKUP_ARG} .orig --quiet < ${FILESDIR}/acroread.diff && \ ${INSTALL_SCRIPT} ${PREFIX}/Acrobat3/bin/acroread \ ${PREFIX}/bin/acroread3 && ${RM} acroread.orig - @${CHMOD} +x ${PREFIX}/bin/acroread3 + ${CHMOD} +x ${PREFIX}/bin/acroread3 @${ECHO_MSG} "Be sure to read the license agreement in" @${ECHO_MSG} "${PREFIX}/Acrobat3/Reader/License.pdf" |