aboutsummaryrefslogtreecommitdiffstats
path: root/misc/pipe/Makefile
blob: acd1a49955ad8f11a23e46777fe8e32b510cdeab (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
# Created by: ijliao
# $FreeBSD$

PORTNAME=   pipe
PORTVERSION=    2.5
PORTREVISION=   1
CATEGORIES= misc java
MASTER_SITES=   SF/${PORTNAME}2/Pipe%202/PIPE2%20V${PORTVERSION}
DISTNAME=   pipe25_rc5

MAINTAINER= ports@FreeBSD.org
COMMENT=    Tool for creating and analysing Petri nets

USES=       zip
NO_BUILD=   yes
USE_JAVA=   yes
JAVA_VERSION=   1.6+

SUB_FILES=  pipe.sh

OPTIONS_DEFINE= DOCS

PORTDOCS=*

do-install:
    ${INSTALL_SCRIPT} ${WRKDIR}/pipe.sh ${STAGEDIR}${PREFIX}/bin/pipe
    @${MKDIR} ${STAGEDIR}${DATADIR}
    cd ${WRKSRC} && \
        ${FIND} . -type d -exec ${MKDIR} ${STAGEDIR}${DATADIR}/{} \;
    cd ${WRKSRC} && \
        ${FIND} . -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DATADIR}/{} \;
    cd ${WRKSRC}/Docs && \
        ${FIND} . -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/javadoc/{} \;
    cd ${WRKSRC}/Docs && \
        ${FIND} . -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/javadoc/{} \;

.include <bsd.port.mk>