1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/dns/libidn/Makefile
Bryan Drewery 412f3c3fa4 Update to 1.25
ChangeLog:

1.23
  https://lists.gnu.org/archive/html/info-gnu/2011-11/msg00014.html
1.24
  https://lists.gnu.org/archive/html/info-gnu/2012-01/msg00008.html
1.25
  https://lists.gnu.org/archive/html/info-gnu/2012-05/msg00010.html

Submitted by:	Hung-Yi Chen <gaod@hychen.org> (maintainer)
PR:		ports/170428
Approved by:	eadler (mentor)
2012-08-08 01:04:59 +00:00

56 lines
1.3 KiB
Makefile

# New ports collection makefile for: libidn
# Date created: 19.06.2003
# Whom: Kirill Ponomarew <ponomarew@oberon.net>
#
# $FreeBSD$
#
PORTNAME= libidn
PORTVERSION= 1.25
CATEGORIES= dns
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= gaod@hychen.org
COMMENT= Internationalized Domain Names command line tool
USE_GNOME= gnomehack pkgconfig
USE_ICONV= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
USE_PERL5_BUILD= yes
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib"
CPPFLAGS+= -I${LOCALBASE}/include
INFO= libidn
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif
post-patch:
@${REINPLACE_CMD} -e 's|@image{components}||g' \
${WRKSRC}/doc/libidn.texi
@${REINPLACE_CMD} -e 's|$$(AUTOMAKE)|${TRUE}|' \
-e 's|imagesdir = $$(infodir)|imagesdir = $$(docdir)|' \
${WRKSRC}/doc/Makefile.in
.if defined(NOPORTDOCS)
@${REINPLACE_CMD} -e 's|install-data-am: install-imagesDATA install-info-am install-man|install-data-am: install-info-am install-man|' \
${WRKSRC}/doc/Makefile.in
.endif
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for i in FAQ NEWS README
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
.include "Makefile.man"
.include <bsd.port.mk>