From owner-svn-ports-head@FreeBSD.ORG Sat Dec 21 15:31:12 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 ESMTPS id EC215A2D; Sat, 21 Dec 2013 15:31:12 +0000 (UTC) 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 D78051D9E; Sat, 21 Dec 2013 15:31:12 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBLFVC0W090280; Sat, 21 Dec 2013 15:31:12 GMT (envelope-from nemysis@svn.freebsd.org) Received: (from nemysis@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBLFVBOD090275; Sat, 21 Dec 2013 15:31:11 GMT (envelope-from nemysis@svn.freebsd.org) Message-Id: <201312211531.rBLFVBOD090275@svn.freebsd.org> From: Rusmir Dusko Date: Sat, 21 Dec 2013 15:31:11 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r337149 - in head: . games games/blue games/bluemoon games/bluemoon/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.17 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: Sat, 21 Dec 2013 15:31:13 -0000 Author: nemysis Date: Sat Dec 21 15:31:11 2013 New Revision: 337149 URL: http://svnweb.freebsd.org/changeset/ports/337149 Log: - Change PORTNAME from blue to bluemoon - Bump PORTREVISION - Change license BSD to BSD4CLAUSE - USES gmake instead of USE_GMAKE - Change PLIST_FILES - Add DOCS and Option - Use supplied icon - Support STAGEDIR - Add files/bluemoon.desktop - Add patch Approved by: pawel (mentor) Added: head/games/bluemoon/ - copied from r337145, head/games/blue/ head/games/bluemoon/files/ head/games/bluemoon/files/bluemoon.desktop (contents, props changed) head/games/bluemoon/files/patch-bluemoon.c (contents, props changed) Deleted: head/games/blue/ Modified: head/MOVED head/games/Makefile head/games/bluemoon/Makefile Modified: head/MOVED ============================================================================== --- head/MOVED Sat Dec 21 14:29:43 2013 (r337148) +++ head/MOVED Sat Dec 21 15:31:11 2013 (r337149) @@ -5315,3 +5315,4 @@ misc/freeswitch-pizzademo||2013-12-20|Ha misc/freeswitch-scripts||2013-12-20|Has expired: Depends on expired net/freeswitch-core www/p5-HTML-Webmake||2013-12-20|Has expired: Depends on expired textproc/p5-XML-Sablotron net/freeswitch||2013-12-20|Has expired: Depends on expired net/freeswitch-core +games/blue|games/bluemoon|2013-12-21|Rename to match upstream naming Modified: head/games/Makefile ============================================================================== --- head/games/Makefile Sat Dec 21 14:29:43 2013 (r337148) +++ head/games/Makefile Sat Dec 21 15:31:11 2013 (r337149) @@ -88,7 +88,7 @@ SUBDIR += blockrage SUBDIR += blokish SUBDIR += bloodfrontier - SUBDIR += blue + SUBDIR += bluemoon SUBDIR += bogged SUBDIR += bomber SUBDIR += bomberclone Modified: head/games/bluemoon/Makefile ============================================================================== --- head/games/blue/Makefile Sat Dec 21 13:18:16 2013 (r337145) +++ head/games/bluemoon/Makefile Sat Dec 21 15:31:11 2013 (r337149) @@ -1,34 +1,41 @@ # Created by: Andrey Zakhvatov # $FreeBSD$ -PORTNAME= blue +PORTNAME= bluemoon PORTVERSION= 2.11 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= http://www.catb.org/~esr/bluemoon/ -DISTNAME= bluemoon-${PORTVERSION} MAINTAINER= nemysis@FreeBSD.org COMMENT= Blue Moon card solitaire -LICENSE= BSD +LICENSE= BSD4CLAUSE -USE_GMAKE= yes -ALL_TARGET= bluemoon +USES= gmake +ALL_TARGET= ${PORTNAME} -PLIST_FILES= bin/blue \ - bin/bluemoon +PLIST_FILES= bin/${PORTNAME} \ + man/man6/${PORTNAME}.6.gz \ + share/applications/${PORTNAME}.desktop \ + share/pixmaps/${PORTNAME}.png -MAN6= bluemoon.6 -MLINKS= bluemoon.6 blue.6 +PORTDOCS= NEWS README + +OPTIONS_DEFINE= DOCS -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e 's|^CFLAGS=|CFLAGS?=|g ; \ s|cc |$${CC} |g' ${WRKSRC}/Makefile do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/bluemoon ${PREFIX}/bin - @${LN} -sf bluemoon ${PREFIX}/bin/blue - ${INSTALL_MAN} ${MAN6:S|^|${WRKSRC}/|} ${MAN6PREFIX}/man/man6 + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ + ${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR} + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.png \ + ${STAGEDIR}${PREFIX}/share/pixmaps + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.6 ${STAGEDIR}${MAN6PREFIX}/man/man6/ + + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include Added: head/games/bluemoon/files/bluemoon.desktop ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/bluemoon/files/bluemoon.desktop Sat Dec 21 15:31:11 2013 (r337149) @@ -0,0 +1,10 @@ +[Desktop Entry] +Type=Application +Version=1.0 +Name=Blue Moon +GenericName=Blue Moon game +Comment=Blue Moon card solitaire +Icon=bluemoon +Exec=bluemoon +Categories=Game;CardGame; +Terminal=true Added: head/games/bluemoon/files/patch-bluemoon.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/bluemoon/files/patch-bluemoon.c Sat Dec 21 15:31:11 2013 (r337149) @@ -0,0 +1,11 @@ +--- ./bluemoon.c.orig 2010-10-19 07:59:18.000000000 +0200 ++++ ./bluemoon.c 2013-12-21 14:10:23.000000000 +0100 +@@ -376,7 +376,7 @@ + refresh(); + } + +-main(int argc, char *argv[]) ++int main(int argc, char *argv[]) + { + (void) signal(SIGINT, die); + initscr();