2009-11-21 16:13:10 +01:00
|
|
|
# New ports collection makefile for: antlrworks
|
|
|
|
# Date created: December, 5th 2006
|
|
|
|
# Whom: Matthias Sund <m.sund@arcor.de>
|
2006-12-05 21:03:55 +01:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= antlrworks
|
2009-11-21 16:13:10 +01:00
|
|
|
PORTVERSION= 1.3.1
|
2007-06-20 15:41:13 +02:00
|
|
|
PORTEPOCH= 1
|
2006-12-05 21:03:55 +01:00
|
|
|
CATEGORIES= devel java
|
|
|
|
MASTER_SITES= http://www.antlr.org/download/
|
2009-11-21 16:13:10 +01:00
|
|
|
EXTRACT_SUFX= .jar
|
2006-12-05 21:03:55 +01:00
|
|
|
|
|
|
|
MAINTAINER= m.sund@arcor.de
|
|
|
|
COMMENT= The ANTLR GUI Development Environment
|
|
|
|
|
|
|
|
USE_JAVA= yes
|
2008-03-31 14:37:31 +02:00
|
|
|
JAVA_VERSION= 1.5+
|
2009-11-21 16:13:10 +01:00
|
|
|
NO_BUILD= yes
|
2006-12-05 21:03:55 +01:00
|
|
|
|
|
|
|
DESKTOP_ENTRIES="ANTLRWorks" \
|
2009-11-21 16:13:10 +01:00
|
|
|
"ANTLR GUI Development Environment" \
|
|
|
|
"antlrworks.png" \
|
|
|
|
"antlrworks" \
|
|
|
|
"Application;Development;" \
|
|
|
|
true
|
2006-12-05 21:03:55 +01:00
|
|
|
|
|
|
|
do-install:
|
2009-11-21 16:13:10 +01:00
|
|
|
@${MKDIR} ${JAVASHAREDIR}/${PORTNAME}
|
|
|
|
@${INSTALL_DATA} ${DISTDIR}/${DISTNAME}.jar ${JAVASHAREDIR}/${PORTNAME}/${DISTNAME}.jar
|
|
|
|
@${ECHO_CMD} '#!/bin/sh' > ${WRKDIR}/antlrworks
|
|
|
|
@${ECHO_CMD} "exec java -Xmx400m -jar ${JAVASHAREDIR}/${PORTNAME}/${DISTNAME}.jar" >> ${WRKDIR}/antlrworks
|
|
|
|
@${INSTALL_SCRIPT} ${WRKDIR}/antlrworks ${PREFIX}/bin
|
|
|
|
@${MKDIR} ${PREFIX}/share/pixmaps
|
|
|
|
@${INSTALL_DATA} ${WRKDIR}/icons/app_32x32.png ${PREFIX}/share/pixmaps/antlrworks.png
|
2006-12-05 21:03:55 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|