diff options
author | rillig <rillig@pkgsrc.org> | 2005-05-23 06:56:53 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2005-05-23 06:56:53 +0000 |
commit | 47e2c2a025d201e8bde9c3947041e15077c46919 (patch) | |
tree | cf0a5b4e7e2e28a0efb1c5ed223f65343825aa61 /archivers | |
parent | 7b3ceac6de8eec7160fcc764330188350a595997 (diff) | |
download | pkgsrc-47e2c2a025d201e8bde9c3947041e15077c46919.tar.gz |
Replaced explicit sed(1) replacement with the subst.mk framework.
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/freeze/Makefile | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/archivers/freeze/Makefile b/archivers/freeze/Makefile index 46ee6a8c952..0e809f6f3d9 100644 --- a/archivers/freeze/Makefile +++ b/archivers/freeze/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2005/04/11 21:44:48 tv Exp $ +# $NetBSD: Makefile,v 1.18 2005/05/23 06:56:53 rillig Exp $ DISTNAME= freeze-2.5 PKGREVISION= 2 @@ -18,11 +18,9 @@ CFLAGS+= -DCOMPAT=1 INSTALLATION_DIRS= bin man/man1 -post-patch: - cd ${WRKSRC}; for file in *.1; do \ - ${SED} -e "s|@PREFIX@|${PREFIX}|g" \ - $${file} > $${file}.fixed; \ - ${MV} -f $${file}.fixed $${file}; \ - done +SUBST_CLASSES+= freeze +SUBST_STAGE.freeze= post-patch +SUBST_FILES.freeze= *.1 +SUBST_SED.freeze= -e 's|@PREFIX@|${PREFIX}|g' .include "../../mk/bsd.pkg.mk" |