2012-12-10 12:25:27 +01:00
|
|
|
# Created by: Gerrit Beine <tux@pinguru.net>
|
2005-07-15 14:48:11 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= fujaba
|
2006-09-05 19:51:11 +02:00
|
|
|
PORTVERSION= 4.3.2
|
2008-06-06 16:17:21 +02:00
|
|
|
PORTREVISION= 2
|
2005-07-15 14:48:11 +02:00
|
|
|
CATEGORIES= devel java
|
|
|
|
MASTER_SITES= http://wwwcs.uni-paderborn.de/cs/fujaba/downloads/packages/Fujaba_4/
|
|
|
|
DISTNAME= FujabaToolSuite_Developer${PORTVERSION:S/./_/g}
|
|
|
|
|
2012-07-11 20:13:33 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2005-07-15 14:48:11 +02:00
|
|
|
COMMENT= Another UML CASE tool
|
|
|
|
|
2014-03-07 17:49:09 +01:00
|
|
|
USES= zip
|
2005-07-15 14:48:11 +02:00
|
|
|
USE_JAVA= yes
|
2012-12-10 12:25:27 +01:00
|
|
|
JAVA_VERSION= 1.6+
|
2005-07-15 14:48:11 +02:00
|
|
|
NO_BUILD= yes
|
|
|
|
WRKSRC= ${WRKDIR}/Fujaba\ Tool\ Suite\ ${PORTVERSION}
|
|
|
|
|
2014-03-31 12:50:14 +02:00
|
|
|
DATADIRS= DTDs Templates libs plugins stylesheets
|
|
|
|
DATAFILES= GNULesserGeneralPublicLicense.txt api.zip fujaba.jar src.jar
|
2005-07-15 14:48:11 +02:00
|
|
|
|
2014-03-31 12:50:14 +02:00
|
|
|
PLIST_FILES= bin/fujaba
|
|
|
|
PORTDATA= *
|
2005-07-15 14:48:11 +02:00
|
|
|
PORTDOCS= *
|
|
|
|
|
|
|
|
SUB_FILES= fujaba.sh
|
|
|
|
SUB_LIST= LOCALBASE="${LOCALBASE}" DATADIR="${DATADIR}"
|
|
|
|
|
2014-03-31 12:50:14 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2005-07-15 14:48:11 +02:00
|
|
|
do-install:
|
2014-03-31 12:50:14 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}/bin
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/fujaba.sh ${STAGEDIR}${DATADIR}/bin
|
|
|
|
${LN} -s ${DATADIR}/bin/fujaba.sh ${STAGEDIR}${PREFIX}/bin/fujaba
|
|
|
|
(cd ${WRKSRC} && ${COPYTREE_SHARE} "${DATADIRS}" ${STAGEDIR}${DATADIR})
|
|
|
|
(cd ${WRKSRC} && ${INSTALL_DATA} ${DATAFILES} ${STAGEDIR}${DATADIR})
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
|
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
|
|
${LN} -s ${DOCSDIR} ${STAGEDIR}${DATADIR}/doc
|
2005-07-15 14:48:11 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|