View | Details | Raw Unified | Return to bug 140613
Collapse All | Expand All

(-)antlrworks/Makefile (-35 / +20 lines)
Lines 1-51 Link Here
1
# New ports collection makefile for:	antlrworks
1
# New ports collection makefile for:    antlrworks
2
# Date created:				December, 5th 2006
2
# Date created:                         December, 5th 2006
3
# Whom:					Matthias Sund <m.sund@arcor.de>
3
# Whom:                                 Matthias Sund <m.sund@arcor.de>
4
#
4
#
5
# $FreeBSD: ports/devel/antlrworks/Makefile,v 1.11 2008/12/26 22:18:03 miwi Exp $
5
# $FreeBSD: ports/devel/antlrworks/Makefile,v 1.11 2008/12/26 22:18:03 miwi Exp $
6
6
7
PORTNAME=	antlrworks
7
PORTNAME=	antlrworks
8
PORTVERSION=	1.2.2
8
PORTVERSION=	1.3.1
9
PORTEPOCH=	1
10
CATEGORIES=	devel java
9
CATEGORIES=	devel java
11
MASTER_SITES=	http://www.antlr.org/download/
10
MASTER_SITES=	http://www.antlr.org/download/
12
DISTNAME=	${PORTNAME}-${PORTVERSION}-src
11
EXTRACT_SUFX=	.jar
13
12
14
MAINTAINER=	m.sund@arcor.de
13
MAINTAINER=     m.sund@arcor.de
15
COMMENT=	The ANTLR GUI Development Environment
14
COMMENT=        The ANTLR GUI Development Environment
16
17
USE_ZIP=	yes
18
EXTRACT_AFTER_ARGS=	"-d${DISTNAME}"
19
20
ONLY_FOR_ARCHS=	i386 amd64
21
15
22
USE_JAVA=	yes
16
USE_JAVA=	yes
23
JAVA_VERSION=	1.5+
17
JAVA_VERSION=	1.5+
24
JAVA_OS=	native
18
NO_BUILD=	yes
25
JAVA_RUN=	yes
26
27
USE_ANT=	yes
28
ALL_TARGET=	build
29
30
PLIST_FILES=	bin/antlrworks %%DATADIR%%/antlrworks.jar share/pixmaps/antlrworks.png
31
PLIST_DIRS=	%%DATADIR%%
32
19
33
DESKTOP_ENTRIES="ANTLRWorks" \
20
DESKTOP_ENTRIES="ANTLRWorks" \
34
		"ANTLR GUI Development Environment" \
21
	"ANTLR GUI Development Environment" \
35
		"antlrworks.png" \
22
	"antlrworks.png" \
36
		"antlrworks" \
23
	"antlrworks" \
37
		"Application;Development;" \
24
	"Application;Development;" \
38
		true
25
	true
39
40
post-build:
41
	@${ECHO_CMD} '#!/bin/sh' > ${WRKSRC}/antlrworks
42
	@${ECHO_CMD} "exec java -Xmx400m -jar ${DATADIR}/antlrworks.jar" >> ${WRKSRC}/antlrworks
43
26
44
do-install:
27
do-install:
45
	${INSTALL_SCRIPT} ${WRKSRC}/antlrworks ${PREFIX}/bin
28
	@${MKDIR} ${JAVASHAREDIR}/${PORTNAME}
46
	${MKDIR} ${DATADIR}
29
	@${INSTALL_DATA} ${DISTDIR}/${DISTNAME}.jar ${JAVASHAREDIR}/${PORTNAME}/${DISTNAME}.jar
47
	${INSTALL_DATA} ${WRKSRC}/dist/antlrworks-${PORTVERSION}.jar ${DATADIR}/antlrworks.jar
30
	@${ECHO_CMD} '#!/bin/sh' > ${WRKDIR}/antlrworks
48
	${MKDIR} ${PREFIX}/share/pixmaps
31
	@${ECHO_CMD} "exec java -Xmx400m -jar ${JAVASHAREDIR}/${PORTNAME}/${DISTNAME}.jar" >> ${WRKDIR}/antlrworks
49
	${INSTALL_DATA} ${WRKSRC}/src/aw/org/antlr/works/icons/app_32x32.png ${PREFIX}/share/pixmaps/antlrworks.png
32
	@${INSTALL_SCRIPT} ${WRKDIR}/antlrworks ${PREFIX}/bin
33
	@${MKDIR} ${PREFIX}/share/pixmaps
34
	@${INSTALL_DATA} ${WRKDIR}/icons/app_32x32.png ${PREFIX}/share/pixmaps/antlrworks.png
50
35
51
.include <bsd.port.mk>
36
.include <bsd.port.mk>
(-)antlrworks/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (antlrworks-1.2.2-src.zip) = bad08d48d1cb1713731ccd3ad0ed5c55
1
MD5 (antlrworks-1.3.1.jar) = 35d52e00f054f02f17f08cbf9149681d
2
SHA256 (antlrworks-1.2.2-src.zip) = f5f5ff14228170d17c7330e760de82e0087ee2b12205cc11d424f26ae0b0d81f
2
SHA256 (antlrworks-1.3.1.jar) = e623449c2ca8d220e7e4cac9783a3f9e24a742c5f136cccbd23a356e1f46fc4f
3
SIZE (antlrworks-1.2.2-src.zip) = 2204349
3
SIZE (antlrworks-1.3.1.jar) = 3155789
(-)antlrworks/pkg-plist (+4 lines)
Line 0 Link Here
1
bin/antlrworks
2
%%JAVASHAREDIR%%/antlrworks/antlrworks-1.3.1.jar
3
share/pixmaps/antlrworks.png
4
@dirrm %%JAVASHAREDIR%%/antlrworks

Return to bug 140613