head	1.58;
access;
symbols
	RELEASE_8_3_0:1.56
	RELEASE_9_0_0:1.55
	RELEASE_7_4_0:1.53
	RELEASE_8_2_0:1.53
	RELEASE_6_EOL:1.53
	RELEASE_8_1_0:1.53
	RELEASE_7_3_0:1.52
	RELEASE_8_0_0:1.52
	RELEASE_7_2_0:1.50
	RELEASE_7_1_0:1.49
	RELEASE_6_4_0:1.49
	RELEASE_5_EOL:1.47
	RELEASE_7_0_0:1.46
	RELEASE_6_3_0:1.46
	PRE_XORG_7:1.44
	RELEASE_4_EOL:1.44
	RELEASE_6_2_0:1.44
	RELEASE_6_1_0:1.37
	RELEASE_5_5_0:1.37
	RELEASE_6_0_0:1.35
	RELEASE_5_4_0:1.33
	RELEASE_4_11_0:1.30
	RELEASE_5_3_0:1.29
	RELEASE_4_10_0:1.28
	RELEASE_5_2_1:1.26
	RELEASE_5_2_0:1.26
	RELEASE_4_9_0:1.20
	RELEASE_5_1_0:1.18
	RELEASE_4_8_0:1.17
	RELEASE_5_0_0:1.16
	RELEASE_4_7_0:1.13
	RELEASE_4_6_2:1.12
	RELEASE_4_6_1:1.12
	RELEASE_4_6_0:1.12
	RELEASE_5_0_DP1:1.9
	RELEASE_4_5_0:1.6
	RELEASE_4_4_0:1.4;
locks; strict;
comment	@# @;


1.58
date	2012.11.17.05.54.58;	author svnexp;	state Exp;
branches;
next	1.57;

1.57
date	2012.06.29.12.42.01;	author bapt;	state Exp;
branches;
next	1.56;

1.56
date	2012.02.28.15.38.41;	author danfe;	state Exp;
branches;
next	1.55;

1.55
date	2011.09.23.22.21.25;	author amdmi3;	state Exp;
branches;
next	1.54;

1.54
date	2011.04.29.06.05.51;	author kevlo;	state Exp;
branches;
next	1.53;

1.53
date	2010.05.31.01.57.40;	author ade;	state Exp;
branches;
next	1.52;

1.52
date	2009.08.28.17.36.46;	author linimon;	state Exp;
branches;
next	1.51;

1.51
date	2009.08.22.00.15.08;	author amdmi3;	state Exp;
branches;
next	1.50;

1.50
date	2009.02.01.20.22.37;	author chinsan;	state Exp;
branches;
next	1.49;

1.49
date	2008.08.30.11.03.36;	author chinsan;	state Exp;
branches;
next	1.48;

1.48
date	2008.06.06.13.14.38;	author edwin;	state Exp;
branches;
next	1.47;

1.47
date	2008.03.20.09.23.26;	author pav;	state Exp;
branches;
next	1.46;

1.46
date	2007.08.04.11.40.43;	author gabor;	state Exp;
branches;
next	1.45;

1.45
date	2007.06.05.23.33.44;	author rafan;	state Exp;
branches;
next	1.44;

1.44
date	2006.10.03.15.34.32;	author chinsan;	state Exp;
branches;
next	1.43;

1.43
date	2006.08.14.02.10.56;	author clsung;	state Exp;
branches;
next	1.42;

1.42
date	2006.07.19.15.43.33;	author vanilla;	state Exp;
branches;
next	1.41;

1.41
date	2006.06.11.20.24.44;	author itetcu;	state Exp;
branches;
next	1.40;

1.40
date	2006.06.09.17.13.28;	author clsung;	state Exp;
branches;
next	1.39;

1.39
date	2006.06.08.07.43.23;	author clsung;	state Exp;
branches;
next	1.38;

1.38
date	2006.05.05.15.35.01;	author vanilla;	state Exp;
branches;
next	1.37;

1.37
date	2006.02.18.14.55.48;	author leeym;	state Exp;
branches;
next	1.36;

1.36
date	2006.01.22.19.54.26;	author kris;	state Exp;
branches;
next	1.35;

1.35
date	2005.07.25.21.58.10;	author linimon;	state Exp;
branches;
next	1.34;

1.34
date	2005.05.01.04.53.09;	author vanilla;	state Exp;
branches;
next	1.33;

1.33
date	2005.01.25.14.54.41;	author nectar;	state Exp;
branches;
next	1.32;

1.32
date	2005.01.25.13.55.06;	author nectar;	state Exp;
branches;
next	1.31;

1.31
date	2005.01.08.15.50.05;	author sem;	state Exp;
branches;
next	1.30;

