diff options
Diffstat (limited to 'dns/libidn/Makefile')
-rw-r--r-- | dns/libidn/Makefile | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/dns/libidn/Makefile b/dns/libidn/Makefile index 869cce06ac38..f8c4d93cd79d 100644 --- a/dns/libidn/Makefile +++ b/dns/libidn/Makefile @@ -2,16 +2,13 @@ # $FreeBSD$ PORTNAME= libidn -PORTVERSION= 1.28 -PORTREVISION= 2 +PORTVERSION= 1.29 CATEGORIES= dns MASTER_SITES= GNU MAINTAINER= gaod@hychen.org COMMENT= Internationalized Domain Names command line tool -OPTIONS_DEFINE= DOCS NLS - GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib @@ -22,15 +19,12 @@ USE_PERL5= build INFO= libidn -.include <bsd.port.options.mk> +OPTIONS_DEFINE= DOCS NLS + +OPTIONS_SUB=yes -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -PLIST_SUB+= NLS="" -.else -CONFIGURE_ARGS+=--disable-nls -PLIST_SUB+= NLS="@comment " -.endif +NLS_CONFIGURE_ENABLE= nls +NLS_USES= gettext post-patch: @${REINPLACE_CMD} -e '/^Libs.private:/s/$$/ @LTLIBINTL@/' \ |