From owner-svn-ports-head@FreeBSD.ORG Thu Oct 10 12:10:25 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 59332557; Thu, 10 Oct 2013 12:10:25 +0000 (UTC) (envelope-from nemysis@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 33D1A265A; Thu, 10 Oct 2013 12:10:25 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r9ACAPZ2094996; Thu, 10 Oct 2013 12:10:25 GMT (envelope-from nemysis@svn.freebsd.org) Received: (from nemysis@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r9ACAO7G094991; Thu, 10 Oct 2013 12:10:24 GMT (envelope-from nemysis@svn.freebsd.org) Message-Id: <201310101210.r9ACAO7G094991@svn.freebsd.org> From: Rusmir Dusko Date: Thu, 10 Oct 2013 12:10:24 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r329983 - in head/games/robocode: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Oct 2013 12:10:25 -0000 Author: nemysis Date: Thu Oct 10 12:10:24 2013 New Revision: 329983 URL: http://svnweb.freebsd.org/changeset/ports/329983 Log: - Update to 1.8.3.0 - Change maintainer email to @FreeBSD.org - Add USE_DOS2UNIX - Add DOCS Option - Support STAGEDIR Approved by: wg/pawel (mentors) Added: head/games/robocode/files/robocode-sh.in (contents, props changed) Deleted: head/games/robocode/files/robocode.sh.in Modified: head/games/robocode/Makefile head/games/robocode/distinfo head/games/robocode/pkg-plist Modified: head/games/robocode/Makefile ============================================================================== --- head/games/robocode/Makefile Thu Oct 10 11:49:18 2013 (r329982) +++ head/games/robocode/Makefile Thu Oct 10 12:10:24 2013 (r329983) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= robocode -PORTVERSION= 1.8.2.0 +PORTVERSION= 1.8.3.0 CATEGORIES= games java MASTER_SITES= SF \ SF/nemysisfreebsdp/:icons @@ -11,7 +11,7 @@ DISTFILES= ${PORTNAME}-${DISTVERSION}-se DIST_SUBDIR= java EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}-setup.jar -MAINTAINER= nemysis@gmx.ch +MAINTAINER= nemysis@FreeBSD.org COMMENT= Game for learning Java[tm] programming language LICENSE= EPL @@ -23,42 +23,37 @@ JAVA_EXTRACT= yes JAVA_RUN= yes NO_WRKSUBDIR= yes NO_BUILD= yes +USE_DOS2UNIX= *.html *.MF *.battle *.java *.txt *.properties *.tpt PORTDOCS= ReadMe.html ReadMe.txt versions.md DATADIR= ${JAVASHAREDIR}/${PORTNAME} PLIST_SUB= PORTVERSION=${PORTVERSION} -SUB_FILES= ${PORTNAME}.sh pkg-message +SUB_FILES= ${PORTNAME}-sh pkg-message DESKTOP_ENTRIES="Robocode" "${COMMENT}" "${PORTNAME}" \ "${PORTNAME}" "Game;StrategyGame;" false -NO_STAGE= yes -.include +OPTIONS_DEFINE= DOCS do-install: - ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/bin/${PORTNAME} + ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}-sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .for d in battles compilers javadoc libs license roborumble robots templates - @(cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${DATADIR}) + @(cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${STAGEDIR}${DATADIR}) .endfor .for d in *.ico *.sh versions.md - @(${INSTALL_DATA} ${WRKSRC}/${d} ${DATADIR}) + @(${INSTALL_DATA} ${WRKSRC}/${d} ${STAGEDIR}${DATADIR}) .endfor -post-install: - ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png ${PREFIX}/share/pixmaps - ${MKDIR} -m a+rwx ${DATADIR}/config - -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} -.endif - - @${ECHO_CMD} - @${CAT} ${PKGMESSAGE} - @${ECHO_CMD} + ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/pixmaps/ + @${MKDIR} ${STAGEDIR}${DATADIR}/config + @(cd ${STAGEDIR}${DATADIR} && ${CHMOD} -R 775 config roborumble robots) + @${CHMOD} +x ${STAGEDIR}${DATADIR}/*.sh + + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include Modified: head/games/robocode/distinfo ============================================================================== --- head/games/robocode/distinfo Thu Oct 10 11:49:18 2013 (r329982) +++ head/games/robocode/distinfo Thu Oct 10 12:10:24 2013 (r329983) @@ -1,4 +1,4 @@ -SHA256 (java/robocode-1.8.2.0-setup.jar) = e14406c02c56a87a1a19258dd484f055a57b2027bd5550912cb73751504865dd -SIZE (java/robocode-1.8.2.0-setup.jar) = 5267442 +SHA256 (java/robocode-1.8.3.0-setup.jar) = b6e6bdafec55f924e2b49edb37e85906773b7cf9fc900b837eac2cfcd4b7cd51 +SIZE (java/robocode-1.8.3.0-setup.jar) = 5317001 SHA256 (java/robocode.png) = f828749aacde1f1ee58a0f838e1e0e60bf2950153e3891687ff8a1734d3fcfa7 SIZE (java/robocode.png) = 1823 Added: head/games/robocode/files/robocode-sh.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/robocode/files/robocode-sh.in Thu Oct 10 12:10:24 2013 (r329983) @@ -0,0 +1,9 @@ +#!/bin/sh +# +# $FreeBSD$ +# + +export JAVA_VERSION="%%JAVA_VERSION%%" + +cd "%%DATADIR%%" && exec "%%LOCALBASE%%/bin/java" -Djava.ext.dirs="%%DATADIR%%" \ +-Djava.ext.dirs="%%DATADIR%%" -cp libs/robocode.jar robocode.Robocode "${@}" Modified: head/games/robocode/pkg-plist ============================================================================== --- head/games/robocode/pkg-plist Thu Oct 10 11:49:18 2013 (r329982) +++ head/games/robocode/pkg-plist Thu Oct 10 12:10:24 2013 (r329983) @@ -253,9 +253,9 @@ share/pixmaps/robocode.png @dirrm %%DATADIR%%/templates @dirrm %%DATADIR%%/robots/sampleteam @dirrm %%DATADIR%%/robots/sampleex -@dirrm %%DATADIR%%/robots/sample -@dirrm %%DATADIR%%/robots -@dirrm %%DATADIR%%/roborumble +@dirrmtry %%DATADIR%%/robots/sample +@dirrmtry %%DATADIR%%/robots +@dirrmtry %%DATADIR%%/roborumble @dirrm %%DATADIR%%/license @dirrm %%DATADIR%%/libs @dirrm %%DATADIR%%/javadoc/robocode/util