aboutsummaryrefslogtreecommitdiff
path: root/devel/libepp-nicbr/Makefile
blob: b1708d18b47347dd79bdd605c5410d3911b19423 (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
31
32
33
34
35
36
37
38
39
40
# Created by: Jean Milanez Melo <jmelo@FreeBSD.org>

PORTNAME=	libepp-nicbr
PORTVERSION=	1.18
CATEGORIES=	devel
MASTER_SITES=	ftp://ftp.registro.br/pub/libepp-nicbr/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Partial Extensible Provisioning Protocol to .br domains

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libxerces-c.so:textproc/xerces-c3

USES=		autoreconf libtool ssl
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	ac_cv_header_cppunit_TestRunner_h=no
CONFIGURE_ARGS=	--with-xerces-c=${LOCALBASE} \
		--with-openssl=${OPENSSLBASE}

DATADIR=	${PREFIX}/share/${PORTNAME:S/-/_/}

PLIST_SUB=	VER="${PORTVERSION}"

OPTIONS_DEFINE=		READLINE
OPTIONS_DEFAULT=	READLINE
OPTIONS_SUB=		yes

READLINE_USES=		ncurses readline
READLINE_CONFIGURE_ENV_OFF=\
			ac_cv_lib_readline_readline=no

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MREADLINE} && !exists(/usr/lib/libreadline.so)
CONFIGURE_ARGS+=--with-readline-includes=${LOCALBASE}/include
.endif

.include <bsd.port.mk>