summaryrefslogtreecommitdiff
path: root/games/deal/Makefile
blob: 4ac9feabfdc88e9e0b60f0665ccbbb1d31126e60 (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
# Created by: Mark Pulford <mark@kyne.com.au>
# $FreeBSD$

PORTNAME=	deal
PORTVERSION=	2.5
CATEGORIES=	games
MASTER_SITES=	http://catb.org/~esr/deal/

MAINTAINER=	gahr@FreeBSD.org
COMMENT=	A calculator for card-draw probabilities

MAN1=		deal.1
PLIST_FILES=	bin/deal

CFLAGS+=	-lm

NO_STAGE=	yes
do-build:
	cd ${WRKSRC} && ${CC} ${CFLAGS} -o deal deal.c

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/deal ${PREFIX}/bin
	${INSTALL_DATA} ${WRKSRC}/deal.1 ${PREFIX}/man/man1

.include <bsd.port.pre.mk>

.if ${ARCH} == "ia64"
BROKEN=		Does not compile on ia64
.endif

.include <bsd.port.post.mk>