From owner-svn-ports-all@freebsd.org Sat May 23 11:40:32 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 66A1D2C83FD; Sat, 23 May 2020 11:40:32 +0000 (UTC) (envelope-from rene@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49ThHh26SPz3ZJW; Sat, 23 May 2020 11:40:32 +0000 (UTC) (envelope-from rene@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 43CEAF0FC; Sat, 23 May 2020 11:40:32 +0000 (UTC) (envelope-from rene@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 04NBeWqT011468; Sat, 23 May 2020 11:40:32 GMT (envelope-from rene@FreeBSD.org) Received: (from rene@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 04NBeVTh011465; Sat, 23 May 2020 11:40:31 GMT (envelope-from rene@FreeBSD.org) Message-Id: <202005231140.04NBeVTh011465@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: rene set sender to rene@FreeBSD.org using -f From: Rene Ladan Date: Sat, 23 May 2020 11:40:31 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r536291 - in head/java/java-cup: . files X-SVN-Group: ports-head X-SVN-Commit-Author: rene X-SVN-Commit-Paths: in head/java/java-cup: . files X-SVN-Commit-Revision: 536291 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 May 2020 11:40:32 -0000 Author: rene Date: Sat May 23 11:40:31 2020 New Revision: 536291 URL: https://svnweb.freebsd.org/changeset/ports/536291 Log: java/java-cup: update to 11.b.20160615 and unexpire Further changes: - use a prebuilt binary instead of building from source - change license to SMLNJ in agreement with maintainer PR: 245466 Submitted by: Jashank Jeremy Approved by: maintainer MFH: 2020Q2 Added: head/java/java-cup/files/ head/java/java-cup/files/java-cup.sh.in (contents, props changed) Modified: head/java/java-cup/Makefile head/java/java-cup/distinfo head/java/java-cup/pkg-descr Modified: head/java/java-cup/Makefile ============================================================================== --- head/java/java-cup/Makefile Sat May 23 11:39:28 2020 (r536290) +++ head/java/java-cup/Makefile Sat May 23 11:40:31 2020 (r536291) @@ -2,36 +2,45 @@ # $FreeBSD$ PORTNAME= cup -PORTVERSION= 11.a -PORTREVISION= 2 +PORTVERSION= 11b.20160615 CATEGORIES= java devel -MASTER_SITES= http://www2.cs.tum.edu/projects/cup/ \ - http://mirrors.mcdermottroe.com/www2.cs.tum.edu/projects/cup/ +MASTER_SITES= http://www2.cs.tum.edu/projects/cup/releases/ PKGNAMEPREFIX= java- -DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-v${PORTVERSION:S|.||}-20050516-sources +DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-bin-${PORTVERSION:S|.|-|} MAINTAINER= eg@fbsd.lt COMMENT= LALR parser generator in Java -BROKEN= unfetchable -DEPRECATED= Broken for more than 6 months -EXPIRATION_DATE= 2020-05-05 +LICENSE= SMLNJ +LICENSE_NAME= Standard ML of New Jersey License +LICENSE_TEXT= The text of the license can be obtained from the following URL:\ + http://www2.cs.tum.edu/projects/cup/licence.php +LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept -BROKEN_armv6= fails to build: build.xml: Java returned: 1 -BROKEN_armv7= fails to build: build.xml: Java returned: 1 - USE_JAVA= yes -USE_ANT= yes -WRKSRC= ${WRKDIR}/cup-tum +NO_BUILD= yes -# Silly hack because the naming in CUP is all over the place -DISTJARNAME= ${PKGNAMEPREFIX}${PORTNAME}-10k-TUM +SUB_FILES= java-cup.sh +CUP_VERSION= ${PORTVERSION:R} +SUB_LIST= CUP_VERSION=${CUP_VERSION} -PLIST_FILES= %%JAVAJARDIR%%/${DISTJARNAME}.jar \ - %%JAVAJARDIR%%/${DISTJARNAME}-runtime.jar +PLIST_FILES= bin/java-cup \ + ${JAVAJARDIR}/${PKGNAMEPREFIX}${PORTNAME}.jar \ + ${JAVAJARDIR}/${PKGNAMEPREFIX}${PORTNAME}-runtime.jar \ + ${JAVAJARDIR}/${PKGNAMEPREFIX}${PORTNAME}-${CUP_VERSION}.jar \ + ${JAVAJARDIR}/${PKGNAMEPREFIX}${PORTNAME}-${CUP_VERSION}-runtime.jar do-install: - ${INSTALL_DATA} ${WRKSRC}/dist/${DISTJARNAME}.jar ${STAGEDIR}${JAVAJARDIR} - ${INSTALL_DATA} ${WRKSRC}/dist/${DISTJARNAME}-runtime.jar ${STAGEDIR}${JAVAJARDIR} + ${INSTALL_SCRIPT} ${WRKDIR}/java-cup.sh ${STAGEDIR}${PREFIX}/bin/java-cup + + ${INSTALL_DATA} ${WRKDIR}/${PKGNAMEPREFIX}${PORTNAME}-${CUP_VERSION}.jar \ + ${STAGEDIR}${JAVAJARDIR}/${PKGNAMEPREFIX}${PORTNAME}-${CUP_VERSION}.jar + ${LN} -s ${PKGNAMEPREFIX}${PORTNAME}-${CUP_VERSION}.jar \ + ${STAGEDIR}${JAVAJARDIR}/${PKGNAMEPREFIX}${PORTNAME}.jar + + ${INSTALL_DATA} ${WRKDIR}/${PKGNAMEPREFIX}${PORTNAME}-${CUP_VERSION}-runtime.jar \ + ${STAGEDIR}${JAVAJARDIR}/${PKGNAMEPREFIX}${PORTNAME}-${CUP_VERSION}-runtime.jar + ${LN} -s ${PKGNAMEPREFIX}${PORTNAME}-${CUP_VERSION}-runtime.jar \ + ${STAGEDIR}${JAVAJARDIR}/${PKGNAMEPREFIX}${PORTNAME}-runtime.jar .include Modified: head/java/java-cup/distinfo ============================================================================== --- head/java/java-cup/distinfo Sat May 23 11:39:28 2020 (r536290) +++ head/java/java-cup/distinfo Sat May 23 11:40:31 2020 (r536291) @@ -1,2 +1,3 @@ -SHA256 (java-cup-v11a-20050516-sources.tar.gz) = af0a664e4dd4f5fdf8ec546f9560363d1f297114fa0d4612032936267afab203 -SIZE (java-cup-v11a-20050516-sources.tar.gz) = 362129 +TIMESTAMP = 1586399405 +SHA256 (java-cup-bin-11b-20160615.tar.gz) = 3f01d657882380c1e5dc1593d9db7b5ded853429b7e52bc517f9bcbb4a65decc +SIZE (java-cup-bin-11b-20160615.tar.gz) = 144985 Added: head/java/java-cup/files/java-cup.sh.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/java/java-cup/files/java-cup.sh.in Sat May 23 11:40:31 2020 (r536291) @@ -0,0 +1,10 @@ +#!/bin/sh +# +# Derived from a similar script for ports/java/jflex. +# +# $FreeBSD$ + +# Allow the user to override where java-cup.jar lives +JAVAJARDIR="${JAVAJARDIR:-"%%JAVAJARDIR%%"}" + +exec "%%LOCALBASE%%/bin/java" -jar "${JAVAJARDIR}/java-cup-%%CUP_VERSION%%.jar" "$@" Modified: head/java/java-cup/pkg-descr ============================================================================== --- head/java/java-cup/pkg-descr Sat May 23 11:39:28 2020 (r536290) +++ head/java/java-cup/pkg-descr Sat May 23 11:40:31 2020 (r536291) @@ -1,5 +1,7 @@ -This is the Java based Constructor of Useful Parsers (CUP for short). It -serves the same role as the widely used program YAXX and in fact offers most -of the features of YACC. However, CUP is written in Java, uses specifications -including embedded Java code, and produces parsers which are implemented in -Java. +Constructor of Useful Parsers (CUP), a system for generating LALR +parsers from simple specifications. It serves the same role as the +widely-used program `yacc', and in fact offers most of the features of +`yacc'; however, CUP is written in Java, uses specifications including +embedded Java code, and produces parsers with are implemented in Java. + +WWW: http://www2.cs.tum.edu/projects/cup/