pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/abcde Converted to using the SUBST framework.
details: https://anonhg.NetBSD.org/pkgsrc/rev/5f9f78caf529
branches: trunk
changeset: 512072:5f9f78caf529
user: rillig <rillig%pkgsrc.org@localhost>
date: Sun Apr 30 21:14:46 2006 +0000
description:
Converted to using the SUBST framework.
diffstat:
audio/abcde/Makefile | 13 ++++++-------
1 files changed, 6 insertions(+), 7 deletions(-)
diffs (27 lines):
diff -r 0cccced2ad43 -r 5f9f78caf529 audio/abcde/Makefile
--- a/audio/abcde/Makefile Sun Apr 30 20:42:18 2006 +0000
+++ b/audio/abcde/Makefile Sun Apr 30 21:14:46 2006 +0000
@@ -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 @@
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
Home |
Main Index |
Thread Index |
Old Index