freebsd-ports/dns/libidn/Makefile

56 lines
1.1 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: libidn
# Date created: 19.06.2003
# Whom: Kirill Ponomarew <ponomarew@oberon.net>
#
# $FreeBSD$
#
PORTNAME= libidn
2005-01-29 10:08:07 +01:00
PORTVERSION= 0.5.13
CATEGORIES= devel
2004-11-08 21:32:13 +01:00
MASTER_SITES= http://josefsson.org/libidn/releases/ \
${MASTER_SITE_GNU_ALPHA}
2003-10-31 03:39:30 +01:00
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= krion@FreeBSD.org
COMMENT= Internationalized Domain Names command line tool
BUILD_DEPENDS= gengetopt:${PORTSDIR}/devel/gengetopt
2004-03-19 00:03:09 +01:00
USE_GETOPT_LONG= yes
2005-01-25 22:10:41 +01:00
USE_GNOME= gnomehack gnometarget pkgconfig
2004-03-23 16:08:51 +01:00
USE_ICONV= yes
2005-01-29 10:08:07 +01:00
USE_LIBTOOL_VER=15
2004-03-23 16:08:51 +01:00
USE_PERL5_BUILD= yes
USE_REINPLACE= yes
2005-01-29 10:08:07 +01:00
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
2005-01-29 10:08:07 +01:00
INSTALLS_SHLIB= yes
2004-03-19 00:03:09 +01:00
INFO= libidn
2004-03-28 16:46:18 +02:00
.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
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for i in README FAQ
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
2003-12-15 11:32:47 +01:00
.include "Makefile.man"
.include <bsd.port.mk>