aboutsummaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2006-05-05 15:35:02 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2006-05-05 15:35:02 +0000
commitc133b84b484754d5d4d6d53d8d6cf68c65432b9e (patch)
treef669cdbfd8f50aaf1da729692aae9e3431c1396b /chinese
parent2a27361ee9652f8fb8fcdad5d5dd96dc3f3370d0 (diff)
downloadports-c133b84b484754d5d4d6d53d8d6cf68c65432b9e.tar.gz
ports-c133b84b484754d5d4d6d53d8d6cf68c65432b9e.zip
Notes
Diffstat (limited to 'chinese')
-rw-r--r--chinese/zhcon/Makefile10
-rw-r--r--chinese/zhcon/files/pkg-message.in8
2 files changed, 16 insertions, 2 deletions
diff --git a/chinese/zhcon/Makefile b/chinese/zhcon/Makefile
index b045460db4dc..d3f1d814070b 100644
--- a/chinese/zhcon/Makefile
+++ b/chinese/zhcon/Makefile
@@ -7,12 +7,12 @@
PORTNAME= zhcon
PORTVERSION= 0.2.3
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= chinese
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= chinsan.tw@gmail.com
COMMENT= A fast Console Chinese System which supports framebuffer device
GNU_CONFIGURE= yes
@@ -21,11 +21,17 @@ ONLY_FOR_ARCHS= i386
# Don't bother to add ".if !defined(WITHOUT_NLS)", zhcon requires libintl
USE_GETTEXT= yes
+PKGMESSAGE= ${WRKDIR}/pkg-message
+SUB_FILES= pkg-message
MAN1= zhcon.1
post-patch:
@${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' \
-e '/_nl_expand_alias/s,\(0\),\(\),g' ${WRKSRC}/${CONFIGURE_SCRIPT}
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
.include <bsd.port.mk>
diff --git a/chinese/zhcon/files/pkg-message.in b/chinese/zhcon/files/pkg-message.in
new file mode 100644
index 000000000000..c49435d7e176
--- /dev/null
+++ b/chinese/zhcon/files/pkg-message.in
@@ -0,0 +1,8 @@
+**************************************************************************
+
+ You need to add the following two line into your kernel config:
+
+ options SC_PIXEL_MODE
+ options VESA # this line can be replaced by 'kldload vesa'
+
+**************************************************************************