head	1.6;
access;
symbols
	RELEASE_8_3_0:1.4
	RELEASE_9_0_0:1.1;
locks; strict;
comment	@# @;


1.6
date	2013.03.22.23.30.04;	author svnexp;	state Exp;
branches;
next	1.5;

1.5
date	2012.11.17.05.54.57;	author svnexp;	state Exp;
branches;
next	1.4;

1.4
date	2012.01.11.23.39.24;	author cs;	state Exp;
branches;
next	1.3;

1.3
date	2012.01.09.15.40.54;	author tabthorpe;	state Exp;
branches;
next	1.2;

1.2
date	2011.12.28.03.27.46;	author linimon;	state Exp;
branches;
next	1.1;

1.1
date	2011.12.02.01.27.24;	author vanilla;	state Exp;
branches;
next	;


desc
@@


1.6
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/314960
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# New ports collection makefile for:	opencc
# Date created:				28 Nov 2011
# Whom:			Zhihao Yuan <lichray@@gmail.com>
#
# $FreeBSD: head/chinese/opencc/Makefile 314960 2013-03-22 20:06:14Z makc $
#

PORTNAME=	opencc
PORTVERSION=	0.3.0
CATEGORIES=	chinese converters
MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}

MAINTAINER=	lichray@@gmail.com
COMMENT=	Open Chinese Convert library and utilities

LICENSE=	AL2

MAN1=	opencc.1 opencc_dict.1

USES=		cmake
USE_LDCONFIG=	yes

.if !defined(WITHOUT_NLS)
USE_GETTEXT=	yes
CMAKE_ARGS+=	-DENABLE_GETTEXT=On
PLIST_SUB+=	NLS=""
.else
PLIST_SUB+=	NLS="@@comment "
.endif

.if defined(NOPORTDATA)
IGNORE=		thesaurus are required, undefine NOPORTDATA
.endif

post-patch:
	@@${REINPLACE_CMD} -e 's@@/usr/local@@${LOCALBASE}@@g' \
		${WRKSRC}/CMakeLists.txt

.include <bsd.port.pre.mk>

.if ${ARCH} == "powerpc"
BROKEN=		Does not install on powerpc: signal 11
.endif

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


1.5
log
@Switch exporter over
@
text
@d5 1
a5 1
# $FreeBSD: head/chinese/opencc/Makefile 300895 2012-07-14 12:56:14Z beat $
d20 1
a20 1
USE_CMAKE=	yes
@


1.4
log
@Update to 0.3.0

PR:		ports/163052
Submitted by:	Zhihao Yuan <lichray@@gmail.com> (maintainer)
Approved by:	glarkin@@ (mentor)
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.3
log
@- The proper acronym for Apache Software License 2 is really AL2
- Thanks to crees@@ for generating the initial patch

PR:		ports/163521
Submitted by:	Pedro Giffuni <pfg apache.org>
Hat:		portmgr
Exp run by:	pav
@
text
@d9 1
a9 1
PORTVERSION=	0.2.0
@


1.2
log
@Mark as broken on powerpc: fails to install with signal 11.

Hat:		portmgr
@
text
@d16 1
a16 1
LICENSE=	ASL
@


1.1
log
@Add opencc 0.2.0, open Chinese Convert library and utilities.

PR:		ports/162931
Submitted by:	Zhihao Yuan <lichray@@gmail.com>
Feature safe:   yes
@
text
@d39 7
a45 1
.include <bsd.port.mk>
@

