summaryrefslogtreecommitdiff
path: root/net/crescendo
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2002-06-21 16:55:26 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2002-06-21 16:55:26 +0000
commit54bccbb5b1cf5a4db0b575a6a86658392d453974 (patch)
tree516f1e546b6d0c2e1930a89f22f0c60b145f09c7 /net/crescendo
parentUpdate to 1.0 (this also unbreaks the port as 0.7 appears to have been (diff)
Drop PERL for SED
Notes
Notes: svn path=/head/; revision=61689
Diffstat (limited to 'net/crescendo')
-rw-r--r--net/crescendo/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/net/crescendo/Makefile b/net/crescendo/Makefile
index 010232eb3152..0b44a4963bb2 100644
--- a/net/crescendo/Makefile
+++ b/net/crescendo/Makefile
@@ -25,11 +25,15 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
CFLAGS+= -g
PLIST_SUB= DOCDIR=share/doc/${PORTNAME}
+MODIFY= Makefile.in data/Makefile.in
pre-patch:
- @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
- 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
- s|\$\(prefix\)/share/|\$\(datadir\)/|g'
+.for i in ${MODIFY}
+ @${MV} ${WRKSRC}/${i} ${WRKSRC}/${i}.sed
+ ${SED} -e 's=$$(datadir)/gnome/=$$(datadir)/=g' \
+ -e 's=$$(prefix)/share/=$$(datadir)/=g' \
+ ${WRKSRC}/${i}.sed > ${WRKSRC}/${i}
+.endfor
post-install:
.if !defined(NOPORTDOCS)