1.30
date	2004.10.26.16.37.44;	author leeym;	state Exp;
branches;
next	1.29;

1.29
date	2004.08.05.00.13.49;	author leeym;	state Exp;
branches;
next	1.28;

1.28
date	2004.02.04.04.35.46;	author marcus;	state Exp;
branches;
next	1.27;

1.27
date	2004.01.23.18.11.45;	author trevor;	state Exp;
branches;
next	1.26;

1.26
date	2003.11.21.03.09.44;	author linimon;	state Exp;
branches;
next	1.25;

1.25
date	2003.11.19.22.18.48;	author des;	state Exp;
branches;
next	1.24;

1.24
date	2003.11.07.17.36.28;	author leeym;	state Exp;
branches;
next	1.23;

1.23
date	2003.10.16.04.15.45;	author kris;	state Exp;
branches;
next	1.22;

1.22
date	2003.10.16.01.12.07;	author kris;	state Exp;
branches;
next	1.21;

1.21
date	2003.10.16.01.10.56;	author kris;	state Exp;
branches;
next	1.20;

1.20
date	2003.08.26.20.25.37;	author marcus;	state Exp;
branches;
next	1.19;

1.19
date	2003.08.25.05.41.20;	author marcus;	state Exp;
branches;
next	1.18;

1.18
date	2003.05.02.04.11.38;	author leeym;	state Exp;
branches;
next	1.17;

1.17
date	2003.02.21.11.06.31;	author knu;	state Exp;
branches;
next	1.16;

1.16
date	2002.12.22.12.47.05;	author ijliao;	state Exp;
branches;
next	1.15;

1.15
date	2002.11.28.02.25.03;	author vanilla;	state Exp;
branches;
next	1.14;

1.14
date	2002.11.04.05.46.26;	author edwin;	state Exp;
branches;
next	1.13;

1.13
date	2002.08.01.16.22.04;	author ade;	state Exp;
branches;
next	1.12;

1.12
date	2002.05.10.19.18.41;	author clive;	state Exp;
branches;
next	1.11;

1.11
date	2002.04.12.17.09.28;	author ade;	state Exp;
branches;
next	1.10;

1.10
date	2002.04.09.08.15.36;	author ijliao;	state Exp;
branches;
next	1.9;

1.9
date	2002.03.31.09.47.02;	author clive;	state Exp;
branches;
next	1.8;

1.8
date	2002.03.15.19.43.45;	author ade;	state Exp;
branches;
next	1.7;

1.7
date	2002.03.06.03.29.13;	author clive;	state Exp;
branches;
next	1.6;

1.6
date	2001.10.14.16.08.00;	author vanilla;	state Exp;
branches;
next	1.5;

1.5
date	2001.09.21.14.11.55;	author ijliao;	state Exp;
branches;
next	1.4;

1.4
date	2001.09.11.13.55.35;	author clive;	state Exp;
branches;
next	1.3;

1.3
date	2001.09.11.04.49.46;	author clive;	state Exp;
branches;
next	1.2;

1.2
date	2001.09.09.18.08.16;	author clive;	state Exp;
branches;
next	1.1;

1.1
date	2001.09.08.16.37.52;	author clive;	state Exp;
branches;
next	;


desc
@@


1.58
log
@Switch exporter over
@
text
@# New ports collection makefile for:	Zhcon
# Date created:				Sun Sep 9, 2001
# Whom:			Shen Chuan-Hsing <statue@@freebsd.sinica.edu.tw>
#
# $FreeBSD: head/chinese/zhcon/Makefile 300895 2012-07-14 12:56:14Z beat $
#

PORTNAME=	zhcon
PORTVERSION=	0.2.6
PORTREVISION=	2
CATEGORIES=	chinese
MASTER_SITES=	SF
DISTNAME=	${PORTNAME}-0.2.5

PATCH_SITES=	${MASTER_SITES}
PATCHFILES=	${DISTNAME}-to-${PORTVERSION}.diff.gz
PATCH_DIST_STRIP=	-p1

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	A fast CJK (Chinese/Japanese/Korean) virtual console

LICENSE=	GPLv2

GNU_CONFIGURE=	yes
ONLY_FOR_ARCHS=	i386
USE_ICONV=	yes
# Don't bother to add ".if !defined(WITHOUT_NLS)", zhcon requires libintl
USE_GETTEXT=	yes
CONFIGURE_ARGS=	--with-libintl-prefix=${LOCALBASE}
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib

SUB_FILES=	pkg-message
MAN1=		zhcon.1
PORTDOCS=	*

OPTIONS_DEFINE=	BIG5 DOCS
BIG5_DESC=	Use Big5 by default (Taiwan, Hong Kong, Macau)

.include <bsd.port.options.mk>

