1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/graphics/ditaa/Makefile
Dmitry Marakasov 0f61e3394e - Simplify MASTER_SITES
- Add LICENSE_FILE
- Pet portlint
- Add NO_ARCH

Approved by:	portmgr blanket
2016-05-17 02:45:35 +00:00

35 lines
918 B
Makefile

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