diff options
author | joerg <joerg@pkgsrc.org> | 2006-01-19 01:51:48 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-01-19 01:51:48 +0000 |
commit | 369d0ee259a753e24a18015fac786056d12f2e6f (patch) | |
tree | cda5358a2e19c76b5f835d36ed3f573432fc5e83 /net/ipa/Makefile | |
parent | b6e0fa4f68f0cb581d3e745a06297a8c55e6d42d (diff) | |
download | pkgsrc-369d0ee259a753e24a18015fac786056d12f2e6f.tar.gz |
Use SUBST framework instead of FILES_SUBST_SED.
Diffstat (limited to 'net/ipa/Makefile')
-rw-r--r-- | net/ipa/Makefile | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/net/ipa/Makefile b/net/ipa/Makefile index 259794a85f2..964f5b66eaa 100644 --- a/net/ipa/Makefile +++ b/net/ipa/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.22 2005/12/29 06:21:59 jlam Exp $ +# $NetBSD: Makefile,v 1.23 2006/01/19 01:51:48 joerg Exp $ # DISTNAME= ipa-1.3.6 @@ -39,12 +39,11 @@ RCD_SCRIPT_SRC.ipa= ${FILESDIR}/ipa.sh RCD_SCRIPT_SRC.ipa= ${FILESDIR}/ipa.generic .endif -post-patch: - @cd ${WRKSRC}/man && \ - for f in ipa.5 ipa.8 ipa.conf.5 ipastat.8; do \ - ${MV} $${f} $${f}.orig; \ - ${SED} ${FILES_SUBST_SED} $${f}.orig > $${f}; \ - done +SUBST_CLASSES+= paths +SUBST_FILES.paths= man/ipa.5 man/ipa.8 man/ipa.conf.5 man/ipastat.8 +SUBST_SED.paths+= -e 's,@PREFIX@,${PREFIX},g' +SUBST_SED.paths+= -e 's,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR},g' +SUBST_STAGE.paths= post-patch pre-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ipa |