post-patch:
	@@${REINPLACE_CMD} -e 's,/etc,${PREFIX}&, ; s,doc/,${DOCSDIR},' \
		${WRKSRC}/doc/zhcon.1.in
	@@${REINPLACE_CMD} -e 's,/dev/vga,/dev/ttyv0,' \
		${WRKSRC}/src/display/fbdev.cpp
	@@${REINPLACE_CMD} -e 's,endian,sys/endian,' \
		${WRKSRC}/src/display/fblinear*.cpp
	@@${REINPLACE_CMD} -e '/zhconpath/s,#,, ; s,/usr/lib,${PREFIX}/lib,' \
		${WRKSRC}/src/zhcon.conf
	@@${REINPLACE_CMD} -e 's,$$enable_debug = ,x&x,' \
		${WRKSRC}/configure
.if ${PORT_OPTIONS:MBIG5}
	@@${REINPLACE_CMD} -e '/defaultencode =/s,gb2312,big5,' \
		${WRKSRC}/src/zhcon.conf
.endif

post-install:
.if ${PORT_OPTIONS:MDOCS}
	@@${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/doc/README.html ${WRKSRC}/doc/bpsf.txt \
		${WRKSRC}/doc/poem.* ${WRKSRC}/ChangeLog ${WRKSRC}/NEWS \
		${WRKSRC}/README ${WRKSRC}/README.utf8 ${WRKSRC}/THANKS \
		${WRKSRC}/TODO ${DOCSDIR}
	${TAR} xf ${WRKSRC}/doc/html.tar.gz -C ${DOCSDIR}
.endif
	@@${ECHO_MSG}
	@@${CAT} ${PKGMESSAGE}
	@@${ECHO_MSG}

.include <bsd.port.mk>
@


1.57
log
@Convert to new option framework
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.56
log
@Overhaul the port before I attempt to make it more usable on modern FreeBSD:

- Switch to official "previous version distfile + patch" scheme instead of
  using our apparently hand-rolled distfile; it is also in line with what
  most GNU/Linux folks do
- Remove superfluous assignment of PKGMESSAGE, it's done automagically
- Cleanup sed(1) expressions in REINPLACE_CMDs, prefer contextual addresses
  to hardcoded line numbers, remove useless global modifiers, etc.
- Pad pkg-message text display in post-install with blank lines to bring port
  behavior in line with that of package
- Utilize OPTIONS, define LICENSE (GPLv2), adjust COMMENT
- Remove unneeded patches, add a patch which brings manpage fixes
- Install extra documentation
- Generally cleanup Makefile while I am here
@
text
@d37 2
a38 1
OPTIONS=	BIG5	"Use Big5 by default (Taiwan, Hong Kong, Macau)" off
d53 1
a53 1
.if defined(WITH_BIG5)
d59 1
a59 1
.if !defined(NOPORTDOCS)
@


1.55
log
@- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
@
text
@d1 3
a3 3
# Ports collection makefile for:  zhcon
# Date created:                   Sun Sep 9, 2001
# Whom:                           statue@@freebsd.sinica.edu.tw
d12 6
a17 1
MASTER_SITES=	LOCAL/chinsan/chinese
d20 1
a20 1
COMMENT=	A fast Console Chinese System which supports framebuffer device
d22 1
a22 1
PORTSCOUT=	limit:^0\.2.[0-9]*
a32 1
PKGMESSAGE=	${WRKDIR}/pkg-message
d35 5
d42 10
a51 8
	@@${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} -Ee 's,endian,sys/endian,g' ${WRKSRC}/src/display/fblinear4.cpp \
		${WRKSRC}/src/display/fblinear8.cpp ${WRKSRC}/src/display/fblinear16.cpp \
		${WRKSRC}/src/display/fblinear24.cpp
	@@${REINPLACE_CMD} -e '5 s,#,,; s,/usr/lib,${PREFIX}/lib,' ${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}
d53 2
a54 1
	@@${REINPLACE_CMD} -e '11 s,gb2312,big5,' ${WRKSRC}/src/zhcon.conf
d58 9
d68 1
@


1.54
log
@Fix config file path
@
text
@d25 2
a26 2
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"
@


1.53
log
@Bounce PORTREVISION for gettext-related ports.  Have fun, ya'll.
@
text
@d10 1
a10 1
PORTREVISION=	1
a38 1
	@@${REINPLACE_CMD} -e 's,"/etc,"${PREFIX}/etc,'  ${WRKSRC}/src/zhcon.cpp
@


1.52
log
@Reset chinsan@@FreeBSD.org due to numerous maintainer-timeouts and no
response to email.

Hat:		portmgr
@
text
@d10 1
@


1.51
log
@- Switch SourceForge ports to the new File Release System: categories starting with B,C
@
text
@d13 1
a13 1
MAINTAINER=	chinsan@@FreeBSD.org
@


1.50
log
@- Update to 0.2.6
@
text
@d11 1
a11 1
MASTER_SITES=	LOCAL/chinsan/chinese SF
@


1.49
log
@- set PORTSCOUT variable
@
text
@d9 1
a9 2
PORTVERSION=	0.2.5
PORTREVISION=	2
d11 1
a11 2
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}
@


