freebsd-ports/devel/ahven/Makefile
2013-11-10 10:54:38 +00:00

33 lines
790 B
Makefile

# 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>