aboutsummaryrefslogtreecommitdiffstats
path: root/lang/adacontrol/Makefile
blob: 996e210c8cb61ceeb33c022b54057b4251ed5179 (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
# Created by: John Marino <marino@FreeBSD.org>
# $FreeBSD$

PORTNAME=   adacontrol
PORTVERSION=    1.15r5
PORTREVISION=   1
CATEGORIES= lang
MASTER_SITES=   SF/adacontrol
DISTNAME=   adactl_old-${PORTVERSION}-src
EXTRACT_SUFX=   .tgz

MAINTAINER= marino@FreeBSD.org
COMMENT=    Tool for detecting use or non-use of specific Ada constructs

LICENSE=    GPLv2 GMGPL
LICENSE_COMB=   multi

BUILD_DEPENDS=  asis>=2011:${PORTSDIR}/lang/asis

USES=       ada gmake
WRKSRC=     ${WRKDIR}/adactl-${PORTVERSION}
BUILD_WRKSRC=   ${WRKSRC}/src
ALL_TARGET= build

do-install:
    ${MKDIR} ${STAGEDIR}${PREFIX}/bin
    ${MKDIR} ${STAGEDIR}${PREFIX}/share/gps/plug-ins
    ${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/gps/html
    ${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/adacontrol
    ${MKDIR} ${STAGEDIR}${PREFIX}/share/gprconfig
    ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/adactl ${BUILD_WRKSRC}/pfni \
        ${BUILD_WRKSRC}/ptree ${STAGEDIR}/${PREFIX}/bin
    ${INSTALL_DATA} ${WRKSRC}/GPS/adacontrol.xml \
        ${STAGEDIR}${PREFIX}/share/gprconfig
    ${INSTALL_DATA} ${WRKSRC}/GPS/*adactl* ${WRKSRC}/GPS/pfni.* \
        ${STAGEDIR}${PREFIX}/share/gps/plug-ins
    ${INSTALL_MAN} ${WRKSRC}/doc/*.html \
        ${STAGEDIR}${PREFIX}/share/doc/gps/html
    ${INSTALL_MAN} ${WRKSRC}/doc/*.pdf ${WRKSRC}/doc/*.html \
        ${STAGEDIR}${PREFIX}/share/doc/adacontrol

.include <bsd.port.mk>