aboutsummaryrefslogtreecommitdiffstats
path: root/games/euchre/Makefile
blob: 48d88ef74e7da75d387e740f7c7d554bed3f746e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# New ports collection Makefile for:    euchre
# Date created:             23 July 2002
# Whom:                 Frank Laszlo <laszlof@freebsdmatrix.net>
#
# $FreeBSD$
#

PORTNAME=   euchre
PORTVERSION=    0.7
PORTREVISION=   4
CATEGORIES= games
MASTER_SITES=   SF

MAINTAINER= ports@FreeBSD.org
COMMENT=    Very popular card game with variable skill levels

PLIST_FILES=    bin/euchre
USE_AUTOTOOLS=  automake:14 autoconf:213
USE_GNOME=  gtk12
CFLAGS+=    -include "${FILESDIR}/std-namespace.h" -Werror
MAKE_JOBS_SAFE= yes

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 700000 && ${ARCH} == "amd64"
BROKEN=     does not compile
.endif

post-patch:
    ${REINPLACE_CMD} 's,char,const char,'   \
        ${WRKSRC}/src/pixmaps/*.xpm \
        ${WRKSRC}/src/pixmaps/pixmaps.?pp

.include <bsd.port.post.mk>