head	1.16;
access;
symbols
	RELEASE_8_3_0:1.11
	RELEASE_9_0_0:1.10
	RELEASE_7_4_0:1.9
	RELEASE_8_2_0:1.9
	RELEASE_6_EOL:1.9
	RELEASE_8_1_0:1.9
	RELEASE_7_3_0:1.5
	RELEASE_8_0_0:1.3
	RELEASE_7_2_0:1.1;
locks; strict;
comment	@# @;


1.16
date	2013.03.22.04.59.06;	author svnexp;	state Exp;
branches;
next	1.15;

1.15
date	2013.03.04.18.06.08;	author svnexp;	state Exp;
branches;
next	1.14;

1.14
date	2012.11.17.05.54.56;	author svnexp;	state Exp;
branches;
next	1.13;

1.13
date	2012.07.25.21.36.48;	author gerald;	state Exp;
branches;
next	1.12;

1.12
date	2012.06.01.05.16.38;	author dinoex;	state Exp;
branches;
next	1.11;

1.11
date	2012.01.10.21.47.44;	author delphij;	state Exp;
branches;
next	1.10;

1.10
date	2011.04.24.09.17.27;	author culot;	state Exp;
branches;
next	1.9;

1.9
date	2010.07.01.18.31.23;	author delphij;	state Exp;
branches;
next	1.8;

1.8
date	2010.06.29.22.33.53;	author delphij;	state Exp;
branches;
next	1.7;

1.7
date	2010.05.31.01.57.38;	author ade;	state Exp;
branches;
next	1.6;

1.6
date	2010.03.28.06.31.51;	author dinoex;	state Exp;
branches;
next	1.5;

1.5
date	2010.02.05.11.34.46;	author dinoex;	state Exp;
branches;
next	1.4;

1.4
date	2009.11.20.08.09.59;	author wen;	state Exp;
branches;
next	1.3;

1.3
date	2009.07.31.13.49.25;	author dinoex;	state Exp;
branches;
next	1.2;

1.2
date	2009.04.30.02.01.07;	author daichi;	state Exp;
branches;
next	1.1;

1.1
date	2009.03.26.09.36.38;	author pav;	state Exp;
branches;
next	;


desc
@@


1.16
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/314855
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# Created by: Henry Hu <henry.hu.sh@@gmail.com>
# $FreeBSD: head/chinese/ibus-pinyin/Makefile 314855 2013-03-21 17:39:03Z bapt $

PORTNAME=	ibus-pinyin
PORTVERSION=	1.4.0
PORTREVISION=	1
CATEGORIES=	chinese
MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
DISTFILES=		${DISTNAME}${EXTRACT_SUFX}
EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}

MAINTAINER=	henry.hu.sh@@gmail.com
COMMENT=	PinYin engine for IBus

