Lines 3-27
Link Here
|
3 |
|
3 |
|
4 |
PORTNAME= euchre |
4 |
PORTNAME= euchre |
5 |
PORTVERSION= 0.8 |
5 |
PORTVERSION= 0.8 |
|
|
6 |
PORTREVISION= 1 |
6 |
CATEGORIES= games |
7 |
CATEGORIES= games |
7 |
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} |
8 |
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} \ |
|
|
9 |
SF/nemysisfreebsdp/:icons |
10 |
DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \ |
11 |
${PORTNAME}.png:icons |
12 |
EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} |
8 |
|
13 |
|
9 |
MAINTAINER= ports@FreeBSD.org |
14 |
MAINTAINER= nemysis@gmx.ch |
10 |
COMMENT= Very popular card game with variable skill levels |
15 |
COMMENT= Very popular card game with variable skill levels |
11 |
|
16 |
|
12 |
LICENSE= GPLv2 # (or later) |
17 |
LICENSE= GPLv2 |
13 |
|
18 |
|
14 |
USE_GNOME= gtk20 |
19 |
USE_GNOME= gtk20 |
15 |
GNU_CONFIGURE= yes |
20 |
GNU_CONFIGURE= yes |
16 |
CONFIGURE_ARGS= --disable-silent-rules |
21 |
CONFIGURE_ARGS= --disable-silent-rules |
17 |
MAKE_JOBS_SAFE= yes |
22 |
MAKE_JOBS_SAFE= yes |
18 |
|
23 |
|
19 |
PLIST_FILES= bin/euchre |
24 |
PLIST_FILES= bin/${PORTNAME} \ |
|
|
25 |
share/pixmaps/${PORTNAME}.png |
20 |
|
26 |
|
21 |
DESKTOP_ENTRIES="Euchre" "" "" "${PORTNAME}" "" true |
27 |
PORTDOCS= AUTHORS ChangeLog README TODO |
|
|
28 |
|
29 |
DESKTOP_ENTRIES="Euchre" "${COMMENT}" "${PORTNAME}" \ |
30 |
"${PORTNAME}" "Game;CardGame;" false |
31 |
|
32 |
.include <bsd.port.options.mk> |
22 |
|
33 |
|
23 |
post-patch: |
34 |
post-patch: |
24 |
@${REINPLACE_CMD} -e \ |
35 |
@${REINPLACE_CMD} -e \ |
25 |
'/^AM_/s|-Werror||' ${WRKSRC}/configure |
36 |
'/^AM_/s|-Werror||' ${WRKSRC}/configure |
|
|
37 |
@${REINPLACE_CMD} -e 's|int)|long int)|g' \ |
38 |
${WRKSRC}/src/gui/callbacks.cpp ${WRKSRC}/src/lib/Game.cpp |
39 |
|
40 |
post-install: |
41 |
${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png ${PREFIX}/share/pixmaps |
42 |
|
43 |
.if ${PORT_OPTIONS:MDOCS} |
44 |
@${MKDIR} ${DOCSDIR} |
45 |
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} |
46 |
.endif |
26 |
|
47 |
|
27 |
.include <bsd.port.mk> |
48 |
.include <bsd.port.mk> |