aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/zhcon
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2005-05-01 12:53:09 +0800
committervanilla <vanilla@FreeBSD.org>2005-05-01 12:53:09 +0800
commitab275041d8e893eb712c9f72f1dbf93c10609156 (patch)
treec68c7a70b91e655d2a3f43d201b5402d2bf0bd24 /chinese/zhcon
parentc364cd18ae313f534127e3e9a3dfa3ae407b5139 (diff)
downloadfreebsd-ports-gnome-ab275041d8e893eb712c9f72f1dbf93c10609156.tar.gz
freebsd-ports-gnome-ab275041d8e893eb712c9f72f1dbf93c10609156.tar.zst
freebsd-ports-gnome-ab275041d8e893eb712c9f72f1dbf93c10609156.zip
1: rename /dev/vga to /dev/ttyv0.
2: bump version. PR: ports/80494 Submitted by: maintainer
Diffstat (limited to 'chinese/zhcon')
-rw-r--r--chinese/zhcon/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/chinese/zhcon/Makefile b/chinese/zhcon/Makefile
index af9ac87a3716..edb63fb1bf74 100644
--- a/chinese/zhcon/Makefile
+++ b/chinese/zhcon/Makefile
@@ -7,7 +7,7 @@
PORTNAME= zhcon
PORTVERSION= 0.2.3
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= chinese
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -32,6 +32,7 @@ PLIST_SUB+= NLS="@comment "
MAN1= zhcon.1
post-patch:
+ @${REINPLACE_CMD} -Ee 's,/dev/vga,/dev/ttyv0,g' ${WRKSRC}/src/display/fbdev.cpp
@${REINPLACE_CMD} -Ee 's,(\s*=\s*)("?)/usr/local([^"]*)("?),\1\2${PREFIX}\3\4,g' \
-e '/_nl_expand_alias/s,\(0\),\(\),g' ${WRKSRC}/${CONFIGURE_SCRIPT}