- 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)
This commit is contained in:
Rusmir Dusko 2013-10-21 21:40:50 +00:00
parent 68adae2c8b
commit 2c346b1214
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=331197
3 changed files with 31 additions and 7 deletions

View file

@ -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>

View file

@ -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

View file

@ -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/