2013-09-20 20:35:44 +02:00
|
|
|
# Created by: Aldis Berjoza <aldis@bsdroot.lv>
|
2011-05-20 08:08:52 +02:00
|
|
|
|
|
|
|
PORTNAME= ditaa
|
|
|
|
DISTVERSION= 0_9
|
|
|
|
CATEGORIES= graphics java
|
2016-05-17 04:45:35 +02:00
|
|
|
MASTER_SITES= SF
|
2011-05-20 08:08:52 +02:00
|
|
|
DISTNAME= ${PORTNAME}${DISTVERSION}
|
|
|
|
|
2019-01-05 15:46:29 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2012-07-28 17:57:55 +02:00
|
|
|
COMMENT= Convert ASCII art diagrams into proper bitmap graphics
|
2011-05-20 08:08:52 +02:00
|
|
|
|
2016-05-17 04:45:35 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
LICENSE_FILE= ${WRKDIR}/COPYING
|
|
|
|
|
2014-03-10 15:49:26 +01:00
|
|
|
USES= zip
|
2011-05-20 08:08:52 +02:00
|
|
|
USE_JAVA= yes
|
|
|
|
|
2016-05-17 04:45:35 +02:00
|
|
|
NO_BUILD= yes
|
|
|
|
NO_ARCH= yes
|
2011-05-20 08:08:52 +02:00
|
|
|
|
|
|
|
PLIST_FILES= %%JAVASHAREDIR%%/${PORTNAME}/${PORTNAME}.jar bin/${PORTNAME}
|
|
|
|
|
|
|
|
pre-install:
|
|
|
|
${ECHO} "#!/bin/sh" > ${WRKDIR}/${PORTNAME}.sh
|
|
|
|
${ECHO} "${PREFIX}/bin/java -jar ${JAVASHAREDIR}/${PORTNAME}/${PORTNAME}.jar \$$*" >> ${WRKDIR}/${PORTNAME}.sh
|
|
|
|
|
|
|
|
do-install:
|
2014-06-16 08:50:33 +02:00
|
|
|
${MKDIR} ${STAGEDIR}${JAVASHAREDIR}/${PORTNAME}
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}${DISTVERSION}.jar ${STAGEDIR}${JAVASHAREDIR}/${PORTNAME}/${PORTNAME}.jar
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
2011-05-20 08:08:52 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|