aboutsummaryrefslogtreecommitdiffstats
path: root/devel/antlrworks
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2006-12-06 04:03:55 +0800
committermiwi <miwi@FreeBSD.org>2006-12-06 04:03:55 +0800
commit1187150999754a7279816cdef9beda8744ac7575 (patch)
tree257560235840143097d2e223ecbccc8b6949c9aa /devel/antlrworks
parent0eed067128d5da37ca802fad707984ca358c9246 (diff)
downloadfreebsd-ports-gnome-1187150999754a7279816cdef9beda8744ac7575.tar.gz
freebsd-ports-gnome-1187150999754a7279816cdef9beda8744ac7575.tar.zst
freebsd-ports-gnome-1187150999754a7279816cdef9beda8744ac7575.zip
ANTLRWorks is a simple but efficient IDE for ANTLR 3 grammars.
It allows users to edit, visualize, interpret and debug any ANTLR 3 grammar through an easy-to-use GUI. WWW: http://www.antlr.org/works/ PR: ports/106388 Submitted by: Matthias Sund <m.sund at arcor.de>
Diffstat (limited to 'devel/antlrworks')
-rw-r--r--devel/antlrworks/Makefile52
-rw-r--r--devel/antlrworks/distinfo3
-rw-r--r--devel/antlrworks/pkg-descr5
3 files changed, 60 insertions, 0 deletions
diff --git a/devel/antlrworks/Makefile b/devel/antlrworks/Makefile
new file mode 100644
index 000000000000..71bebd9d37ad
--- /dev/null
+++ b/devel/antlrworks/Makefile
@@ -0,0 +1,52 @@
+# New ports collection makefile for: antlrworks
+# Date created: December, 5th 2006
+# Whom: Matthias Sund <m.sund@arcor.de>
+#
+# $FreeBSD$
+
+PORTNAME= antlrworks
+PORTVERSION= 1.0b8
+CATEGORIES= devel java
+MASTER_SITES= http://www.antlr.org/download/
+DISTNAME= ${PORTNAME}-${PORTVERSION}-src
+
+MAINTAINER= m.sund@arcor.de
+COMMENT= The ANTLR GUI Development Environment
+
+USE_ZIP= yes
+EXTRACT_AFTER_ARGS= "-d${DISTNAME}"
+USE_X_PREFIX= yes
+BUILD_WRKSRC= ${WRKSRC}/source
+
+ONLY_FOR_ARCHS= i386 amd64
+
+USE_JAVA= yes
+JAVA_VERSION= 1.4+
+JAVA_OS= native
+JAVA_RUN= yes
+
+USE_ANT= yes
+ALL_TARGET= build
+
+PLIST_FILES= bin/antlrworks %%DATADIR%%/antlrworks.jar share/pixmaps/antlrworks.png
+PLIST_DIRS= %%DATADIR%%
+
+DESKTOP_ENTRIES="ANTLRWorks" \
+ "ANTLR GUI Development Environment" \
+ "antlrworks.png" \
+ "antlrworks" \
+ "Application;Development;" \
+ true
+
+post-build:
+ @${ECHO_CMD} '#!/bin/sh' > ${WRKSRC}/antlrworks
+ @${ECHO_CMD} "exec java -Xmx400m -jar ${DATADIR}/antlrworks.jar" >> ${WRKSRC}/antlrworks
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/antlrworks ${PREFIX}/bin
+ ${MKDIR} ${DATADIR}
+ ${INSTALL_DATA} ${BUILD_WRKSRC}/build/antlrworks.jar ${DATADIR}
+ ${MKDIR} ${PREFIX}/share/pixmaps
+ ${INSTALL_DATA} ${BUILD_WRKSRC}/src/org/antlr/works/icons/app_32x32.png ${PREFIX}/share/pixmaps/antlrworks.png
+
+.include <bsd.port.mk>
diff --git a/devel/antlrworks/distinfo b/devel/antlrworks/distinfo
new file mode 100644
index 000000000000..8fb83cd5448b
--- /dev/null
+++ b/devel/antlrworks/distinfo
@@ -0,0 +1,3 @@
+MD5 (antlrworks-1.0b8-src.zip) = d15901e04b14dbd51adfbc9aaaf1cd1a
+SHA256 (antlrworks-1.0b8-src.zip) = a08d34974a6f3ed41b33971dbbced82ba5512eeaf09c095309dc3010cd911338
+SIZE (antlrworks-1.0b8-src.zip) = 2950331
diff --git a/devel/antlrworks/pkg-descr b/devel/antlrworks/pkg-descr
new file mode 100644
index 000000000000..cdd873d315a3
--- /dev/null
+++ b/devel/antlrworks/pkg-descr
@@ -0,0 +1,5 @@
+ANTLRWorks is a simple but efficient IDE for ANTLR 3 grammars.
+It allows users to edit, visualize, interpret and debug
+any ANTLR 3 grammar through an easy-to-use GUI.
+
+WWW: http://www.antlr.org/works/