diff options
author | joerg <joerg@pkgsrc.org> | 2006-01-04 17:31:28 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-01-04 17:31:28 +0000 |
commit | 784649582d4008fd57b09d788dc9dc08e92e623f (patch) | |
tree | 4e448e684df971d4b8db8dcd30c2e9e46fcf29ed /audio/juke | |
parent | c668b4c00bc0c293820aca105363bc2c448122d6 (diff) | |
download | pkgsrc-784649582d4008fd57b09d788dc9dc08e92e623f.tar.gz |
Replace use of FILES_SUBST_SED with explicit SUBST framework use.
Diffstat (limited to 'audio/juke')
-rw-r--r-- | audio/juke/Makefile | 12 |
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} |