mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-17 03:25:46 +00:00
8503536d38
Approved by: portmgr (kris)
55 lines
1.1 KiB
Makefile
55 lines
1.1 KiB
Makefile
# New ports collection makefile for: libidn
|
|
# Date created: 19.06.2003
|
|
# Whom: Kirill Ponomarew <ponomarew@oberon.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= libidn
|
|
PORTVERSION= 0.6.2
|
|
PORTREVISION= 1
|
|
CATEGORIES= dns
|
|
MASTER_SITES= ${MASTER_SITE_GNU_ALPHA} \
|
|
http://josefsson.org/libidn/releases/
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= krion@FreeBSD.org
|
|
COMMENT= Internationalized Domain Names command line tool
|
|
|
|
USE_GETOPT_LONG= yes
|
|
USE_GNOME= gnomehack gnometarget pkgconfig
|
|
USE_ICONV= yes
|
|
GNU_CONFIGURE= yes
|
|
USE_PERL5_BUILD= yes
|
|
USE_REINPLACE= yes
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LIBS="-L${LOCALBASE}/lib"
|
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
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
|
|
|
|
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>
|