diff options
author | makc <makc@FreeBSD.org> | 2011-05-20 14:08:52 +0800 |
---|---|---|
committer | makc <makc@FreeBSD.org> | 2011-05-20 14:08:52 +0800 |
commit | 309c3f50bc4bced28b00591a89d38ba8f410d8da (patch) | |
tree | db15187a6359e751a425e23ac75ea6c0c0a41b16 /graphics/ditaa | |
parent | b1597d553d68066f423d76ebe9cf8ad82e84f3aa (diff) | |
download | freebsd-ports-gnome-309c3f50bc4bced28b00591a89d38ba8f410d8da.tar.gz freebsd-ports-gnome-309c3f50bc4bced28b00591a89d38ba8f410d8da.tar.zst freebsd-ports-gnome-309c3f50bc4bced28b00591a89d38ba8f410d8da.zip |
Add new port graphics/ditaa:
ditaa is a small command-line utility written in Java, that can convert
diagrams drawn using ascii art ('drawings' that contain characters that
resemble lines like | / - ), into proper bitmap graphics.
WWW: http://ditaa.sourceforge.net/
PR: ports/156800
Submitted by: Aldis Berjoza <aldis@bsdroot.lv>
Diffstat (limited to 'graphics/ditaa')
-rw-r--r-- | graphics/ditaa/Makefile | 37 | ||||
-rw-r--r-- | graphics/ditaa/distinfo | 2 | ||||
-rw-r--r-- | graphics/ditaa/pkg-descr | 5 |
3 files changed, 44 insertions, 0 deletions
diff --git a/graphics/ditaa/Makefile b/graphics/ditaa/Makefile new file mode 100644 index 000000000000..6ee4211f13c8 --- /dev/null +++ b/graphics/ditaa/Makefile @@ -0,0 +1,37 @@ +# 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= aldis@bsdroot.lv +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> diff --git a/graphics/ditaa/distinfo b/graphics/ditaa/distinfo new file mode 100644 index 000000000000..739df11aedad --- /dev/null +++ b/graphics/ditaa/distinfo @@ -0,0 +1,2 @@ +SHA256 (ditaa0_9.zip) = d689e933b80b065cd7c349e489cfb8feea69dd3e91ca78931edc6fa6e098e689 +SIZE (ditaa0_9.zip) = 179547 diff --git a/graphics/ditaa/pkg-descr b/graphics/ditaa/pkg-descr new file mode 100644 index 000000000000..2eafd8632233 --- /dev/null +++ b/graphics/ditaa/pkg-descr @@ -0,0 +1,5 @@ +ditaa is a small command-line utility written in Java, that can convert +diagrams drawn using ascii art ('drawings' that contain characters that +resemble lines like | / - ), into proper bitmap graphics. + +WWW: http://ditaa.sourceforge.net/ |