1.48
log
@Bump portrevision due to upgrade of devel/gettext.

The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@@
Approved by:    portmgr (pav)
@
text
@d18 2
@


1.47
log
@- Remove USE_GETOPT_LONG which is a no-op since March 2007
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.46
log
@- Remove the DESTDIR modifications from individual ports as we have a new,
  fully chrooted DESTDIR, which does not need such any more.

Sponsored by:	Google Summer of Code 2007
Approved by:	portmgr (pav)
@
text
@a22 1
USE_GETOPT_LONG=	yes
@


1.45
log
@- Respect LOCALBASE

PR:		ports/113385
Submitted by:	tdb
Approved by:	chinsan (maintainer)
@
text
@d33 1
a33 1
	@@${REINPLACE_CMD} -e 's,/etc,${TARGETDIR}/etc,' ${WRKSRC}/doc/zhcon.1.in
d38 3
a40 3
	@@${REINPLACE_CMD} -e '5 s,#,,; s,/usr/lib,${TARGETDIR}/lib,' ${WRKSRC}/src/zhcon.conf
	@@${REINPLACE_CMD} -e 's,"/etc,"${TARGETDIR}/etc,'  ${WRKSRC}/src/zhcon.cpp
	@@${REINPLACE_CMD} -Ee 's,(\s*=\s*)("?)/usr/local([^"]*)("?),\1\2${TARGETDIR}\3\4,g' \
@


1.44
log
@Change the following ports to my FreeBSD.org email.
Approved by:	delphij (mentor)

archivers/pecl-bz2/Makefile
archivers/pecl-lzf/Makefile
archivers/pecl-rar/Makefile
audio/fapg/Makefile
audio/pecl-id3/Makefile
chinese/CJKUnifonts/Makefile
chinese/auto-tw-l10n/Makefile
chinese/dfsongsd/Makefile
chinese/fortunetw/Makefile
chinese/gcin/Makefile
chinese/joe/Makefile
chinese/joe2/Makefile
chinese/pcmanx/Makefile
chinese/phpbb-tw/Makefile
chinese/tatter-tools/Makefile
chinese/ve/Makefile
chinese/zhcon/Makefile
devel/pear-Console_Getopt/Makefile
devel/pear-Console_Table/Makefile
devel/pear-PEAR_Info/Makefile
devel/pecl-expect/Makefile
games/p5-Baseball-Sabermetrics/Makefile
graphics/epdfview/Makefile
graphics/p5-Chart-Clicker/Makefile
graphics/p5-GD-Thumbnail/Makefile
graphics/p5-Visio/Makefile
mail/pecl-esmtp/Makefile
math/pecl-stats/Makefile
misc/pear-Services_Weather/Makefile
net/ldapdiff/Makefile
net/p5-RRD-Simple/Makefile
net/pear-Net_CDDB/Makefile
net/pear-Net_SMS/Makefile
net/pecl-cvsclient/Makefile
security/gwee/Makefile
security/p5-GSSAPI/Makefile
security/pam-pgsql/Makefile
security/pecl-ssh2/Makefile
security/pecl-tcpwrap/Makefile
sysutils/p5-BSD-Sysctl/Makefile
sysutils/p5-File-Next/Makefile
textproc/csvdiff/Makefile
textproc/p5-CSS/Makefile
textproc/p5-Pod-XML/Makefile
textproc/p5-SGML-DTDParse/Makefile
textproc/p5-Text-Emoticon-GoogleTalk/Makefile
textproc/p5-XML-Handler-Dtd2DocBook/Makefile
textproc/p5-XML-Handler-Dtd2Html/Makefile
textproc/p5-XML-SAXDriver-CSV/Makefile
textproc/p5-XML-SAXDriver-Excel/Makefile
textproc/p5-ack/Makefile
textproc/pear-XML_DTD/Makefile
textproc/pecl-stem/Makefile
textproc/scim-input-pad/Makefile
textproc/sdcv/Makefile
www/b2evolution/Makefile
www/dokuwiki/Makefile
www/dokuwiki-devel/Makefile
www/lilurl/Makefile
www/p5-HTML-TableParser/Makefile
www/p5-HTML-WikiConverter/Makefile
www/p5-HTML-WikiConverter-DokuWiki/Makefile
www/p5-HTML-WikiConverter-Kwiki/Makefile
www/p5-HTML-WikiConverter-Markdown/Makefile
www/p5-HTML-WikiConverter-MediaWiki/Makefile
www/p5-HTML-WikiConverter-MoinMoin/Makefile
www/p5-HTML-WikiConverter-Oddmuse/Makefile
www/p5-HTML-WikiConverter-PbWiki/Makefile
www/p5-HTML-WikiConverter-PhpWiki/Makefile
www/p5-HTML-WikiConverter-PmWiki/Makefile
www/p5-HTML-WikiConverter-SnipSnap/Makefile
www/p5-HTML-WikiConverter-Socialtext/Makefile
www/p5-HTML-WikiConverter-TikiWiki/Makefile
www/p5-HTML-WikiConverter-UseMod/Makefile
www/p5-HTML-WikiConverter-WakkaWiki/Makefile
www/p5-HTML-WikiConverter-WikkaWiki/Makefile
www/p5-WWW-Baseball-NPB/Makefile
www/p5-WWW-Comic/Makefile
www/p5-WWW-VenusEnvy/Makefile
www/pear-Services_Delicious/Makefile
www/pear-UDDI/Makefile
www/xpi-cssviewer/Makefile
www/xpi-gmail-manager/Makefile
www/xpi-google-notebook/Makefile
www/xpi-mrtech-local-install/Makefile
www/xpi-no-referrer/Makefile
www/xpi-server_switcher/Makefile
www/xpi-unplug/Makefile
www/xpi-videodownloader/Makefile
www/xpi-web_developer/Makefile
x11/xdialog/Makefile
x11-fm/pcmanfm/Makefile
@
text
@d25 2
@


