blob: d158eaf515b7cbc54c40c6dd2052aceba0406a08 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# New ports collection makefile for: libhangul
# Date created: 31 January 2007
# Whom: Hyogeol, Lee <hyogeollee@gmail.com>
#
# $FreeBSD$
#
PORTNAME= libhangul
PORTVERSION= 0.0.12
CATEGORIES= korean
MASTER_SITES= http://kldp.net/frs/download.php/5855/
MAINTAINER= hyogeollee@gmail.com
COMMENT= A library for hangul processing
LICENSE= LGPL21
USE_ICONV= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
CONFIGURE_ENV= 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>
|