summaryrefslogtreecommitdiffstats
path: root/dns/libidn/Makefile
diff options
context:
space:
mode:
authordaichi <daichi@FreeBSD.org>2003-07-02 12:24:41 +0000
committerdaichi <daichi@FreeBSD.org>2003-07-02 12:24:41 +0000
commit2ea953c7e18b5c63d2508441edd81530c43ebc36 (patch)
tree76b104b92a25b0c5c60e7aa426fec1c00b97478c /dns/libidn/Makefile
parent17af89d2bc4ec98a65298d6422dc266e2fbb6e99 (diff)
downloadFreeBSD-ports-2ea953c7e18b5c63d2508441edd81530c43ebc36.zip
FreeBSD-ports-2ea953c7e18b5c63d2508441edd81530c43ebc36.tar.gz
Add libidn 0.2.0, internationalized Domain Names command line tool.
PR: 53519 Submitted by: Kirill Ponomarew <ponomarew@oberon.net>
Diffstat (limited to 'dns/libidn/Makefile')
-rw-r--r--dns/libidn/Makefile44
1 files changed, 44 insertions, 0 deletions
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 <ponomarew@oberon.net>
+#
+# $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 <bsd.port.mk>
OpenPOWER on IntegriCloud