freebsd-ports/graphics/ditaa/Makefile

33 lines
885 B
Makefile
Raw Normal View History

# Created by: Aldis Berjoza <aldis@bsdroot.lv>
PORTNAME= ditaa
DISTVERSION= 0_9
CATEGORIES= graphics java
MASTER_SITES= SF
DISTNAME= ${PORTNAME}${DISTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Convert ASCII art diagrams into proper bitmap graphics
LICENSE= GPLv2
LICENSE_FILE= ${WRKDIR}/COPYING
2014-03-10 15:49:26 +01:00
USES= zip
USE_JAVA= yes
NO_BUILD= yes
NO_ARCH= yes
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}
.include <bsd.port.mk>