mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-31 05:41:08 +00:00
0b2e0c1e9c
While on it: - Simplify OPTIONS - Fix pkg-plist (missing entry for pt_BR, remove @dirrm, handled by pkg) PR: 193301 Submitted by: takefu@airport.fm Approved by: gaod@hychen.org (maintainer)
40 lines
785 B
Makefile
40 lines
785 B
Makefile
# Created by: Kirill Ponomarew <ponomarew@oberon.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libidn
|
|
PORTVERSION= 1.29
|
|
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= 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>
|