aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/zhcon/Makefile
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2006-06-08 15:43:24 +0800
committerclsung <clsung@FreeBSD.org>2006-06-08 15:43:24 +0800
commitf8dafac42cb4869c3a04eed13e621551465bca3a (patch)
tree4a548ca0a166f10a1a8adfb6c26857b37974ee52 /chinese/zhcon/Makefile
parent20c8af5dff92193b12f7ab4dd18551b25f16364b (diff)
downloadfreebsd-ports-gnome-f8dafac42cb4869c3a04eed13e621551465bca3a.tar.gz
freebsd-ports-gnome-f8dafac42cb4869c3a04eed13e621551465bca3a.tar.zst
freebsd-ports-gnome-f8dafac42cb4869c3a04eed13e621551465bca3a.zip
- Fix doc bug
- Make portlint more happy PR: ports/98125 Submitted by: maintainer (chinsan)
Diffstat (limited to 'chinese/zhcon/Makefile')
-rw-r--r--chinese/zhcon/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/chinese/zhcon/Makefile b/chinese/zhcon/Makefile
index d3f1d814070b..94e3fab52751 100644
--- a/chinese/zhcon/Makefile
+++ b/chinese/zhcon/Makefile
@@ -7,7 +7,7 @@
PORTNAME= zhcon
PORTVERSION= 0.2.3
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= chinese
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -26,6 +26,7 @@ SUB_FILES= pkg-message
MAN1= zhcon.1
post-patch:
+ @${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|' ${WRKSRC}/doc/zhcon.1.in
@${REINPLACE_CMD} -Ee 's,/dev/vga,/dev/ttyv0,g' ${WRKSRC}/src/display/fbdev.cpp
@${REINPLACE_CMD} -e '5 s|#||;' ${WRKSRC}/src/zhcon.conf
@${REINPLACE_CMD} -Ee 's,(\s*=\s*)("?)/usr/local([^"]*)("?),\1\2${PREFIX}\3\4,g' \