1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/graphics/ditaa/Makefile
Baptiste Daroussin df914c9c5c cleanup plist
2014-12-20 18:58:13 +00:00

33 lines
912 B
Makefile

# Created by: Aldis Berjoza <aldis@bsdroot.lv>
# $FreeBSD$
PORTNAME= ditaa
DISTVERSION= 0_9
CATEGORIES= graphics java
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}
DISTNAME= ${PORTNAME}${DISTVERSION}
MAINTAINER= graudeejs@gmail.com
COMMENT= Convert ASCII art diagrams into proper bitmap graphics
USES= zip
USE_JAVA= yes
JAVA_VERSION= 1.6+
LICENSE= GPLv2
NO_BUILD= 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:
${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>