Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Dec 2013 15:31:11 +0000 (UTC)
From:      Rusmir Dusko <nemysis@FreeBSD.org>
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
Message-ID:  <201312211531.rBLFVBOD090275@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk>

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();



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