mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
b1a741e2b7
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>
53 lines
1.3 KiB
Makefile
53 lines
1.3 KiB
Makefile
# 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>
|