diff options
author | grant <grant> | 2003-12-18 14:28:08 +0000 |
---|---|---|
committer | grant <grant> | 2003-12-18 14:28:08 +0000 |
commit | dd8e7fc4b56d8d15008aa2e84c8a632b6ecd45be (patch) | |
tree | 8ec965eb9ae786bee56510227b41b1d2611a5613 /pkgtools | |
parent | 49292be503b3d102b26ff498621fe415dd464a61 (diff) | |
download | pkgsrc-dd8e7fc4b56d8d15008aa2e84c8a632b6ecd45be.tar.gz |
make use of FILES_SUBST_SED.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkg_filecheck/Makefile | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/pkgtools/pkg_filecheck/Makefile b/pkgtools/pkg_filecheck/Makefile index fdbfa255963..0d66652c1a3 100644 --- a/pkgtools/pkg_filecheck/Makefile +++ b/pkgtools/pkg_filecheck/Makefile @@ -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 @@ EXTRACT_ONLY= # empty 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} \ |