aboutsummaryrefslogtreecommitdiffstats
path: root/net/danamics/Makefile
blob: 1c5794d83ae36937e35cf80dea5928206d4a6170 (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
# New ports collection makefile for:    danamics
# Date created:     18 March 2003
# Whom:         mwest@uct.ac.za
#
# $FreeBSD$
#

PORTNAME=   danamics
PORTVERSION=    1.1
CATEGORIES= net java
MASTER_SITES=   ftp://ftp.cs.uct.ac.za/pub/FreeBSD/distfiles-local/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Petri Net editor for correctness and performance analysis

USE_JAVA=   1.1+
NO_BUILD=   yes

WRKSRC=     ${WRKDIR}/DaNAMiCS

.include <bsd.port.pre.mk>

PLIST=      ${WRKDIR}/plist

pre-install:
    cd ${WRKSRC}; ${FIND} . -type f \
        | ${SORT} | ${SED} -e 's|^\.|danamics|' >${PLIST}
    cd ${WRKSRC};  ${FIND} . -type d \
        | ${SORT} -r | ${SED} -e 's|^\.|@dirrm danamics|' >>${PLIST}
    ${ECHO} bin/danamics >>${PLIST}

do-install:
    ${MKDIR} ${PREFIX}/danamics
    ${CP} -R ${WRKSRC}/* ${PREFIX}/danamics

    ${SED} \
        -e s,%%PREFIX%%,${PREFIX},g \
        < ${FILESDIR}/danamics.sh > ${PREFIX}/bin/danamics; \
    ${CHMOD} a+x ${PREFIX}/bin/danamics

.include <bsd.port.post.mk>