blob: ace01597842abd547f02f5c27b4753746e57804e (
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
|
# Created by: Kirill Ponomarew <ponomarew@oberon.net>
# $FreeBSD$
PORTNAME= libidn
PORTVERSION= 1.33
PORTREVISION= 1
CATEGORIES= dns
MASTER_SITES= GNU
MAINTAINER= gaod@hychen.org
COMMENT= Internationalized Domain Names command line tool
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip
USES= gmake iconv libtool makeinfo pathfix perl5 pkgconfig
USE_LDCONFIG= yes
USE_PERL5= build
INFO= libidn
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB=yes
NLS_CONFIGURE_ENABLE= nls
NLS_USES= gettext
post-patch:
@${REINPLACE_CMD} -e '/^Libs.private:/s/$$/ @LTLIBINTL@/' \
${WRKSRC}/libidn.pc.in
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in FAQ NEWS README
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>
|