pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_filecheck make use of FILES_SUBST_SED.
details: https://anonhg.NetBSD.org/pkgsrc/rev/7baaf28771f2
branches: trunk
changeset: 464974:7baaf28771f2
user: grant <grant%pkgsrc.org@localhost>
date: Thu Dec 18 14:28:08 2003 +0000
description:
make use of FILES_SUBST_SED.
diffstat:
pkgtools/pkg_filecheck/Makefile | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)
diffs (29 lines):
diff -r 18529e0279c7 -r 7baaf28771f2 pkgtools/pkg_filecheck/Makefile
--- a/pkgtools/pkg_filecheck/Makefile Thu Dec 18 14:24:55 2003 +0000
+++ b/pkgtools/pkg_filecheck/Makefile Thu Dec 18 14:28:08 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2003/12/14 12:27:57 dillo Exp $
+# $NetBSD: Makefile,v 1.7 2003/12/18 14:28:08 grant Exp $
#
DISTNAME= pkg_filecheck-0.1
@@ -19,17 +19,14 @@
NO_CHECKSUM= yes
NO_CONFIGURE= yes
+FILES_SUBST+= X11PREFIX=${X11PREFIX}
CONF_FILES= ${PREFIX}/share/examples/pkg_filecheck/pkg_filecheck.conf \
${PKG_SYSCONFDIR}/pkg_filecheck.conf
do-build:
.for f in builddb.pl builddb.1 pkg_filecheck.conf pkg_filecheck.conf.5 \
pkg_filecheck.c pkg_filecheck.1
- ${SED} -e 's|@PREFIX@|${PREFIX}|g' \
- -e 's|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g' \
- -e 's|@X11PREFIX@|${X11PREFIX}|g' \
- < ${FILESDIR}/${f} \
- > ${WRKSRC}/${f}
+ ${SED} ${FILES_SUBST_SED} ${FILESDIR}/${f} > ${WRKSRC}/${f}
.endfor
cd ${WRKSRC} \
&& ${CC} ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} \
Home |
Main Index |
Thread Index |
Old Index