mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
0717b41424
Reduce over inclusion of bsd.port.mk by: Use BROKEN_${ARCH} Use options helpers Use OPTIONS_SUB
31 lines
567 B
Makefile
31 lines
567 B
Makefile
# 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>
|