Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Oct 2013 21:40:51 +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: r331197 - head/games/euchre
Message-ID:  <201310212140.r9LLepTj075319@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nemysis
Date: Mon Oct 21 21:40:50 2013
New Revision: 331197
URL: http://svnweb.freebsd.org/changeset/ports/331197

Log:
  - Bump PORTREVISION
  - Change master sites, add icon
  - Pass maintainership to submitter
  - Add DOCS and Option
  - Change desktop entry
  - Fix port and bad C++ code
  - Change pkg-descr
  
  PR:		ports/179287
  Submitted by:	nemysis (self)
  Approved by:	pawel / wg (mentors, implicit)

Modified:
  head/games/euchre/Makefile
  head/games/euchre/distinfo
  head/games/euchre/pkg-descr   (contents, props changed)

Modified: head/games/euchre/Makefile
==============================================================================
--- head/games/euchre/Makefile	Mon Oct 21 21:31:04 2013	(r331196)
+++ head/games/euchre/Makefile	Mon Oct 21 21:40:50 2013	(r331197)
@@ -3,26 +3,45 @@
 
 PORTNAME=	euchre
 PORTVERSION=	0.8
+PORTREVISION=	1
 CATEGORIES=	games
-MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
+MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} \
+		SF/nemysisfreebsdp/${CATEGORIES}/:icons
+DISTFILES=	${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
+		${PORTNAME}.png:icons
+EXTRACT_ONLY=	${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	nemysis@FreeBSD.org
 COMMENT=	Very popular card game with variable skill levels
 
-LICENSE=	GPLv2 # (or later)
+LICENSE=	GPLv2
 
 USES=		pkgconfig
 USE_GNOME=	gtk20
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--disable-silent-rules
 
-PLIST_FILES=	bin/euchre
+PLIST_FILES=	bin/${PORTNAME} \
+		share/pixmaps/${PORTNAME}.png
 
-DESKTOP_ENTRIES="Euchre" "" "" "${PORTNAME}" "" true
+PORTDOCS=	AUTHORS ChangeLog README TODO
+
+DESKTOP_ENTRIES="Euchre" "${COMMENT}" "${PORTNAME}" \
+		"${PORTNAME}" "Game;CardGame;" false
+
+OPTIONS_DEFINE=	DOCS
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e \
 		'/^AM_/s|-Werror||' ${WRKSRC}/configure
+	@${REINPLACE_CMD} -e 's|int)|long int)|g' \
+		${WRKSRC}/src/gui/callbacks.cpp ${WRKSRC}/src/lib/Game.cpp
+
+post-install:
+	${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \
+		${STAGEDIR}${PREFIX}/share/pixmaps/
+
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/games/euchre/distinfo
==============================================================================
--- head/games/euchre/distinfo	Mon Oct 21 21:31:04 2013	(r331196)
+++ head/games/euchre/distinfo	Mon Oct 21 21:40:50 2013	(r331197)
@@ -1,2 +1,4 @@
 SHA256 (euchre-0.8.tar.gz) = c339d29ea6837f344b98134ecdd7aa52fb958454bd4dd6145430b197752ed78b
 SIZE (euchre-0.8.tar.gz) = 213490
+SHA256 (euchre.png) = 94b5b20412e4bddc84ad066070843a0a3dd9504fd99fa497d8f32739c610ee31
+SIZE (euchre.png) = 6563

Modified: head/games/euchre/pkg-descr
==============================================================================
--- head/games/euchre/pkg-descr	Mon Oct 21 21:31:04 2013	(r331196)
+++ head/games/euchre/pkg-descr	Mon Oct 21 21:40:50 2013	(r331197)
@@ -1,3 +1,6 @@
-A very basic interpretation of the game 'Euchre.'
+Euchre is a card game played with the 9s, 10s, Jacks, Queens, Kings,
+and Aces of all 4 suits.  Each player is dealt 5 cards, leaving 4
+cards in the deck.  The top card of the remaining 4 is then turned
+over and this is the trump candidate.
 
 WWW: http://sourceforge.net/projects/euchre/



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