mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-08 06:48:28 +00:00
090059a210
The affected ports are the ones with gettext as a run-dependency according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT in Makefile (29 of them). PR: ports/124340 Submitted by: edwin@ Approved by: portmgr (pav)
58 lines
1.4 KiB
Makefile
58 lines
1.4 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.1.7
|
|
PORTREVISION= 2
|
|
PORTEPOCH= 1
|
|
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}"
|
|
|
|
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%%
|
|
|
|
DESKTOP_ENTRIES="ANTLRWorks" \
|
|
"ANTLR GUI Development Environment" \
|
|
"antlrworks.png" \
|
|
"antlrworks" \
|
|
"Application;Development;" \
|
|
true
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -E \
|
|
-e 's|antlr-3.1|antlr-3.0.1|g' \
|
|
${WRKSRC}/build.properties
|
|
|
|
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} ${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
|
|
|
|
.include <bsd.port.mk>
|