2013-05-06 17:18:38 +02:00
|
|
|
# Created by: Hyogeol, Lee <hyogeollee@gmail.com>
|
2007-02-05 21:35:48 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= libhangul
|
2011-12-21 14:27:06 +01:00
|
|
|
PORTVERSION= 0.1.0
|
2014-07-03 19:31:39 +02:00
|
|
|
PORTREVISION= 2
|
2007-02-05 21:35:48 +01:00
|
|
|
CATEGORIES= korean
|
2011-12-21 14:27:06 +01:00
|
|
|
MASTER_SITES= GOOGLE_CODE
|
2007-02-05 21:35:48 +01:00
|
|
|
|
2013-06-24 21:05:53 +02:00
|
|
|
MAINTAINER= jkim@FreeBSD.org
|
2012-07-29 13:17:02 +02:00
|
|
|
COMMENT= Library for Hangul processing
|
2007-02-05 21:35:48 +01:00
|
|
|
|
2011-08-26 23:06:50 +02:00
|
|
|
LICENSE= LGPL21
|
|
|
|
|
2007-02-05 21:35:48 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2013-12-25 00:02:33 +01:00
|
|
|
OPTIONS_DEFINE= NLS
|
|
|
|
OPTIONS_DEFAULT=NLS
|
|
|
|
OPTIONS_SUB= NLS
|
2013-06-24 21:05:53 +02:00
|
|
|
USE_LDCONFIG= yes
|
2014-07-03 19:31:39 +02:00
|
|
|
USES= iconv libtool pkgconfig
|
2011-08-26 23:06:50 +02:00
|
|
|
|
2013-05-06 17:18:38 +02:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
2013-04-24 20:10:30 +02:00
|
|
|
USES+= gettext
|
2013-06-24 21:05:53 +02:00
|
|
|
CONFIGURE_ARGS= --enable-nls
|
2011-08-26 23:06:50 +02:00
|
|
|
.else
|
2013-06-24 21:05:53 +02:00
|
|
|
CONFIGURE_ARGS= --disable-nls
|
2011-08-26 23:06:50 +02:00
|
|
|
.endif
|
|
|
|
|
2013-06-24 21:05:53 +02:00
|
|
|
.if exists(${LOCALBASE}/libdata/pkgconfig/check.pc)
|
2011-08-26 23:06:50 +02:00
|
|
|
test: build
|
2014-06-25 07:35:31 +02:00
|
|
|
@( cd ${WRKSRC}/test && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} )
|
|
|
|
@( cd ${WRKSRC}/test && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} test && ./test )
|
2011-08-26 23:06:50 +02:00
|
|
|
.endif
|
2007-02-05 21:35:48 +01:00
|
|
|
|
2013-06-24 21:05:53 +02:00
|
|
|
.include <bsd.port.mk>
|