aboutsummaryrefslogtreecommitdiffstats
path: root/devel/argouml/Makefile
blob: d4e7bbcae5cac8b0bd672f82fce5e4e2983939f1 (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
# ex:ts=8
# Ports collection makefile for:    ArgoUML
# Date created:         June 14, 2003
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   argouml
PORTVERSION=    0.20
CATEGORIES= devel java
MASTER_SITES=   http://argouml-downloads.tigris.org/nonav/argouml-${PORTVERSION}/
DISTNAME=   ArgoUML-${PORTVERSION}
DISTFILES=  ${DISTNAME}${EXTRACT_SUFX}
.if !defined(NOPORTDOCS)
DISTFILES+= argomanual-${PORTVERSION}.pdf
EXTRACT_ONLY=   ${DISTNAME}${EXTRACT_SUFX}
.endif

MAINTAINER= phil@brassy.net
COMMENT=    A UML design tool with cognitive support

RUN_DEPENDS=    java:${PORTSDIR}/java/javavmwrapper

NO_WRKSUBDIR=   yes
NO_BUILD=   yes
USE_JAVA=   yes
JAVA_VERSION=   1.4+

SUB_FILES=  argouml.sh
.if !defined(NOPORTDOCS)
PORTDOCS=   argomanual-${PORTVERSION}.pdf
.endif

do-install:
    ${INSTALL_SCRIPT} ${WRKDIR}/argouml.sh ${PREFIX}/bin/argouml
    @${MKDIR} ${DATADIR}
    ${INSTALL_DATA} ${WRKSRC}/*.jar ${DATADIR}
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${DISTDIR}/argomanual-${PORTVERSION}.pdf ${DOCSDIR}
.endif

.include <bsd.port.mk>