aboutsummaryrefslogtreecommitdiffstats
path: root/devel/adabooch/Makefile
blob: 6c65a3020d86ed83dc79c4654b95f583722400f8 (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
# New ports collection makefile for:    adabooch
# Date created:         21 December 2002
# Whom:             David Holm <david@realityrift.com>
#
# $FreeBSD$
#

PORTNAME=   adabooch
PORTVERSION=    20020602
CATEGORIES= devel
MASTER_SITES=   http://www.adapower.net/booch/download/ \
        http://www.pogner.demon.co.uk/components/bc/download/
DISTNAME=   bc-${PORTVERSION}
EXTRACT_SUFX=   .tgz

MAINTAINER= ports@FreeBSD.org
COMMENT=    Library which provide container classes as well as powertools for Ada

NO_BUILD=   yes

do-install:
    @${ECHO} Installing library files
    @${MKDIR} ${PREFIX}/lib/adabooch
    @for i in `cat pkg-plist|grep "lib/adabooch/"|sed "s/lib\/adabooch\///"`; do \
        ${INSTALL_DATA} ${WRKSRC}/$${i} ${PREFIX}/lib/adabooch; \
    done

    @${MKDIR} ${PREFIX}/share/adabooch
    @${ECHO} Installing demos and tests
    @${MKDIR} ${PREFIX}/share/adabooch/demo
    @for i in `cat pkg-plist|grep "share/adabooch/demo/"|sed "s/share\/adabooch\/demo\///"`; do \
        ${INSTALL_DATA} ${WRKSRC}/demo/$${i} ${PREFIX}/share/adabooch/demo; \
    done

    @${MKDIR} ${PREFIX}/share/adabooch/test
    @for i in `cat pkg-plist|grep "share/adabooch/test/"|sed "s/share\/adabooch\/test\///"`; do \
        ${INSTALL_DATA} ${WRKSRC}/test/$${i} ${PREFIX}/share/adabooch/test; \
    done

post-install:
    @${ECHO}
    @${ECHO} "The booch library has been installed into ${PREFIX}/lib/adabooch"
    @${ECHO}

.include <bsd.port.mk>