diff options
author | joerg <joerg@pkgsrc.org> | 2006-01-09 23:39:09 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-01-09 23:39:09 +0000 |
commit | d42fba187db434bed1b50a4586b9bcff42ee15d7 (patch) | |
tree | 9f7262e6c8bb4c403f39a3002967ba91a32338d9 /net | |
parent | 3e2353291b6e91493c64c8b53bb319b3f1053c1c (diff) | |
download | pkgsrc-d42fba187db434bed1b50a4586b9bcff42ee15d7.tar.gz |
Use SUBST framework.
Diffstat (limited to 'net')
-rw-r--r-- | net/rinetd/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/net/rinetd/Makefile b/net/rinetd/Makefile index 6f244f9fd9d..8d5a3807cba 100644 --- a/net/rinetd/Makefile +++ b/net/rinetd/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2005/12/29 06:22:02 jlam Exp $ +# $NetBSD: Makefile,v 1.10 2006/01/09 23:39:09 joerg Exp $ # DISTNAME= rinetd @@ -19,12 +19,13 @@ CPPFLAGS+= -DRINETD_CONF="\"${PKG_SYSCONFDIR}/rinetd.conf\"" RCD_SCRIPTS= rinetd +SUBST_CLASSES+= paths +SUBST_FILES.paths= rinetd.8 +SUBST_SED.paths+= -e 's,@PREFIX@,${PREFIX},g' +SUBST_SED.paths+= -e 's,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR},g' +SUBST_STAGE.paths= post-patch + post-extract: @cd ${WRKDIR} && ${MV} -f rinetd ${PKGNAME_NOREV} -pre-build: - @${MV} -f ${WRKSRC}/rinetd.8 ${WRKSRC}/rinetd.8.pre - @${SED} ${FILES_SUBST_SED} ${WRKSRC}/rinetd.8.pre \ - > ${WRKSRC}/rinetd.8 - .include "../../mk/bsd.pkg.mk" |