summaryrefslogtreecommitdiff
path: root/audio/snd/Makefile
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1998-05-19 11:33:09 +0000
committeragc <agc@pkgsrc.org>1998-05-19 11:33:09 +0000
commit0b522512029e9a734d74c08fc68dfdb409884cf5 (patch)
tree20645560abc1e58a622cef261112a394581263f3 /audio/snd/Makefile
parent6630abd153c61b6a643df62b39374627af2c594e (diff)
downloadpkgsrc-0b522512029e9a734d74c08fc68dfdb409884cf5.tar.gz
Rather than using sed to patch the makefile.netbsd file for @X11BASE@
and @LOCALBASE@ values, use the X11BASE and LOCALBASE values that are passed through the environment.
Diffstat (limited to 'audio/snd/Makefile')
-rw-r--r--audio/snd/Makefile13
1 files changed, 3 insertions, 10 deletions
diff --git a/audio/snd/Makefile b/audio/snd/Makefile
index fe1d1f15e95..fb3d2943267 100644
--- a/audio/snd/Makefile
+++ b/audio/snd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 1998/05/11 11:34:05 frueauf Exp $
+# $NetBSD: Makefile,v 1.10 1998/05/19 11:33:10 agc Exp $
#
DISTNAME= snd
@@ -11,18 +11,11 @@ MAINTAINER= hubertf@netbsd.org
DEPENDS+= xpm-3.4j:../../graphics/xpm
-USE_X11= YES
-REQUIRES_MOTIF= YES
+USE_X11= yes
+REQUIRES_MOTIF= yes
MAKEFILE= makefile.netbsd
ALL_TARGET= snd
-post-patch:
- ${MV} ${WRKSRC}/makefile.netbsd ${WRKSRC}/makefile.netbsd.bak
- ${CAT} ${WRKSRC}/makefile.netbsd.bak | \
- ${SED} s/@LOCALBASE@/${LOCALBASE:S/\//\\\\\//g}/g | \
- ${SED} s/@X11BASE@/${X11BASE:S/\//\\\\\//g}/g \
- > ${WRKSRC}/makefile.netbsd
-
do-install:
cd ${WRKSRC} ; ${INSTALL_PROGRAM} snd ${PREFIX}/bin
cd ${WRKSRC} ; ${INSTALL_DATA} Snd.ad ${PREFIX}/lib/X11/app-defaults/Snd