From 2ea953c7e18b5c63d2508441edd81530c43ebc36 Mon Sep 17 00:00:00 2001 From: daichi Date: Wed, 2 Jul 2003 12:24:41 +0000 Subject: Add libidn 0.2.0, internationalized Domain Names command line tool. PR: 53519 Submitted by: Kirill Ponomarew --- dns/libidn/Makefile | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 dns/libidn/Makefile (limited to 'dns/libidn/Makefile') diff --git a/dns/libidn/Makefile b/dns/libidn/Makefile new file mode 100644 index 0000000..2fafeca --- /dev/null +++ b/dns/libidn/Makefile @@ -0,0 +1,44 @@ +# New ports collection makefile for: libidn +# Date created: 19.06.2003 +# Whom: Kirill Ponomarew +# +# $FreeBSD$ +# + +PORTNAME= libidn +PORTVERSION= 0.2.0 +CATEGORIES= devel +MASTER_SITES= ftp://alpha.gnu.org/pub/gnu/${PORTNAME}/ \ + ftp://ftp.funet.fi/pub/mirrors/alpha.gnu.org/gnu/${PORTNAME}/ + +MAINTAINER= ponomarew@oberon.net +COMMENT= Internationalized Domain Names command line tool + +LIB_DEPENDS= iconv:${PORTSDIR}/converters/libiconv + +USE_LIBTOOL= yes +GNU_CONFIGURE= yes +INSTALLS_SHLIB= yes +USE_GETOPT_LONG= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LIBS="-L${LOCALBASE}/lib" + +.if exists(${LOCALBASE}/bin/emacs) +PLIST_SUB+= EMACS="" EMACSDIR=share/emacs +.elif exists(${LOCALBASE}/bin/xemacs) +PLIST_SUB+= EMACS="" EMACSDIR=lib/xemacs +.else +PLIST_SUB+= EMACS="@comment " EMACSDIR="" +.endif + +MAN1= idn.1 + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} +.for i in README FAQ + ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} +.endfor +.endif + +.include -- cgit v1.1