Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Nov 2009 20:50:02 GMT
From:      Matthias Sund <m.sund@arcor.de>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/140613: update devel/antlrworks 1.2-> 1.3
Message-ID:  <200911182050.nAIKo2dO074681@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/140613; it has been noted by GNATS.

From: Matthias Sund <m.sund@arcor.de>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/140613: update devel/antlrworks 1.2-> 1.3
Date: Wed, 18 Nov 2009 20:13:05 +0100

 This is a multi-part message in MIME format.
 --------------030708040501000300080808
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 
 Attached is a patch for an even newer version: 1.3.1.
 Please use this one to update the port.
 
 Thank you,
 Matthias
 
 Edwin Groothuis wrote:
 > Maintainer of devel/antlrworks,
 > 
 > Please note that PR ports/140613 has just been submitted.
 > 
 > If it contains a patch for an upgrade, an enhancement or a bug fix
 > you agree on, reply to this email stating that you approve the patch
 > and a committer will take care of it.
 > 
 > The full text of the PR can be found at:
 >     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/140613
 > 
 
 
 --------------030708040501000300080808
 Content-Type: text/x-diff;
  name="antlrworks.diff"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline;
  filename="antlrworks.diff"
 
 diff -ruN antlrworks_orig/Makefile antlrworks/Makefile
 --- antlrworks_orig/Makefile	2009-11-18 21:00:13.000000000 +0100
 +++ antlrworks/Makefile	2009-11-18 21:01:54.000000000 +0100
 @@ -1,51 +1,36 @@
 -# 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: ports/devel/antlrworks/Makefile,v 1.11 2008/12/26 22:18:03 miwi Exp $
  
  PORTNAME=	antlrworks
 -PORTVERSION=	1.2.2
 -PORTEPOCH=	1
 +PORTVERSION=	1.3.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
 +MAINTAINER=     m.sund@arcor.de
 +COMMENT=        The ANTLR GUI Development Environment
  
  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>
 diff -ruN antlrworks_orig/distinfo antlrworks/distinfo
 --- antlrworks_orig/distinfo	2009-11-18 21:00:13.000000000 +0100
 +++ antlrworks/distinfo	2009-11-18 20:40:54.000000000 +0100
 @@ -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
 diff -ruN antlrworks_orig/pkg-plist antlrworks/pkg-plist
 --- antlrworks_orig/pkg-plist	1970-01-01 01:00:00.000000000 +0100
 +++ antlrworks/pkg-plist	2009-11-18 20:37:16.000000000 +0100
 @@ -0,0 +1,4 @@
 +bin/antlrworks
 +%%JAVASHAREDIR%%/antlrworks/antlrworks-1.3.1.jar
 +share/pixmaps/antlrworks.png
 +@dirrm %%JAVASHAREDIR%%/antlrworks
 
 --------------030708040501000300080808--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911182050.nAIKo2dO074681>