freebsd-ports/net/axa/Makefile
Don Lewis e7f8392cc3 Convert to USES=autoreconf.
Use option helpers (suggested by mat@).

Differential Revision:	https://reviews.freebsd.org/D1474
Approved by:	mat (mentor)
2015-01-10 18:23:35 +00:00

45 lines
958 B
Makefile

# $FreeBSD$
PORTNAME= axa
PORTVERSION= 1.0.0
CATEGORIES= net dns
MAINTAINER= truckman@FreeBSD.org
COMMENT= AXA library and tools
LICENSE= APACHE20
BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash \
sie-nmsg>0:${PORTSDIR}/net/sie-nmsg
LIB_DEPENDS= libprotobuf-c.so:${PORTSDIR}/devel/protobuf-c \
libnmsg.so:${PORTSDIR}/net/nmsg \
libwdns.so:${PORTSDIR}/dns/wdns
USE_GITHUB= yes
GH_ACCOUNT= farsightsec
GH_COMMIT= bf9c038
GH_TAGNAME= ${GH_COMMIT}
GNU_CONFIGURE= yes
USES= autoreconf gmake libtool pathfix pkgconfig
CONFIGURE_SHELL= ${LOCALBASE}/bin/bash
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
PORTDOCS= *
OPTIONS_DEFINE= DOXYGEN
OPTIONS_DEFAULT=DOXYGEN
ALL_TARGET= all
DOXYGEN_BUILD_DEPENDS= doxygen:${PORTSDIR}/devel/doxygen
DOXYGEN_ALL_TARGET= html-local
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOXYGEN}
post-install:
(cd ${WRKSRC}/doc/doxygen && ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR})
.endif
.include <bsd.port.mk>