mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
2c346b1214
- 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)
48 lines
1.2 KiB
Makefile
48 lines
1.2 KiB
Makefile
# Created by: Frank Laszlo <laszlof@freebsdmatrix.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= euchre
|
|
PORTVERSION= 0.8
|
|
PORTREVISION= 1
|
|
CATEGORIES= games
|
|
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= nemysis@FreeBSD.org
|
|
COMMENT= Very popular card game with variable skill levels
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USES= pkgconfig
|
|
USE_GNOME= gtk20
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --disable-silent-rules
|
|
|
|
PLIST_FILES= bin/${PORTNAME} \
|
|
share/pixmaps/${PORTNAME}.png
|
|
|
|
PORTDOCS= AUTHORS ChangeLog README TODO
|
|
|
|
DESKTOP_ENTRIES="Euchre" "${COMMENT}" "${PORTNAME}" \
|
|
"${PORTNAME}" "Game;CardGame;" false
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
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>
|