head	1.28;
access;
symbols
	RELEASE_8_3_0:1.26
	RELEASE_9_0_0:1.26
	RELEASE_7_4_0:1.26
	RELEASE_8_2_0:1.26
	RELEASE_6_EOL:1.26
	RELEASE_8_1_0:1.26
	RELEASE_7_3_0:1.25
	RELEASE_8_0_0:1.24
	RELEASE_7_2_0:1.24
	RELEASE_7_1_0:1.22
	RELEASE_6_4_0:1.22
	RELEASE_5_EOL:1.22
	RELEASE_7_0_0:1.21
	RELEASE_6_3_0:1.21
	PRE_XORG_7:1.21
	RELEASE_4_EOL:1.21
	RELEASE_6_2_0:1.20
	RELEASE_6_1_0:1.17
	RELEASE_5_5_0:1.17
	RELEASE_6_0_0:1.17
	RELEASE_5_4_0:1.17
	RELEASE_4_11_0:1.17
	RELEASE_5_3_0:1.17
	RELEASE_4_10_0:1.17
	RELEASE_5_2_1:1.15
	RELEASE_5_2_0:1.15
	RELEASE_4_9_0:1.14
	RELEASE_5_1_0:1.13
	RELEASE_4_8_0:1.10
	RELEASE_5_0_0:1.9
	RELEASE_4_7_0:1.9
	RELEASE_4_6_2:1.9
	RELEASE_4_6_1:1.9
	RELEASE_4_6_0:1.9
	RELEASE_5_0_DP1:1.9
	RELEASE_4_5_0:1.9
	RELEASE_4_4_0:1.9
	RELEASE_4_3_0:1.7
	RELEASE_4_2_0:1.5
	RELEASE_4_1_1:1.5
	RELEASE_4_1_0:1.5
	RELEASE_3_5_0:1.5
	RELEASE_4_0_0:1.3
	RELEASE_3_4_0:1.2
	v0_3_2:1.1.1.1
	YINJIEH:1.1.1;
locks; strict;
comment	@# @;


1.28
date	2012.11.17.05.54.55;	author svnexp;	state Exp;
branches;
next	1.27;

1.27
date	2012.06.24.17.36.11;	author sunpoet;	state Exp;
branches;
next	1.26;

1.26
date	2010.06.30.02.15.08;	author vanilla;	state Exp;
branches;
next	1.25;

1.25
date	2009.11.22.19.49.31;	author pav;	state Exp;
branches;
next	1.24;

1.24
date	2009.01.30.23.41.16;	author pav;	state Exp;
branches;
next	1.23;

1.23
date	2008.12.25.03.13.46;	author linimon;	state Exp;
branches;
next	1.22;

1.22
date	2008.03.20.09.23.25;	author pav;	state Exp;
branches;
next	1.21;

1.21
date	2006.12.30.03.53.35;	author rafan;	state Exp;
branches;
next	1.20;

1.20
date	2006.08.14.02.15.38;	author clsung;	state Exp;
branches;
next	1.19;

1.19
date	2006.07.06.02.25.39;	author rafan;	state Exp;
branches;
next	1.18;

1.18
date	2006.05.03.23.38.30;	author edwin;	state Exp;
branches;
next	1.17;

1.17
date	2004.03.22.08.43.56;	author arved;	state Exp;
branches;
next	1.16;

1.16
date	2004.02.08.21.19.07;	author krion;	state Exp;
branches;
next	1.15;

1.15
date	2003.10.16.08.41.33;	author krion;	state Exp;
branches;
next	1.14;

1.14
date	2003.06.11.16.55.44;	author leeym;	state Exp;
branches;
next	1.13;

1.13
date	2003.05.15.06.16.32;	author ijliao;	state Exp;
branches;
next	1.12;

1.12
date	2003.05.15.03.17.44;	author ijliao;	state Exp;
branches;
next	1.11;

1.11
date	2003.05.15.03.06.04;	author ijliao;	state Exp;
branches;
next	1.10;

1.10
date	2003.02.21.11.06.25;	author knu;	state Exp;
branches;
next	1.9;

1.9
date	2001.08.13.13.14.47;	author kevlo;	state Exp;
branches;
next	1.8;

1.8
date	2001.05.10.19.41.41;	author vanilla;	state Exp;
branches;
next	1.7;

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

1.6
date	2001.01.14.14.45.32;	author clive;	state Exp;
branches;
next	1.5;

