aboutsummaryrefslogtreecommitdiff
path: root/www/wb0
diff options
context:
space:
mode:
authorTrevor Johnson <trevor@FreeBSD.org>2004-02-17 07:36:03 +0000
committerTrevor Johnson <trevor@FreeBSD.org>2004-02-17 07:36:03 +0000
commit6b34b2018e17c4babe679e67d431415f69e3a131 (patch)
tree931b4e6dd0b88eb7e87520c67ee0842b81662ca3 /www/wb0
parente9c7841e3ab15d199af0b5a9de0cb23a237c3f1e (diff)
downloadports-6b34b2018e17c4babe679e67d431415f69e3a131.tar.gz
ports-6b34b2018e17c4babe679e67d431415f69e3a131.zip
Notes
Diffstat (limited to 'www/wb0')
-rw-r--r--www/wb0/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/www/wb0/Makefile b/www/wb0/Makefile
index 21caca9ec901..c7cf60c503b2 100644
--- a/www/wb0/Makefile
+++ b/www/wb0/Makefile
@@ -24,12 +24,12 @@ DOCDIR= share/doc/${PORTNAME}
DOCS= AUTHORS Changelog README
ONLY_FOR_ARCHS= i386
PLIST= ${WRKDIR}/pkg-plist
-USE_REINPLACE= yes
post-patch:
- ${REINPLACE_CMD} -e 's|/etc/wb0|${LOCALBASE}/etc|g ; \
+ @${MV} ${WRKSRC}/wb0.c ${WRKSRC}/wb0.c.orig
+ @${SED} -e 's|/etc/wb0|${LOCALBASE}/etc|g ; \
s|/usr/local/src/wb0/font/bit|${LOCALBASE}/share/wb0/|g' \
- ${WRKSRC}/wb0.c
+ < ${WRKSRC}/wb0.c.orig > ${WRKSRC}/wb0.c
pre-install:
${ECHO_CMD} bin/wb0 > ${PLIST}