aboutsummaryrefslogtreecommitdiff
path: root/chinese/opencc/Makefile
blob: 39d43d03d246ea7c260abbf92b48f7b7ca65b644 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Created by: Zhihao Yuan <lichray@gmail.com>
# $FreeBSD$

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=	APACHE20

USES=		cmake
USE_LDCONFIG=	yes

OPTIONS_DEFINE=	NLS

NLS_USES=	gettext
NLS_CMAKE_ON=	-DENABLE_GETTEXT=On

OPTIONS_SUB=	yes

BROKEN_powerpc=	Does not install on powerpc: signal 11

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

.include <bsd.port.mk>