diff options
author | joerg <joerg@pkgsrc.org> | 2006-01-08 05:07:05 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-01-08 05:07:05 +0000 |
commit | b410304a01a88a6fe263fcd6aa4b7838a7e18b7b (patch) | |
tree | be401eb1c6a70fd0cece4a1c50f9a85688c90ba4 /net | |
parent | 29e663c2137198a3fd0bcec66f63f9e453e04126 (diff) | |
download | pkgsrc-b410304a01a88a6fe263fcd6aa4b7838a7e18b7b.tar.gz |
Use SUBST framework.
Diffstat (limited to 'net')
-rw-r--r-- | net/vsftpd/Makefile | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/net/vsftpd/Makefile b/net/vsftpd/Makefile index 4afc077a9e3..d674f07e764 100644 --- a/net/vsftpd/Makefile +++ b/net/vsftpd/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2005/12/29 06:22:04 jlam Exp $ +# $NetBSD: Makefile,v 1.18 2006/01/08 05:07:05 joerg Exp $ # DISTNAME= vsftpd-1.2.2 @@ -38,12 +38,10 @@ BUILD_DEFS+= USE_INET6 .include "../../security/tcp_wrappers/buildlink3.mk" -post-patch: - @cd ${WRKSRC} && \ - for f in vsftpd.8 vsftpd.conf.5 vsftpd.conf; do \ - ${MV} $${f} $${f}.orig; \ - ${SED} ${FILES_SUBST_SED} $${f}.orig > $${f}; \ - done +SUBST_CLASSES+= paths +SUBST_FILES.paths= vsftpd.8 vsftpd.conf.5 vsftpd.conf +SUBST_SED.paths+= -e 's,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR},g' +SUBST_STAGE.paths= post-patch do-install: ${INSTALL_PROGRAM} ${WRKSRC}/vsftpd ${PREFIX}/libexec |