summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-01-04 17:31:28 +0000
committerjoerg <joerg@pkgsrc.org>2006-01-04 17:31:28 +0000
commit9b7dac237d33d02fdb95872cbf7fc2806b805729 (patch)
tree4e448e684df971d4b8db8dcd30c2e9e46fcf29ed
parent7f1244e58cb0c7ea562a022a8f4d55967b9f3bea (diff)
downloadpkgsrc-9b7dac237d33d02fdb95872cbf7fc2806b805729.tar.gz
Replace use of FILES_SUBST_SED with explicit SUBST framework use.
-rw-r--r--audio/juke/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/audio/juke/Makefile b/audio/juke/Makefile
index fe40251e7bd..9e12cc56dc8 100644
--- a/audio/juke/Makefile
+++ b/audio/juke/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2005/12/29 06:21:31 jlam Exp $
+# $NetBSD: Makefile,v 1.11 2006/01/04 17:31:28 joerg Exp $
#
DISTNAME= juke-0.7
@@ -19,12 +19,10 @@ EGDIR= ${PREFIX}/share/examples/juke
CONF_FILES= ${EGDIR}/juke.conf.default ${PKG_SYSCONFDIR}/juke.conf
-post-configure:
- @cd ${WRKSRC} && \
- for f in MANUAL doc/juke.1 src/conf.c; do \
- ${MV} $$f $$f.orig; \
- ${SED} ${FILES_SUBST_SED} $$f.orig > $$f; \
- done
+SUBST_CLASSES+= paths
+SUBST_FILES.paths= doc/juke.1 MANUAL src/conf.c
+SUBST_STAGE.paths= post-patch
+SUBST_SED.paths= -e 's,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR},'
post-install:
${INSTALL_DATA_DIR} ${EGDIR}