summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrillig <rillig>2006-06-18 00:56:11 +0000
committerrillig <rillig>2006-06-18 00:56:11 +0000
commit36495d6370b599d520bc46412ae55dc6e9574082 (patch)
treee13eeb8a7439f79e307193d4ffb225a4adf66015
parent6d623c10fb900a6324b7ede6b773f3b93798ed13 (diff)
downloadpkgsrc-36495d6370b599d520bc46412ae55dc6e9574082.tar.gz
Fixed pkglint warnings regarding the SUBST block.
-rw-r--r--devel/elfsh/Makefile8
-rw-r--r--graphics/aview/Makefile8
2 files changed, 9 insertions, 7 deletions
diff --git a/devel/elfsh/Makefile b/devel/elfsh/Makefile
index a744d8b6f04..de9819fca24 100644
--- a/devel/elfsh/Makefile
+++ b/devel/elfsh/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2006/03/04 21:29:14 jlam Exp $
+# $NetBSD: Makefile,v 1.16 2006/06/18 00:56:11 rillig Exp $
#
VERS= 0.51b3
@@ -17,10 +17,12 @@ WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
USE_GNU_READLINE= yes
+SUBST_CLASSES+= elfsh
SUBST_STAGE.elfsh= post-patch
+SUBST_MESSAGE.elfsh= Filling placeholders.
SUBST_FILES.elfsh= vm/include/elfsh.h
-SUBST_SED.elfsh= -e s,@@SH@@,${SH}, -e s,@@PREFIX@@,${PREFIX},
-SUBST_CLASSES+= elfsh
+SUBST_SED.elfsh= -e s,@@SH@@,${SH},
+SUBST_SED.elfsh+= -e s,@@PREFIX@@,${PREFIX},
# XXX This package should be converted to use libtool
diff --git a/graphics/aview/Makefile b/graphics/aview/Makefile
index e37db808fce..134e29d0cdd 100644
--- a/graphics/aview/Makefile
+++ b/graphics/aview/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2006/04/17 13:46:30 wiz Exp $
+# $NetBSD: Makefile,v 1.20 2006/06/18 00:59:17 rillig Exp $
#
DISTNAME= aview-1.3.0rc1
@@ -22,9 +22,9 @@ USE_LIBTOOL= yes
.include "../../mk/bsd.prefs.mk"
SUBST_CLASSES+= programs
-SUBST_FILES.programs= Makefile.in
SUBST_STAGE.programs= post-patch
-
+SUBST_MESSAGE.programs= Filling @placeholders@.
+SUBST_FILES.programs= Makefile.in
.if (${MACHINE_ARCH} == "i386")
SUBST_SED.programs+= -e 's,@BIN_PROGRAMS@,aview aaflip,g'
.else
@@ -37,7 +37,7 @@ REPLACE.bash.new= ${SH}
REPLACE_FILES.bash= asciiview
post-install:
- @${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
+ ${CAT} ${PKGDIR}/PLIST > ${PLIST_SRC}
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/aview/
${INSTALL_DATA} ${WRKSRC}/AUTHORS ${PREFIX}/share/doc/aview/
${INSTALL_DATA} ${WRKSRC}/COPYING ${PREFIX}/share/doc/aview/