1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/korean/libhangul/Makefile
Jung-uk Kim 19152012e7 - Add a patch from upstram.
- Use options framework properly.
2013-12-24 23:02:33 +00:00

38 lines
740 B
Makefile

# Created by: Hyogeol, Lee <hyogeollee@gmail.com>
# $FreeBSD$
PORTNAME= libhangul
PORTVERSION= 0.1.0
PORTREVISION= 1
CATEGORIES= korean
MASTER_SITES= GOOGLE_CODE
MAINTAINER= jkim@FreeBSD.org
COMMENT= Library for Hangul processing
LICENSE= LGPL21
GNU_CONFIGURE= yes
OPTIONS_DEFINE= NLS
OPTIONS_DEFAULT=NLS
OPTIONS_SUB= NLS
USE_LDCONFIG= yes
USES= iconv pkgconfig
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
CONFIGURE_ARGS= --enable-nls
.else
CONFIGURE_ARGS= --disable-nls
.endif
.if exists(${LOCALBASE}/libdata/pkgconfig/check.pc)
test: build
@( cd ${WRKSRC}/test && ${SETENV} ${MAKE_ENV} ${GMAKE} )
@( cd ${WRKSRC}/test && ${SETENV} ${MAKE_ENV} ${GMAKE} test && ./test )
.endif
.include <bsd.port.mk>