1.5
date	2000.04.13.08.27.54;	author asami;	state Exp;
branches;
next	1.4;

1.4
date	2000.03.19.03.14.30;	author foxfair;	state Exp;
branches;
next	1.3;

1.3
date	2000.01.14.18.19.12;	author imura;	state Exp;
branches;
next	1.2;

1.2
date	99.11.26.16.14.29;	author imura;	state Exp;
branches;
next	1.1;

1.1
date	99.10.27.10.53.08;	author nakai;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	99.10.27.10.53.08;	author nakai;	state Exp;
branches;
next	;


desc
@@


1.28
log
@Switch exporter over
@
text
@# New ports collection makefile for:	autoconvert
# Date created:		26 Oct 1999
# Whom:			Yin-Jieh Chen <yinjieh@@csie.nctu.edu.tw>
#
# $FreeBSD: head/chinese/autoconvert/Makefile 300895 2012-07-14 12:56:14Z beat $
#

PORTNAME=	autoconvert
PORTVERSION=	0.3.16
PORTREVISION=	2
CATEGORIES=	chinese
MASTER_SITES=	GOOGLE_CODE
DISTNAME=	${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	Intelligent Chinese encoding converter

LICENSE=	GPLv2 GPLv3
LICENSE_COMB=	dual

OPTIONS_DEFINE=	DOCS

MAKE_ENV=	CFLAG="${CPPFLAGS}" LIBS="${LDFLAGS}"
MAKE_JOBS_UNSAFE=	yes
USE_LDCONFIG=	yes
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}

PROJECTHOST=	libhz

.include <bsd.port.options.mk>

post-patch:
	@@${REINPLACE_CMD} -e "s|^CFLAGS|#CFLAGS|" ${WRKSRC}/contrib/xchat-plugins/Makefile

post-install:
.if ${PORT_OPTIONS:MDOCS}
	${MKDIR} ${DOCSDIR}/
	cd ${WRKSRC}/ && ${INSTALL_DATA} ChangeLog Readme TODO Thanks Version ${DOCSDIR}/
.endif

.include <bsd.port.mk>
@


1.27
log
@- Change pre-install: to post-install:
- While I'm here:
  - Add LICENSE
  - Move documentation to DOCSDIR
  - Convert to new options framework
  - Pet portlint
- Bump PORTREVISION for package change

PR:		ports/169347
Submitted by:	Kit Sin <ktsin@@acm.org>
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.26
log
@respect $(CC) to make clang happy.

