freebsd-ports/net/kea/Makefile
Kurt Jaeger d6af702448 net/kea: update 1.3.0 -> 1.4.0-P1
PR:		229088
Submitted by:	Andrey Pevnev <apevnev@me.com>
Reviewed by:	Jeff Kletsky <jeff+freebsd@wagsky.com>
Approved by:	hrs (maintainer timeout)
Relnotes:	https://ftp.isc.org/isc/kea/1.4.0/Kea140ReleaseNotes.txt
		https://ftp.isc.org/isc/kea/1.4.0-P1/Kea140P1ReleaseNotes.txt
		https://www.isc.org/blogs/kea-1-4-adds-high-availability-mode/
		https://kb.isc.org/docs/aa-01615
2018-11-10 20:46:36 +00:00

64 lines
1.7 KiB
Makefile

# $FreeBSD$
PORTNAME= kea
PORTVERSION= ${ISCVERSION:S/-P/P/:S/b/.b/:S/a/.a/:S/rc/.rc/}
PORTREVISION= 0
CATEGORIES= net ipv6
MASTER_SITES= ISC/kea/${ISCVERSION}
DISTNAME= ${PORTNAME}-${ISCVERSION}
MAINTAINER= hrs@FreeBSD.org
COMMENT= Alternative DHCP implementation by ISC
LICENSE= MPL20
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= liblog4cplus.so:devel/log4cplus \
libboost_system.so:devel/boost-libs
BROKEN_powerpc64= fails to configure: checking for log4cplus library... no
# ISC releases things like 1.4.0-P1, which our versioning doesn't like
ISCVERSION= 1.4.0-P1
CPE_VENDOR= isc
CPE_VERSION= ${ISCVERSION:C/-.*//}
.if ${ISCVERSION:M*-*}
CPE_UPDATE= ${ISCVERSION:C/.*-//:tl}
.endif
USES= autoreconf compiler:c++11-lang libtool pathfix ssl cpe
USE_LDCONFIG= yes
USE_RC_SUBR= ${PORTNAME}
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-openssl=${OPENSSLBASE} \
--with-log4cplus=${LOCALBASE} \
--with-boost-include=${LOCALBASE}/include \
--with-boost-lib-dir=${LOCALBASE}/lib \
--without-werror
INSTALL_TARGET= install-strip
TEST_TARGET= check
PORTDOCS= AUTHORS COPYING ChangeLog README \
kea-guide.css kea-guide.html kea-guide.txt \
kea-messages.html kea-logo-100x70.png \
examples
OPTIONS_DEFINE= DOCS MYSQL PGSQL
DOCS_MAKE_ARGS_OFF= \
INSTALL_STRIP_PROGRAM="${WRKSRC}/install-sh -c -s" \
INSTALL_STRIP_FLAG="-s" \
INSTALL_PROGRAM_ENV="STRIPPROG=${STRIP}"
DOCS_INSTALL_TARGET_OFF= \
install-exec-am \
install-pkgconfigDATA \
install-pkgincludeHEADERS
MYSQL_USE= MYSQL=client
MYSQL_CONFIGURE_ON= --with-dhcp-mysql=${LOCALBASE}/bin/mysql_config
MYSQL_CONFIGURE_OFF= --without-dhcp-mysql
PGSQL_USES= pgsql
WANT_PGSQL= client
PGSQL_CONFIGURE_ON= --with-dhcp-pgsql=${LOCALBASE}/bin/pg_config
PGSQL_CONFIGURE_OFF= --without-dhcp-pgsql
.include <bsd.port.mk>