aboutsummaryrefslogtreecommitdiff
path: root/games/euchre
diff options
context:
space:
mode:
authorRusmir Dusko <nemysis@FreeBSD.org>2013-10-21 21:40:50 +0000
committerRusmir Dusko <nemysis@FreeBSD.org>2013-10-21 21:40:50 +0000
commit2c346b1214d41a119785f8a0fe65d94c12e8d381 (patch)
tree038ad0e39553655ca3b06dc0ee029890e27c2e95 /games/euchre
parent68adae2c8b5ef993290c8d9f44b1f6cd6ec45b87 (diff)
downloadports-2c346b1214d41a119785f8a0fe65d94c12e8d381.tar.gz
ports-2c346b1214d41a119785f8a0fe65d94c12e8d381.zip
- 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)
Notes
Notes: svn path=/head/; revision=331197
Diffstat (limited to 'games/euchre')
-rw-r--r--games/euchre/Makefile31
-rw-r--r--games/euchre/distinfo2
-rw-r--r--games/euchre/pkg-descr5
3 files changed, 31 insertions, 7 deletions
diff --git a/games/euchre/Makefile b/games/euchre/Makefile
index 69701984e3a9..e51e2c323052 100644
--- a/games/euchre/Makefile
+++ b/games/euchre/Makefile
@@ -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>
diff --git a/games/euchre/distinfo b/games/euchre/distinfo
index 29884346a0a6..2dd441470c04 100644
--- a/games/euchre/distinfo
+++ b/games/euchre/distinfo
@@ -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
diff --git a/games/euchre/pkg-descr b/games/euchre/pkg-descr
index 86872a9b84b9..9e3edcccf0eb 100644
--- a/games/euchre/pkg-descr
+++ b/games/euchre/pkg-descr
@@ -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/