aboutsummaryrefslogtreecommitdiffstats
path: root/games/deal/Makefile
blob: d776a35072a5f002a8841ee524966791e178650f (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:    deal
# Date created:             Apr 2, 2001
# Whom:                 Mark Pulford <mark@kyne.com.au>
#
# $FreeBSD$
#

PORTNAME=   deal
PORTVERSION=    2.4
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

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>