BUILD_DEPENDS=	ibus-daemon:${PORTSDIR}/textproc/ibus \
		${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3
RUN_DEPENDS=	ibus-daemon:${PORTSDIR}/textproc/ibus \
		${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3

USE_PYTHON=	yes
USE_GNOME=	pygtk2

USE_GCC=	4.6+
USE_GMAKE=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--disable-dependency-tracking --disable-lua-extension

PROJECTHOST=	ibus

OPTIONS_DEFINE=	ANDROID_DB OPENPHRASE_DB OPENCC NLS
OPTIONS_DEFAULT=	ANDROID_DB
ANDROID_DB_DESC=	Build Android DB
OPENPHRASE_DB_DESC=	Build Open Phrase DB
OPENCC_DESC=		Use opencc

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MANDROID_DB}
CONFIGURE_ARGS+=	--enable-db-android
PLIST_SUB+=	ANDROID_DB=""
.else
CONFIGURE_ARGS+=	--disable-db-android
PLIST_SUB+=	ANDROID_DB="@@comment "
.endif

OPENPHRASE_DBVER=	1.2.99
OPENPHRASE_DBFILE=	pinyin-database-${OPENPHRASE_DBVER}.tar.bz2

.if ${PORT_OPTIONS:MOPENPHRASE_DB}
CONFIGURE_ARGS+=	--enable-db-open-phrase
DISTFILES+=	${OPENPHRASE_DBFILE}
PLIST_SUB+=	OPENPHRASE_DB=""
.else
CONFIGURE_ARGS+=	--disable-db-open-phrase
PLIST_SUB+=	OPENPHRASE_DB="@@comment "
.endif

.if ${PORT_OPTIONS:MOPENCC}
CONFIGURE_ARGS+=	--enable-opencc
LIB_DEPENDS+=		opencc.1:${PORTSDIR}/chinese/opencc
.else
CONFIGURE_ARGS+=	--disable-opencc
.endif

.if ${PORT_OPTIONS:MNLS}
USE_GETTEXT=	yes
PLIST_SUB+=	NLS=""
.else
CONFIGURE_ARGS+=	--disable-nls
PLIST_SUB+=	NLS="@@comment "
.endif

post-extract:
.if ${PORT_OPTIONS:MOPENPHRASE_DB}
	@@${CP} ${DISTDIR}/${OPENPHRASE_DBFILE} ${WRKSRC}/data/db/open-phrase
.endif

post-patch:
	@@${REINPLACE_CMD} -e 's|DATADIRNAME=lib|DATADIRNAME=share|' ${WRKSRC}/configure

.include <bsd.port.mk>
@


1.15
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/313402
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d2 1
a2 1
# $FreeBSD: head/chinese/ibus-pinyin/Makefile 313402 2013-03-04 10:55:23Z lwhsu $
d30 5
a34 3
OPTIONS=	ANDROID_DB	"Build Android DB" on \
			OPENPHRASE_DB	"Build Open Phrase DB" off \
			OPENCC	"Use opencc" off
d36 1
a36 1
.include <bsd.port.pre.mk>
d38 1
a38 1
.if defined(WITH_ANDROID_DB)
d49 1
a49 1
.if defined(WITH_OPENPHRASE_DB)
d58 1
a58 1
.if defined(WITH_OPENCC)
d65 1
a65 1
.if !defined(WITHOUT_NLS)
d74 1
a74 1
.if defined(WITH_OPENPHRASE_DB)
d81 1
a81 1
.include <bsd.port.post.mk>
@


1.14
log
@Switch exporter over
@
text
@d1 2
a2 6
# New ports collection makefile for:	zh-ibus-pinyin
# Date created:				21 October 2008
# Whom:					Henry Hu <henry.hu.sh@@gmail.com>
#
# $FreeBSD: head/chinese/ibus-pinyin/Makefile 301534 2012-07-25 21:36:48Z gerald $
#
d16 1
a16 1
		${PYTHON_SITELIBDIR}/_sqlite3.so:${PORTSDIR}/databases/py-sqlite3
d18 1
a18 1
		${PYTHON_SITELIBDIR}/_sqlite3.so:${PORTSDIR}/databases/py-sqlite3
@


1.13
log
@SVN rev 301534 on 2012-07-25 21:36:48Z by gerald

Replace USE_GCC=4.4+ by USE_GCC=4.6+ since GCC 4.4 is on its way out
and GCC 4.6 has been the default for a while.

Approved by:	maintainer
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.12
log
@- update png to 1.5.10
@
text
@d27 1
a27 1
USE_GCC=	4.4+
@


1.11
log
@Update to 1.4.0.

Changes:
 * Remove dependency on boost
 * Require GCC 4.4+ for c++0x standard
 * Add three options to select database to use and select optional
   dependencies

PR:		ports/163883
Submitted by:	Henry Hu <henry.hu.sh gmail.com> (maintainer)
@
text
@d10 1
@


1.10
log
@- Update to 1.3.11

PR:		ports/156562
Submitted by:	Henry Hu <henry.hu.sh@@gmail.com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	1.3.11
d12 2
a13 1
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} ${DBTAR}
d19 3
a21 3
		${PYTHON_SITELIBDIR}/_sqlite3.so:${PORTSDIR}/databases/py-sqlite3 \
		${LOCALBASE}/include/boost/accumulators/accumulators.hpp:${PORTSDIR}/devel/boost-libs
RUN_DEPENDS=	${BUILD_DEPENDS}
d26 1
d29 1
a29 1
CONFIGURE_ARGS=	--disable-dependency-tracking
d33 33
d74 5
d82 1
a82 1
.include <bsd.port.mk>
@


1.9
log
@Promote dependencies to build dependencies.  This fixes a build
issue introduced by previous revision by me.

Submitted by:	wen
Feature safe:	yes
@
text
@d9 1
a9 1
PORTVERSION=	1.3.8
@


1.8
log
@Update to 1.3.8.

This is based on an earlier patch revised by maintainer
but all bugs are mine.

Approved by:	maintainer timeout
Feature safe:	yes
@
text
@d17 4
a20 2
RUN_DEPENDS=	ibus-daemon:${PORTSDIR}/textproc/ibus \
		${PYTHON_SITELIBDIR}/_sqlite3.so:${PORTSDIR}/databases/py-sqlite3
@


1.7
log
@Bounce PORTREVISION for gettext-related ports.  Have fun, ya'll.
@
text
@d9 1
a9 2
PORTVERSION=	1.2.0.20090915
PORTREVISION=	3
a27 2
DBVER=		0.1.10.6
DBTAR=		pinyin-database-${DBVER}.tar.bz2
d37 2
a38 3
post-extract:
	${MV} ${WRKDIR}/py.db ${WRKSRC}/engine/
	${TOUCH} ${WRKSRC}/engine/${DBTAR}
@


1.6
log
@- update to 1.4.1
Reviewed by:	exp8 run on pointyhat
Supported by:	miwi
@
text
@d10 1
a10 1
PORTREVISION=	2
@


1.5
log
@- update to jpeg-8
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.4
log
@- Update to 1.2.0.20090915

PR:		ports/140664
Submitted by:	Henry Hu <henry.hu.sh@@gmail.com> (maintainer)
@
text
@d10 1
@


1.3
log
@- bump all port that indirectly depends on libjpeg and have not yet been bumped or updated
Requested by:	edwin
@
text
@d9 1
a9 2
PORTVERSION=	1.1.0.20090303
PORTREVISION=	1
@


1.2
log
@Fix typo.
@
text
@d10 1
@


1.1
log
@PinYin engine for IBus.

WWW: http://code.google.com/p/ibus

PR:		ports/128371
Submitted by:	Henry Hu <henry.hu.sh@@gmail.com>
@
text
@d1 1
a1 1
# New ports collection makefile for:	ibus
@

