- Update to 1.3.1
PR: 140613 Submitted by: Monty Hall <hall_monty@rastar.merseine.nu> Approved by: maintainer
This commit is contained in:
parent
86b8c11c2f
commit
305d85053d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=244602
3 changed files with 25 additions and 35 deletions
|
@ -1,51 +1,37 @@
|
|||
# New ports collection makefile for: antlrworks
|
||||
# Date created: December, 5th 2006
|
||||
# Whom: Matthias Sund <m.sund@arcor.de>
|
||||
# New ports collection makefile for: antlrworks
|
||||
# Date created: December, 5th 2006
|
||||
# Whom: Matthias Sund <m.sund@arcor.de>
|
||||
#
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= antlrworks
|
||||
PORTVERSION= 1.2.2
|
||||
PORTVERSION= 1.3.1
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= devel java
|
||||
MASTER_SITES= http://www.antlr.org/download/
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
|
||||
EXTRACT_SUFX= .jar
|
||||
|
||||
MAINTAINER= m.sund@arcor.de
|
||||
COMMENT= The ANTLR GUI Development Environment
|
||||
|
||||
USE_ZIP= yes
|
||||
EXTRACT_AFTER_ARGS= "-d${DISTNAME}"
|
||||
|
||||
ONLY_FOR_ARCHS= i386 amd64
|
||||
|
||||
USE_JAVA= yes
|
||||
JAVA_VERSION= 1.5+
|
||||
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%%
|
||||
NO_BUILD= yes
|
||||
|
||||
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
|
||||
"ANTLR GUI Development Environment" \
|
||||
"antlrworks.png" \
|
||||
"antlrworks" \
|
||||
"Application;Development;" \
|
||||
true
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/antlrworks ${PREFIX}/bin
|
||||
${MKDIR} ${DATADIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/dist/antlrworks-${PORTVERSION}.jar ${DATADIR}/antlrworks.jar
|
||||
${MKDIR} ${PREFIX}/share/pixmaps
|
||||
${INSTALL_DATA} ${WRKSRC}/src/aw/org/antlr/works/icons/app_32x32.png ${PREFIX}/share/pixmaps/antlrworks.png
|
||||
@${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
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
MD5 (antlrworks-1.2.2-src.zip) = bad08d48d1cb1713731ccd3ad0ed5c55
|
||||
SHA256 (antlrworks-1.2.2-src.zip) = f5f5ff14228170d17c7330e760de82e0087ee2b12205cc11d424f26ae0b0d81f
|
||||
SIZE (antlrworks-1.2.2-src.zip) = 2204349
|
||||
MD5 (antlrworks-1.3.1.jar) = 35d52e00f054f02f17f08cbf9149681d
|
||||
SHA256 (antlrworks-1.3.1.jar) = e623449c2ca8d220e7e4cac9783a3f9e24a742c5f136cccbd23a356e1f46fc4f
|
||||
SIZE (antlrworks-1.3.1.jar) = 3155789
|
||||
|
|
4
devel/antlrworks/pkg-plist
Normal file
4
devel/antlrworks/pkg-plist
Normal file
|
@ -0,0 +1,4 @@
|
|||
bin/antlrworks
|
||||
%%JAVASHAREDIR%%/antlrworks/antlrworks-1.3.1.jar
|
||||
share/pixmaps/antlrworks.png
|
||||
@dirrm %%JAVASHAREDIR%%/antlrworks
|
Loading…
Reference in a new issue