freebsd-ports/korean/libhangul/Makefile
Marcus von Appen a3a0715f38 - Convert USE_ICONV=yes to USES=iconv
- Change USE_GNOME=pkgconfig|gnomehack to USES=pathfix|pkgconfig while here

Reviewed by:	zeising
2013-04-27 11:59:28 +00:00

40 lines
828 B
Makefile

# New ports collection makefile for: libhangul
# Date created: 31 January 2007
# Whom: Hyogeol, Lee <hyogeollee@gmail.com>
#
# $FreeBSD$
#
PORTNAME= libhangul
PORTVERSION= 0.1.0
CATEGORIES= korean
MASTER_SITES= GOOGLE_CODE
MAINTAINER= hyogeollee@gmail.com
COMMENT= Library for Hangul processing
LICENSE= LGPL21
USES= iconv
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
.if !defined(WITHOUT_NLS)
USES+= gettext
LDFLAGS+= -L${LOCALBASE}/lib
CPPFLAGS+= -I${LOCALBASE}/include
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif
.include <bsd.port.pre.mk>
test: build
@( cd ${WRKSRC}/test && ${SETENV} ${MAKE_ENV} ${GMAKE} )
.if exists(${LOCALBASE}/libdata/pkgconfig/check.pc)
@( cd ${WRKSRC}/test && ${SETENV} ${MAKE_ENV} ${GMAKE} test && ./test )
.endif
.include <bsd.port.post.mk>