summaryrefslogtreecommitdiff
path: root/mbone/sdr/Makefile
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2003-07-03 14:40:49 +0000
committeragc <agc@pkgsrc.org>2003-07-03 14:40:49 +0000
commitf360ed28a3f0de3c8f18fcf9cdf684a42393265f (patch)
tree60f405ba1b830f3537b4b6fde56ac2bbd2c4146a /mbone/sdr/Makefile
parentb0a3a4277fd9118a1689ada3c5a1f4af8cac3eaf (diff)
downloadpkgsrc-f360ed28a3f0de3c8f18fcf9cdf684a42393265f.tar.gz
Avoid hardcoding /usr/pkg in this package, pointed out by Julio Merino
Diffstat (limited to 'mbone/sdr/Makefile')
-rw-r--r--mbone/sdr/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/mbone/sdr/Makefile b/mbone/sdr/Makefile
index ae4b3ccaf94..e1fd4c3f9ff 100644
--- a/mbone/sdr/Makefile
+++ b/mbone/sdr/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.35 2003/03/29 12:41:47 jmmv Exp $
+# $NetBSD: Makefile,v 1.36 2003/07/03 14:40:49 agc Exp $
#
DISTNAME= sdr-3.0
@@ -35,6 +35,11 @@ SYSDIR= freebsd
USE_GMAKE= yes
+post-patch:
+ ${MV} ${WRKSRC}/../src/sdr.tcl ${WRKSRC}/../src/sdr.tcl.in && \
+ ${SED} -e 's|@PREFIX@|${PREFIX}|' ${WRKSRC}/../src/sdr.tcl.in > \
+ ${WRKSRC}/../src/sdr.tcl
+
do-configure:
cd ${WRKSRC} ; ${SH} ./configure
.if ${OPSYS} == "SunOS"