1.43
log
@- Respect DESTDIR

PR:		101905
Submitted by:	Gea-Suan Lin <gslin_AT_gslin dot org>
Approved by:	maintainer (chinsan dot tw@@gmail dot com)
@
text
@d15 1
a15 1
MAINTAINER=	chinsan.tw@@gmail.com
@


1.42
log
@- Fix input error on some Big5 range
- Summitted by Edward G.J. Lee <edt1023@@info.sayya.org> Thanks.

PR:		ports/100545
Submitted by:	maintainer
@
text
@d31 1
a31 1
	@@${REINPLACE_CMD} -e 's,/etc,${PREFIX}/etc,' ${WRKSRC}/doc/zhcon.1.in
d36 3
a38 3
	@@${REINPLACE_CMD} -e '5 s,#,,; s,/usr/lib,${PREFIX}/lib,'  ${WRKSRC}/src/zhcon.conf
	@@${REINPLACE_CMD} -e 's,"/etc,PREFIX"/etc,'  ${WRKSRC}/src/zhcon.cpp
	@@${REINPLACE_CMD} -Ee 's,(\s*=\s*)("?)/usr/local([^"]*)("?),\1\2${PREFIX}\3\4,g' \
@


1.41
log
@Fix build.

PR:		ports/98781
Submitted by:	maintainer
Approved by:	lawrance (mentor, implicit)
@
text
@d10 1
@


1.40
log
@- Update to 0.2.5

PR:		ports/98754
Submitted by:	maintainer (chinsan)
@
text
@d19 5
@


1.39
log
@- Fix doc bug
- Make portlint more happy

