1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/devel/fujaba/Makefile
Dmitry Marakasov c7e624b321 - Switch to options helpers
- While here, add some NO_ARCHes

Approved by:	portmgr blanket
2015-09-01 16:20:47 +00:00

46 lines
1.2 KiB
Makefile

# Created by: Gerrit Beine <tux@pinguru.net>
# $FreeBSD$
PORTNAME= fujaba
PORTVERSION= 4.3.2
PORTREVISION= 2
CATEGORIES= devel java
MASTER_SITES= http://wwwcs.uni-paderborn.de/cs/fujaba/downloads/packages/Fujaba_4/
DISTNAME= FujabaToolSuite_Developer${PORTVERSION:S/./_/g}
MAINTAINER= ports@FreeBSD.org
COMMENT= Another UML CASE tool
USES= zip
USE_JAVA= yes
JAVA_VERSION= 1.6+
NO_BUILD= yes
NO_ARCH= yes
WRKSRC= ${WRKDIR}/Fujaba\ Tool\ Suite\ ${PORTVERSION}
DATADIRS= DTDs Templates libs plugins stylesheets
DATAFILES= GNULesserGeneralPublicLicense.txt api.zip fujaba.jar src.jar
PLIST_FILES= bin/fujaba
PORTDATA= *
PORTDOCS= *
SUB_FILES= fujaba.sh
SUB_LIST= LOCALBASE="${LOCALBASE}" DATADIR="${DATADIR}"
OPTIONS_DEFINE= DOCS
do-install:
@${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})
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
${LN} -s ${DOCSDIR} ${STAGEDIR}${DATADIR}/doc
.include <bsd.port.mk>