aboutsummaryrefslogtreecommitdiffstats
path: root/net/axa/Makefile
blob: 0338f87766045b24dfe65f8ff5f5e3a40e8d5ecd (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
# $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>