summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-04-30 21:26:54 +0000
committerrillig <rillig@pkgsrc.org>2006-04-30 21:26:54 +0000
commit1df68ec8fdf4cfd595a544a58b6c8d01a7d7eec7 (patch)
treeb7b94a8fd18bcdf40c7e0c97c5f6ef6d989ca691 /audio
parent759c8178b7767674ef0c5cf4ed1f4676b5bcb082 (diff)
downloadpkgsrc-1df68ec8fdf4cfd595a544a58b6c8d01a7d7eec7.tar.gz
Converted to the SUBST framework.
Diffstat (limited to 'audio')
-rw-r--r--audio/icecast1/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/audio/icecast1/Makefile b/audio/icecast1/Makefile
index 7b654b5c760..61e6f4ea0df 100644
--- a/audio/icecast1/Makefile
+++ b/audio/icecast1/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2006/03/04 21:28:56 jlam Exp $
+# $NetBSD: Makefile,v 1.20 2006/04/30 21:26:54 rillig Exp $
#
DISTNAME= icecast-1.3.12
@@ -40,12 +40,12 @@ ICECAST_CHUNKLEN?= 64
BUILD_DEFS+= ICECAST_SOURCE_BUFFSIZE
BUILD_DEFS+= ICECAST_CHUNKLEN
-pre-configure:
- @${MV} ${WRKSRC}/src/icetypes.h ${WRKSRC}/src/icetypes.h.bak
- @${SED} \
- -e 's/@SOURCE_BUFFSIZE@/${ICECAST_SOURCE_BUFFSIZE}/' \
- -e 's/@CHUNKLEN@/${ICECAST_CHUNKLEN}/' \
- ${WRKSRC}/src/icetypes.h.bak > ${WRKSRC}/src/icetypes.h
+SUBST_CLASSES+= ice
+SUBST_STAGE.ice= pre-configure
+SUBST_MESSAGE.ice= Configuring in src/icetypes.h
+SUBST_FILES.ice= src/icetypes.h
+SUBST_SED.ice= -e 's/@SOURCE_BUFFSIZE@/${ICECAST_SOURCE_BUFFSIZE}/'
+SUBST_SED.ice+= -e 's/@CHUNKLEN@/${ICECAST_CHUNKLEN}/'
.include "../../devel/readline/buildlink3.mk"
.include "../../lang/python/application.mk"