summaryrefslogtreecommitdiff
path: root/dns/hesiod/Makefile
blob: 9e96fe8aa7b4c0701fb5c82c1d0056369a5995b6 (plain)
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
31
32
33
34
35
# Created by: n@nectar.com

PORTNAME=	hesiod
PORTVERSION=	3.2.1
PORTREVISION=	3
CATEGORIES=	dns
MASTER_SITES=	https://BSDforge.com/projects/source/dns/hesiod/

MAINTAINER=	portmaster@BSDforge.com
COMMENT=	Directory service built on DNS and BIND

LICENSE=	BSD2CLAUSE
LICENSE_FILE=	${WRKSRC}/COPYING

OPTIONS_DEFINE=	IDN
OPTIONS_DEFAULT=IDN

USES=		cpe libtool pathfix
CPE_VENDOR=	${PORTNAME}_project
GNU_CONFIGURE=	yes
INSTALL_TARGET=	install-strip
USE_LDCONFIG=	yes

CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MIDN}
LIB_DEPENDS+=	libidn.so:dns/libidn
.else
CONFIGURE_ARGS+=--without-libidn
.endif

.include <bsd.port.mk>