aboutsummaryrefslogtreecommitdiffstats
path: root/devel/ahven/Makefile
blob: b737ce9d327f11be070ce44b57d5ca39cb19a13e (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
# Created by: John Marino <marino@FreeBSD.org>
# $FreeBSD$

PORTNAME=   ahven
PORTVERSION=    2.3
CATEGORIES= devel
MASTER_SITES=   SF
MASTER_SITE_SUBDIR=${PORTNAME}/${PORTNAME}/Ahven%20${PORTVERSION}

MAINTAINER= marino@FreeBSD.org
COMMENT=    Ada unit test framework

BUILD_DEPENDS=  adactl:${PORTSDIR}/lang/adacontrol

USES=       ada
ALL_TARGET= build_all

OPTIONS_DEFINE= DOCS

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MDOCS}
USE_PYTHON= yes
BUILD_DEPENDS+= sphinx-build:${PORTSDIR}/textproc/py-sphinx \
        ${PYTHON_PKGNAMEPREFIX}sphinxcontrib-adadomain>0:${PORTSDIR}/textproc/py-sphinxcontrib-adadomain
ALL_TARGET+=    docs
.endif

post-install:
    @${RM} -rf ${STAGEDIR}${PREFIX}/share/doc/ahven/html/_sources
    @${RM} ${STAGEDIR}${PREFIX}/share/doc/ahven/html/.buildinfo

.include <bsd.port.mk>