summaryrefslogtreecommitdiff
path: root/audio/abcde
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-04-30 21:14:46 +0000
committerrillig <rillig@pkgsrc.org>2006-04-30 21:14:46 +0000
commit759c8178b7767674ef0c5cf4ed1f4676b5bcb082 (patch)
treeaf02e3e620e5f274051f99fcca93df97738776f1 /audio/abcde
parentc304f796dad405d3a9fdcb9159dda1c15789062a (diff)
downloadpkgsrc-759c8178b7767674ef0c5cf4ed1f4676b5bcb082.tar.gz
Converted to using the SUBST framework.
Diffstat (limited to 'audio/abcde')
-rw-r--r--audio/abcde/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/audio/abcde/Makefile b/audio/abcde/Makefile
index 54d4e29424f..508a41c3caf 100644
--- a/audio/abcde/Makefile
+++ b/audio/abcde/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.37 2006/02/05 23:08:05 joerg Exp $
+# $NetBSD: Makefile,v 1.38 2006/04/30 21:14:46 rillig Exp $
DISTNAME= abcde_2.3.3.orig
PKGNAME= ${DISTNAME:S/_/-/:S/.orig//}
@@ -26,12 +26,11 @@ MESSAGE_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR}
INSTALLATION_DIRS= bin man/man1
-pre-configure:
- @cd ${WRKSRC} && for f in abcde; do \
- ${SED} "s,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR}," \
- $$f > $$f.tmp && \
- ${MV} $$f.tmp $$f; \
- done
+SUBST_CLASSES+= abcde
+SUBST_STAGE.abcde= pre-configure
+SUBST_MESSAGE.abcde= Adjusting the directory for configuration files
+SUBST_FILES.abcde= abcde
+SUBST_SED.abcde= -e "s,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR},"
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/abcde ${PREFIX}/bin