aboutsummaryrefslogtreecommitdiffstats
path: root/dns/libidn2/Makefile
blob: 73fb8a99b5bffcaf52f1b28504e8723d9639b02b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$

PORTNAME=   libidn2
PORTVERSION=    2.0.3
CATEGORIES= dns
MASTER_SITES=   GNU/libidn

MAINTAINER= sunpoet@FreeBSD.org
COMMENT=    Implementation of IDNA2008 internationalized domain names

LICENSE=    GPLv3
LICENSE_FILE=   ${WRKSRC}/COPYING

BUILD_DEPENDS=  ronn:textproc/rubygem-ronn
LIB_DEPENDS=    libunistring.so:devel/libunistring

CONFIGURE_ARGS= --disable-nls \
        --with-libunistring-prefix=${LOCALBASE}
GNU_CONFIGURE=  yes
INSTALL_TARGET= install-strip
USE_LDCONFIG=   yes
USES=       charsetfix gmake iconv libtool localbase pathfix

INFO=       libidn2

post-patch:
    @${REINPLACE_CMD} -e '/^TMPDIR = /d' ${WRKSRC}/Makefile.in

.include <bsd.port.mk>