blob: 21b0ed6d37b356889bf44d3f7e3560ed2cc35d20 (
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
41
42
43
44
45
46
47
48
49
|
# Created by: Jean Milanez Melo <jmelo@FreeBSD.org>
# $FreeBSD$
PORTNAME= libepp-nicbr
PORTVERSION= 1.13
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= xerces-c:${PORTSDIR}/textproc/xerces-c3
OPTIONS_DEFINE= READLINE
OPTIONS_DEFAULT=READLINE
READLINE_DESC= Enable readline support
USE_OPENSSL= yes
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}"
.if defined(.PARSEDIR)
USE_GMAKE= yes
.endif
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MREADLINE}
USES+= readline
PLIST_SUB+= READLINE=""
.else
CONFIGURE_ENV+= ac_cv_lib_readline_readline=no
PLIST_SUB+= READLINE="@comment "
.endif
post-patch:
@${REINPLACE_CMD} -e \
's|ncurses|curses|g' ${WRKSRC}/configure
.include <bsd.port.mk>
|