Feature safe:	yes
@
text
@d10 1
a10 1
PORTREVISION=	1
d13 1
a13 2
PROJECTHOST=	libhz
DISTFILES=	zh-${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
d18 5
d24 1
d26 5
a30 1
MAKE_JOBS_UNSAFE=	yes
d33 1
a33 2
	@@${REINPLACE_CMD} -e "s|^CFLAGS|#CFLAGS|" \
		${WRKSRC}/contrib/xchat-plugins/Makefile
d35 5
a39 5
pre-install:
	@@${MKDIR} ${DATADIR}
.for i in ChangeLog LICENSE Readme TODO Thanks Version
	@@${INSTALL_DATA} ${WRKSRC}/$i ${DATADIR}
.endfor
@


1.25
log
@- Mark MAKE_JOBS_UNSAFE

Reported by:	pointyhat
@
text
@d10 1
@


1.24
log
@- Update download location

Reported by:	-fetch-original pointyhat run
@
text
@d20 1
@


1.23
log
@Reset yinjieh@@csie.nctu.edu.tw due to lack of time to work on ports
right now, by request.

Hat:	portmgr
@
text
@d11 3
a13 1
MASTER_SITES=	http://people.debian.org/~ygh/
@


1.22
log
@- Remove USE_GETOPT_LONG which is a no-op since March 2007
@
text
@d13 1
a13 1
MAINTAINER=	yinjieh@@csie.nctu.edu.tw
@


1.21
log
@- Update to 0.3.16
  This builds on newer gcc.
- Respect CC, CFLAGS
- Comply new style patch filename
- xchat plugin is disabled for now

PR:		ports/107264
Submitted by:	Ying-Chieh Chen (maintainer)
@
text
@a16 1
USE_GETOPT_LONG=	yes
@


1.20
log
@- Respect DESTDIR
- Use USE_LDCONFIG

PR:		ports/101901
Submitted by:	Gea-Suan Lin <gslin_AT_gslin dot org>
Approved by:	maintainer (Ying-Chieh Chen)
@
text
@d9 1
a9 1
PORTVERSION=	0.3.14
d11 1
a11 1
MASTER_SITES=	ftp://banyan.dlut.edu.cn/pub/PEOPLE/saka/
a15 1
DATADIR=	${TARGETDIR}/share/${PKGNAMEPREFIX}${PORTNAME}
d26 1
a26 1
.for i in ChangeLog LICENSE Readme TODO Thanks Version hz.txt procmailrc.example shed.big5 shed.gb shed.uni shed.utf7 shed.utf8
@


1.19
log
@- Update to 0.3.14

PR:		99815
Submitted by:	rafan
Approved by:	maintainer, delphij (mentor, implicit)
@
text
@d16 2
d19 1
a19 3
MAKE_ENV=	CFLAG="${CPPFLAGS}" LIBS="${LDFLAGS}"
INSTALLS_SHLIB=	yes
DATADIR=	${PREFIX}/share/${PKGNAMEPREFIX}${PORTNAME}
@


1.18
log
@remove USE_REINPLACE for all ports with categories starting with C
@
text
@d9 1
a9 1
PORTVERSION=	0.3.13
@


1.17
log
@Improve amd64 fix, Only build shared library with -fPIC
@
text
@a15 1
USE_REINPLACE=	yes
@


1.16
log
@- Fix build on AMD64

Approved by:	maintainer informed
@
text
@a17 1
CFLAGS+=	${CPPFLAGS} -fPIC
d23 2
a24 3
.for dir in hzconvert contrib/xchat-plugins
	@@${REINPLACE_CMD} -e "s|^CFLAGS|#CLFAGS|" ${WRKSRC}/${dir}/Makefile
.endfor
@


1.15
log
@- Fix build on -current

PR:		58084
Submitted by:	maintainer
@
text
@d18 1
a18 1
CFLAGS+=	${CPPFLAGS}
@


1.14
log
@Update MASTER_SITES

PR:		53210
Submitted by:	Ying-Chieh Chen <yinjieh@@csie.nctu.edu.tw>
@
text
@d18 1
a18 1
CFLAGS+=	"${CPPFLAGS}"
@


1.13
log
@1. dont specify -lgnugetopt in Makefile
2. respect CFLAGS
3. utilize BSD_INSTALL_* macro
@
text
@d11 1
a11 1
MASTER_SITES=	http://people.debian.org/~ygh/
@


1.12
log
@typo
@
text
@d16 1
d18 2
d22 5
@


1.11
log
@utilize USE_GETOPT_LONG and DATADIR

Approved by:	maintainer
@
text
@d18 1
a18 1
DATADIR=	${PREFIX}/share/${PKGNAMEPREFIX}-${PORTNAME}
@


1.10
log
@De-pkg-comment.
@
text
@d16 1
a16 2
LIB_DEPENDS=	gnugetopt.1:${PORTSDIR}/devel/libgnugetopt

d18 1
d21 1
a21 1
	@@${MKDIR} ${PREFIX}/share/zh-autoconvert
d23 1
a23 1
	@@${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/share/zh-autoconvert
@


1.9
log
@- Update to version 0.3.13
- Update MASTER_SITES

PR: 29569
Submitted by: Yen-Ming Lee <leeym@@utopia.leeym.com>
@
text
@d5 1
a5 1
# $FreeBSD: ports/chinese/autoconvert/Makefile,v 1.8 2001/05/10 19:41:41 vanilla Exp $
d14 1
@


1.8
log
@Upgrade to 0.3.12.

PR:		ports/27254
Submitted by:	maintainer
@
text
@d5 1
a5 1
# $FreeBSD: ports/chinese/autoconvert/Makefile,v 1.7 2001/01/14 14:53:32 clive Exp $
d9 1
a9 1
PORTVERSION=	0.3.12
d11 1
a11 2
MASTER_SITES=	http://www.csie.nctu.edu.tw/~yinjieh/ \
		ftp://banyan.dlut.edu.cn/pub/PEOPLE/saka/
d19 2
a20 7
do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/autob5 ${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/autogb ${PREFIX}/bin
	${INSTALL_DATA} ${WRKSRC}/lib/libhz.a ${PREFIX}/lib
	${INSTALL_DATA} ${WRKSRC}/lib/libhz.so.0.0 ${PREFIX}/lib/libhz.so.0
	cd ${PREFIX}/lib; ${LN} -sf libhz.so.0 libhz.so
	${MKDIR} ${PREFIX}/share/autoconvert
d22 1
a22 5
	${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/share/autoconvert
.endfor

.for i in hz.h zhstatis.h
	${INSTALL_DATA} ${WRKSRC}/include/$i ${PREFIX}/include
@


1.7
log
@o Install additional 2 include files
o portlint

Submitted by: Leeym <leeym@@cae.ce.ntu.edu.tw>
@
text
@d5 1
a5 1
# $FreeBSD: ports/chinese/autoconvert/Makefile,v 1.6 2001/01/14 14:45:32 clive Exp $
d9 1
a9 1
PORTVERSION=	0.3.8
d11 2
a12 2
MASTER_SITES=	ftp://banyan.dlut.edu.cn/pub/PEOPLE/saka/ \
		http://www.csie.nctu.edu.tw/~yinjieh/
d27 1
a27 1
.for i in ChangeLog GPL LICENSE Readme TODO Thanks Version hz.txt procmailrc.example shed.big5 shed.gb shed.uni shed.utf7 shed.utf8
@


1.6
log
@Update to 0.3.8

PR: 24277
Submitted by: MAINTAINER
@
text
@d5 1
a5 1
# $FreeBSD: ports/chinese/autoconvert/Makefile,v 1.5 2000/04/13 08:27:54 asami Exp $
d18 2
d29 4
@


1.5
log
@Convert to PORTNAME/PORTVERSION.

Anomalies found:
 - autoconvert was missing "zh-" in front of PKGNAME
 - xcin (both 2.3 and 2.5) had invalid version strings
 - neither of xcin ports had NO_LATEST_LINK
 - telnet8-1.0 thinks PKGNAME is zh-telnet-1.0

Fixed all except the last (I wasn't sure if it was intentional).
@
text
@d5 1
a5 1
# $FreeBSD: ports/chinese/autoconvert/Makefile,v 1.4 2000/03/19 03:14:30 foxfair Exp $
d9 1
a9 1
PORTVERSION=	0.3.5
d11 2
a12 2
MASTER_SITES=	http://www.linuxfocus.org/~yu.guanghui/ \
		ftp://ftp.dlut.edu.cn/pub/PEOPLE/saka/
d16 1
a16 1
WRKSRC=		${WRKDIR}/autoconvert
d21 3
d25 1
a25 1
.for i in ChangeLog GPL LICENSE Readme TODO Version hz.txt procmailrc.example shed.big5 shed.gb
@


1.4
log
@PR:		17369
Submitted by:	Yin-Jieh Chen <yinjieh@@Crazyman.Dorm13.NCTU.edu.tw>
Update to 0.3.5, patches submitted by port's maintainer.
@
text
@a1 1
# Version required:	0.3.5
d5 1
a5 1
# $FreeBSD: ports/chinese/autoconvert/Makefile,v 1.3 2000/01/14 18:19:12 imura Exp $
d8 2
a9 1
DISTNAME=	autoconvert-0.3.5
@


1.3
log
@Update version to 0.3.4.

PR:		15940
Submitted by:	Maintainer
@
text
@d2 1
a2 1
# Version required:	0.3.3
d6 1
a6 1
# $FreeBSD: ports/chinese/autoconvert/Makefile,v 1.2 1999/11/26 16:14:29 imura Exp $
d9 1
a9 1
DISTNAME=	autoconvert-0.3.4
@


1.2
log
@update to 0.3.3

PR:		15041
Submitted by:	Maintainer
@
text
@d6 1
a6 1
# $FreeBSD: ports/chinese/autoconvert/Makefile,v 1.1.1.1 1999/10/27 10:53:08 nakai Exp $
d9 1
a9 1
DISTNAME=	autoconvert-0.3.3
d22 1
a22 1
.for i in ChangeLog LICENSE Readme TODO Version big5.txt gb.txt hz.txt procmailrc.example
@


1.1
log
@Initial revision
@
text
@d2 1
a2 1
# Version required:	0.3.2
d6 1
a6 1
# $FreeBSD$
d9 1
a9 1
DISTNAME=	autoconvert-0.3.2
@


1.1.1.1
log
@Initial Import.
Chinese character code converter.
(Such tool is simple, but important for multibyte- people. :)

PR:		ports/14528
Submitted by:	Yin-Jieh Chen yinjieh@@Crazyman.Dorm13.NCTU.edu.tw
@
text
@@
