summaryrefslogtreecommitdiff
path: root/archivers/freeze
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/freeze')
-rw-r--r--archivers/freeze/Makefile12
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"