opnsense-ports/chinese/opencc/Makefile
Franco Fichtner 69b48d3f1e */*: sync with upstream
Taken from: FreeBSD
2015-09-10 05:23:56 +02:00

28 lines
496 B
Makefile

# Created by: Zhihao Yuan <lichray@gmail.com>
# $FreeBSD$
PORTNAME= opencc
PORTVERSION= 0.4.3
CATEGORIES= chinese converters
MASTER_SITES= 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
post-patch:
@${REINPLACE_CMD} -e 's@/usr/local@${LOCALBASE}@g' \
${WRKSRC}/CMakeLists.txt
.include <bsd.port.mk>