PR:		ports/98125
Submitted by:	maintainer (chinsan)
@
text
@d9 1
a9 2
PORTVERSION=	0.2.3
PORTREVISION=	7
a17 1
CONFIGURE_ARGS=	--with-libintl-prefix=${LOCALBASE}
a18 2
# Don't bother to add ".if !defined(WITHOUT_NLS)", zhcon requires libintl
USE_GETTEXT=	yes
d25 1
a25 1
	@@${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|' ${WRKSRC}/doc/zhcon.1.in
d27 5
a31 1
	@@${REINPLACE_CMD} -e '5 s|#||;'  ${WRKSRC}/src/zhcon.conf
d34 3
@


1.38
log
@- Fix run error on 5.X/6.X
- Take maintainership

PR:		ports/96786
Submitted by:	chinsan
@
text
@d10 1
a10 1
PORTREVISION=	6
d29 1
@


1.37
log
@- fix libintl dependency and unbreak this port
@
text
@d10 1
a10 1
PORTREVISION=	5
d15 1
a15 1
MAINTAINER=	ports@@FreeBSD.org
d24 2
d30 1
d34 3
@


1.36
log
@BROKEN when WITHOUT_NLS: Does not compile without gettext
@
text
@a19 2
USE_GMAKE=	yes
USE_REINPLACE=	yes
d21 1
a21 2

.if !defined(WITHOUT_NLS)
a22 6
PLIST_SUB+=	NLS=""
.else
BROKEN=		"Does not compile without gettext"
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+=	NLS="@@comment "
.endif
@


1.35
log
@Reset bouncing maintainer address.  These ports are now available for
adoption.

Note that I have left the maintainer's own ftp site as a MASTERSITE
because it still appears to be active (for now, anyways).

Hat:	portmgr
@
text
@d28 1
@


1.34
log
@1: rename /dev/vga to /dev/ttyv0.
2: bump version.

PR:		ports/80494
Submitted by:	maintainer
@
text
@d15 1
a15 1
MAINTAINER=	statue@@freebsd.netlab.cse.yzu.edu.tw
@


1.33
log
@Oops, we want to twiddle the effective-user-ID, not the real-user-ID,
since we need to recover credentials.  Relative to the previous commit,
s/setuid/seteuid/g.

Reminded by:	a hot shower
@
text
@d10 1
a10 1
PORTREVISION=	4
d35 1
@


1.32
log
@The set-user-ID binary zhcon normally reads it's user-specified
configuration file as root.  Drop privileges before opening the file to
prevent a local user from reading arbitrary files.

Reported by:	Erik Sjölund
Obtained from:	Debian
@
text
@d10 1
a10 1
PORTREVISION=	3
@


1.31
log
@- Pass maintainership to submitter

PR:		ports/75730
Submitted by:	statue(at)freebsd.netlab.cse.yzu.edu.tw
@
text
@d10 1
a10 1
PORTREVISION=	2
@


1.30
log
@- wrap USE_GETTEXT by adding "if !defined(WITHOUT_NLS)"
- use system libintl instead of included one
@
text
@d15 1
a15 1
MAINTAINER=	ports@@FreeBSD.org
@


1.29
log
@set localedir to PREFIX/share/locale to be synchronized with PLIST
@
text
@d19 1
a19 2
CONFIGURE_ARGS=	--with-included-gettext=${LOCALBASE}
USE_GETTEXT=	yes
d24 8
d36 1
a36 1
		${WRKSRC}/${CONFIGURE_SCRIPT}
@


1.28
log
@Add USE_GETTEXT and bump PORTREVISION.

Submitted by:	trevor
Tested by:	bento
@
text
@d28 2
a29 1
	${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},g' ${WRKSRC}/configure
@


1.27
log
@Now gettext 0.12.1 is gettext-old.
@
text
@d10 1
a10 1
PORTREVISION=	1
a17 2
LIB_DEPENDS=	intl.5:${PORTSDIR}/devel/gettext-old

d20 1
@


1.26
log
@statue@@freebsd.sinica.edu.tw has asked for all the maintained
ports to be reset to ports@@FreeBSD.org.  We're sorry to see you
go and want to thank you for your help in the past.

PR:		ports/59515
Submitted by:	statue@@freebsd.sinica.edu.tw
@
text
@d18 1
a18 1
LIB_DEPENDS=	intl.5:${PORTSDIR}/devel/gettext
@


1.25
log
@Fix incorrect use of ${REINPLACE_CMD}.

Approved by:	portmgr (kkenn)
@
text
@d15 1
a15 1
MAINTAINER=	statue@@freebsd.sinica.edu.tw
@


1.24
log
@remove USE_XLIB

PR:		58978
Submitted by:	Statue <statue@@freebsd.sinica.edu.tw>
@
text
@d29 1
a29 2
	${REINPLACE_CMD} -e 's,${LOCALBASE}/share/locale,${PREFIX}/share/locale,g' \
		${WRKSRC}/*
@


1.23
log
@Before committing the previous BROKEN changes I carefully checked the status
of each port on bento and for recent fixes.  Unfortunately at some point I
got confused and switched to the wrong list :-)  As a result I picked up a
number of ports that were fixed a while ago.  Sorry for the false alarm,
maintainers.

Pointy hat to:	kris
@
text
@a23 2
REINPLACE_ARGS= # empty
USE_XLIB=	yes
d27 4
@


1.22
log
@Correct whitespace in previous
@
text
@d30 1
a30 7
.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 501000
BROKEN=		"Does not compile"
.endif

.include <bsd.port.post.mk>
@


1.21
log
@BROKEN on 5.x: does not compile
@
text
@d33 1
a33 1
BROKEN=         "Does not compile"
@


1.20
log
@Bump the PORTREVISION for the ports directly affected by the gettext upgrade.

Prodded by:	kris
@
text
@d30 7
a36 1
.include <bsd.port.mk>
@


1.19
log
@Chase the libintl.so shared lib version.
@
text
@d10 1
@


1.18
log
@update to zhcon-0.2.3

PR:		51625
Submitted by:	Statue <statue@@freebsd.sinica.edu.tw>
@
text
@d17 1
a17 1
LIB_DEPENDS=	intl.4:${PORTSDIR}/devel/gettext
@


1.17
log
@De-pkg-comment.
@
text
@d9 1
a9 1
PORTVERSION=	0.2.1
d29 1
a29 12
.include <bsd.port.pre.mk>

post-patch:
.if ${OSVERSION} > 500012
.for i in src/main.cpp src/zhcon.cpp src/inputmanager.cpp src/display/fbdev.cpp src/mouse.h
	${REINPLACE_CMD} 's,machine/console.h>,sys/consio.h>@@#include <sys/fbio.h>@@#include <sys/kbio.h>,' ${WRKSRC}/${i} | tr '@@' '\n' > ${WRKSRC}/${i}.bak && \
	${MV} ${WRKSRC}/${i}.bak ${WRKSRC}/${i}
.endfor
	${REINPLACE_CMD} -i.bak -e 's,machine/mouse.h>,sys/mouse.h>,' ${WRKSRC}/src/mouse.h
.endif

.include <bsd.port.post.mk>
@


1.16
log
@only support i386

PR:		46450
Submitted by:	maintainer
@
text
@d15 1
@


1.15
log
@1: Upgrade to 0.2.1.
2: Fix build on -current.
3: Fix hangs on -current.

PR:		ports/45797
Submitted by:	maintainer
Approved by:	kris
@
text
@d24 1
@


1.14
log
@PERL -> REINPLACE
And some ports have USE_PERL5=yes now.
@
text
@d9 1
a9 2
PORTVERSION=	0.2
PORTREVISION=	4
d22 2
d31 5
a35 1
	@@${FIND} ${WRKSRC}/src/ -name "*.cpp" | ${XARGS} ${REINPLACE_CMD} -e 's,machine/console.h>,sys/consio.h>\n#include <sys/fbio.h>\n#include <sys/kbio.h>\n,'
@


1.13
log
@Chase shlib rev of devel/gettext

Submitted by:	lots and lots
Pointy hat to:	ade
@
text
@d22 1
d30 1
a30 1
	@@${FIND} ${WRKSRC}/src/ -name "*.cpp" | ${XARGS} ${PERL} -pi.bak -e 's,machine/console.h>,sys/consio.h>\n#include <sys/fbio.h>\n#include <sys/kbio.h>\n,'
@


1.12
log
@1) Fix pkg-plist.
2) Correct path of zhcon.cfg in zhcon(1).

PR:		ports/37315
Submitted by:	Statue <statue@@softwareliberty.org> (MAINTAINER)
@
text
@d17 1
a17 1
LIB_DEPENDS=	intl.2:${PORTSDIR}/devel/gettext
@


1.11
log
@gettext upgrade uber-patch (stage 3)

- switch devel/gettext (0.11.1) on, installing full package
- flip devel/gettext-old (0.10.35) to installing only static binaries
  with a "-old" suffix -- gettext-old will have its deorbit burn
  sequence initiated just after 4.6-RELEASE
- fix up ports for the new world order

Reviewed by:	portmgr
@
text
@d10 1
a10 1
PORTREVISION=	3
@


1.10
log
@support HAVE_GGI_LIB
bump port revision

PR:		36921
Submitted by:	maintainer
@
text
@d10 1
a10 1
PORTREVISION=	2
d17 1
a17 1
LIB_DEPENDS=	intl.1:${PORTSDIR}/devel/gettext-old
@


1.9
log
@o Convert po from utf-8 to big5.
o Handle LC_* properly.
o Bump PORTREVISION.

PR:	ports/35728
Submitted by:	Yen-Ming Lee <leeym@@utopia.leeym.com>
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.8
log
@Stage 1 of gettext update.

Move gettext (0.10.35) with gettext-old
Update gettext from gettext-devel (0.10.40)
Remove gettext-devel
Fix dependencies

Stage 2 will involve upgraded gettext to 0.11 and fixing issues
Stage 3 involves a de-orbit burn sequence for gettext-old

Reviewed by:	portmgr
@
text
@d10 1
@


1.7
log
@o Update zhcon to version 0.2.
o Add zh_TW.Big5 po messages.
o Remove big5 IME extra-patches and merge it into standard FreeBSD patches.

PR:		ports/35271
Submitted by:	Yen-Ming Lee <leeym@@leeym.com>
@
text
@d16 1
a16 1
LIB_DEPENDS=	intl.1:${PORTSDIR}/devel/gettext
@


1.6
log
@Update big5-ime's version.

PR:		ports/31251
Submitted by:	statue@@softwareliberty.org
@
text
@d9 1
a9 2
PORTVERSION=	0.14f
PORTREVISION=	4
d11 2
a12 4
MASTER_SITES=	http://freebsd.sinica.edu.tw/~statue/ \
		ftp://ftp.gnuchina.org/pub/linux/chinese/inputmethod/console/zhcon/BSDPort/ \
		http://www.cis.nctu.edu.tw/~gis89501/zhcon/
DISTFILES=	${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} zhb5-ime-2.tgz
d16 2
d19 1
a25 14
.if defined(WITH_BIG5)
PLIST_SUB+=		BIG5IME=""
.else
PLIST_SUB+=		BIG5IME="@@comment "
.endif

.if !defined(WITH_BIG5)
pre-everything::
	@@${ECHO_MSG}
	@@${ECHO_MSG} "If you want to compile with Big5 IME support,"
	@@${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_BIG5=yes\""
	@@${ECHO_MSG}
.endif

d28 1
a28 19
	@@${PERL} -pi -e 's,machine/console.h>,sys/consio.h>\n#include <sys/fbio.h>\n#include <sys/kbio.h>\n,' ${WRKSRC}/${PORTNAME}/*.cpp
.endif
.if defined(WITH_BIG5)
.for file in zhcon-0.14-big5-bar.diff.gz zhcon-0.14-big5-dirty-ime.diff.gz
	@@${GZCAT} ${WRKDIR}/zh-big5-ime/${file} | ${PATCH} ${PATCH_DIST_ARGS:S/p0/p1/}
.endfor
.endif

post-build:
.if defined(WITH_BIG5)
	@@cd ${WRKDIR}/zh-big5-ime; ${SETENV} BATCH=yes ./configure; make all
.endif

post-install:
.if defined(WITH_BIG5)
.for file in big5-*.mb
	@@${INSTALL_DATA} ${WRKDIR}/zh-big5-ime/mb/${file} ${PREFIX}/lib/zhcon
.endfor
	@@${INSTALL_DATA} ${WRKDIR}/zh-big5-ime/zhcon.cfg.big5 ${PREFIX}/lib/zhcon/zhcon.cfg
@


1.5
log
@update patch for Big5 IME support

PR:		30504
Submitted by:	Yen-Ming Lee <leeym@@utopia.leeym.com>
@
text
@d5 1
a5 1
# $FreeBSD: ports/chinese/zhcon/Makefile,v 1.4 2001/09/11 13:55:35 clive Exp $
d10 1
a10 1
PORTREVISION=	3
d15 1
a15 1
DISTFILES=	${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} zhb5-ime-1.tgz
d19 1
a19 1
HAS_CONFIGURE=	yes
d52 1
a52 3
.for file in make.sh make-mb.sh
	@@cd ${WRKDIR}/zh-big5-ime; ${SH} ${file}
.endfor
d57 1
a57 1
.for file in big5-ary30.mb big5-cj.mb big5-liu5.mb big5-phone.mb
@


1.4
log
@Use `::' operator for pre-everything target.

Submitted by: "Dan Langille" <dan@@langille.org>
@
text
@d5 1
a5 1
# $FreeBSD: ports/chinese/zhcon/Makefile,v 1.3 2001/09/11 04:49:46 clive Exp $
d10 1
a10 1
PORTREVISION=	2
d15 1
a15 1
DISTFILES=	${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} zhb5-ime-0.tgz
a44 1
	@@${PATCH} ${PATCH_DIST_ARGS:S/${WRKSRC}/${WRKDIR}\/zh-big5-ime/} < ${PATCHDIR}/extrapatch-aa
@


1.3
log
@o Add Big5 IME support.
o Bump PORTREVISION.

PR: ports/30498
Submitted by: Yen-Ming Lee <leeym@@utopia.leeym.com>
Reminded by: MAINTAINER
@
text
@d5 1
a5 1
# $FreeBSD: ports/chinese/zhcon/Makefile,v 1.2 2001/09/09 18:08:16 clive Exp $
d33 1
a33 1
pre-everything:
@


1.2
log
@Bump PORTREVISION. Non-root users will be happy to run zhcon now.
@
text
@d5 1
a5 1
# $FreeBSD: ports/chinese/zhcon/Makefile,v 1.1 2001/09/08 16:37:52 clive Exp $
d10 1
a10 1
PORTREVISION=	1
d13 3
a15 1
		ftp://ftp.gnuchina.org/pub/linux/chinese/inputmethod/console/zhcon/BSDPort/
d25 16
a41 1
post-patch:
d44 22
@


1.1
log
@New port: zhcon

Zhcon is a fast Linux Console Chinese System which supports
framebuffer device.It can display Chinese,Japanese or Korean
double byte characters.Supported language encodings include:
GB2312,GBK,BIG5,JIS and KSCM.

It can also use input methods(table based) from Windows 98 and
UCDOS for MS-DOS.

PR: ports/30433
Submitted by: Statue <statue@@freebsd.sinica.edu.tw>
@
text
@d5 1
a5 1
# $FreeBSD$
d10 1
@

