diff options
author | rillig <rillig@pkgsrc.org> | 2006-04-30 21:14:46 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-04-30 21:14:46 +0000 |
commit | 759c8178b7767674ef0c5cf4ed1f4676b5bcb082 (patch) | |
tree | af02e3e620e5f274051f99fcca93df97738776f1 /audio/abcde | |
parent | c304f796dad405d3a9fdcb9159dda1c15789062a (diff) | |
download | pkgsrc-759c8178b7767674ef0c5cf4ed1f4676b5bcb082.tar.gz |
Converted to using the SUBST framework.
Diffstat (limited to 'audio/abcde')
-rw-r--r-- | audio/abcde/Makefile | 13 |
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 |