head	1.7;
access;
symbols
	RELEASE_8_3_0:1.2
	RELEASE_9_0_0:1.2;
locks; strict;
comment	@# @;


1.7
date	2012.11.17.05.54.58;	author svnexp;	state Exp;
branches;
next	1.6;

1.6
date	2012.07.26.05.40.22;	author bapt;	state Exp;
branches;
next	1.5;

1.5
date	2012.07.19.23.51.34;	author delphij;	state Exp;
branches;
next	1.4;

1.4
date	2012.07.19.23.35.57;	author delphij;	state Exp;
branches;
next	1.3;

1.3
date	2012.05.25.07.25.44;	author wen;	state Exp;
branches;
next	1.2;

1.2
date	2011.11.11.15.38.55;	author clsung;	state Exp;
branches;
next	1.1;

1.1
date	2011.11.11.02.46.15;	author clsung;	state Exp;
branches;
next	;


desc
@@


1.7
log
@Switch exporter over
@
text
@# New ports collection makefile for:	sunpinyin
# Date created:				10 Nov 2011
# Whom:			Zhihao Yuan <lichray@@gmail.com>
#
# $FreeBSD: head/chinese/sunpinyin/Makefile 301539 2012-07-26 05:40:22Z bapt $
#

PORTNAME=	sunpinyin
DISTVERSION=	2.0.4rc2
CATEGORIES=	chinese devel
MASTER_SITES=	LOCAL/delphij:1 \
		${MASTER_SITE_GOOGLE_CODE}:1 \
		http://open-gram.googlecode.com/files/:2
DISTFILES=	${DISTNAME}${EXTRACT_SUFX}:1 \
		lm_sc.t3g.arpa.tar.bz2:2 dict.utf8.tar.bz2:2
EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}

MAINTAINER=	lichray@@gmail.com
COMMENT=	A statistical language model based input method engine

LICENSE=	LGPL21 CDDL
LICENSE_COMB=	dual

LIB_DEPENDS=	sqlite3:${PORTSDIR}/databases/sqlite3

LICENSE_FILE_LGPL21=	${WRKSRC}/LGPL.LICENSE
LICENSE_FILE_CDDL=	${WRKSRC}/OPENSOLARIS.LICENSE

USE_XZ=		yes
USE_SCONS=	yes
SCONS_ARGS+=	--prefix=${PREFIX} --libdatadir=${PREFIX}/share
USE_LDCONFIG=	yes
USE_PKGCONFIG=	yes
USE_GMAKE=	yes

post-patch:
	@@${CP} ${_DISTDIR}/lm_sc.t3g.arpa.tar.bz2 \
		${_DISTDIR}/dict.utf8.tar.bz2 ${WRKSRC}/raw

.include <bsd.port.mk>
@


1.6
log
@SVN rev 301539 on 2012-07-26 05:40:22Z by bapt

new devel/pkgconf added to replace devel/pkg-config. new version of pkg-config
are no more self hosting so we are stuck with 0.25 version while pkgconf provide
the same set of features as 0.27 and a compatible frontend. A symlink to
pkg-config has been added for convenience and compatibility

This also introduces a new macro to use pkgconf in your ports:
USE_PKGCONFIG

it can take the following arguments:
 - yes (meaning build only dep)
 - build (meaning build only dep)
 - run (meaning run only dep)
 - both (meaning run and build dep)

From now USE_GNOME= pkgconfig is deprecated in favour of USE_PKGCONFIG
The old gnome macro has been modified to use pkgconf but still the sameway: run
and build dep to avoid large breakage.

While here fix some ports relying on pkg-config but not specifying it, fix some
ports broken because testing wrong .pc files, and fix ports using pkg-config
--version to determine pkg-config version instead of
pkg-config --modversion pkg-config like recommanded by pkg-config

With Hat:	portmgr
Exp-runs by:	bapt (pointhat-west), beat (pointyhat)
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.5
log
@SVN rev 301200 on 2012-07-19 23:51:34Z by delphij

 - Host the distfile at FreeBSD's site;
 - Remove maintainer's URL from master sites;
 - Recompress to make the file smaller.

Requested by:	maintainer
@
text
@a24 1
BUILD_DEPENDS=	pkg-config:${PORTSDIR}/devel/pkg-config
d33 1
@


1.4
log
@SVN rev 301199 on 2012-07-19 23:35:57Z by delphij

Update to 2.0.4 RC 2

PR:		ports/170008
Submitted by:	Zhihao Yuan <lichray gmail com> (maintainer)
@
text
@d11 1
a11 2
MASTER_SITES=	LOCAL/wen:1 \
		http://students.cs.niu.edu/~z1565938/distfiles/:1 \
@


1.3
log
@- Update to 2.0.4rc1

PR:		167863
Submitted by:	Zhihao Yuan <lichray@@gmail.com>
@
text
@d9 1
a9 1
DISTVERSION=	2.0.4rc1
d12 1
d25 1
a25 1
LIB_DEPENDS=	sqlite3.8:${PORTSDIR}/databases/sqlite3
@


1.2
log
@- bump PORTREVISION
- Make chinese/sunpinyin 2.0.4-compatible, XDG-compatible, etc.
1. patch-2.0.4-compatible
sunpinyin-2.0.4 is not released, but I'm porting a front-end which uses several changes from the newer version. This patch is enough.

2. patch-xdg
Change the config dir from .sunpinyin to .config/sunpinyin. It's safe because we have no front-ends in ports tree, so no one has these configured :)

3. patch-src...
Remove the unneeded and repeated message on terminal.

PR:		ports/162465
Submitted by:	maintainer (Zhihao Yuan)
Feature safe:	yes
@
text
@d9 1
a9 2
PORTVERSION=	2.0.3
PORTREVISION=	1
d11 2
a12 1
MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}:1 \
d30 1
@


1.1
log
@SunPinyin is a statistical language model based Chinese input method, which
was firstly developed by Sun Beijing Globalization team, and opensource'd
to community with opensolaris project, with LGPLv2 and CDDL dual-licenses.

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

Feature safe:	yes
@
text
@d10 1
@

