freebsd-ports/graphics/ditaa/Makefile
Carlo Strub e9a2c0a4b1 Fix typos in COMMENT
Approved by:	portmgr@ (implicit)
2012-07-28 15:57:55 +00:00

37 lines
997 B
Makefile

# New ports collection makefile for: ditta
# Date created: 2011.05.03
# Whom: 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
USE_ZIP= yes
USE_JAVA= yes
JAVA_VERSION= 1.6+
LICENSE= GPLv2
NO_BUILD= YES
PLIST_FILES= %%JAVASHAREDIR%%/${PORTNAME}/${PORTNAME}.jar bin/${PORTNAME}
PLIST_DIRS= %%JAVASHAREDIR%%/${PORTNAME}
pre-install:
${ECHO} "#!/bin/sh" > ${WRKDIR}/${PORTNAME}.sh
${ECHO} "${PREFIX}/bin/java -jar ${JAVASHAREDIR}/${PORTNAME}/${PORTNAME}.jar \$$*" >> ${WRKDIR}/${PORTNAME}.sh
do-install:
${MKDIR} ${JAVASHAREDIR}/${PORTNAME}
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}${DISTVERSION}.jar ${JAVASHAREDIR}/${PORTNAME}/${PORTNAME}.jar
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>