aboutsummaryrefslogtreecommitdiffstats
path: root/games/pysol/Makefile
blob: f78ba3b5712da9f711cfebbac90cee3e72ca55ae (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
# New ports collection makefile for:    PySol
# Version required:     2.02
# Date created:         11 September 1998
# Whom:                 Thomas Gellekum <tg@FreeBSD.ORG>
#
# $Id: Makefile,v 1.8 1998/12/22 16:07:33 tg Exp $
#

DISTNAME=       pysol-2.02
CATEGORIES= games
MASTER_SITES=   http://wildsau.idv.uni-linz.ac.at/mfx/download/ \
        http://www.freebsd.org/~tg/
DISTFILES=  ${DISTNAME}${EXTRACT_SUFX} ${CARDSETS}${EXTRACT_SUFX}

MAINTAINER= tg@FreeBSD.ORG

RUN_DEPENDS=    python:${PORTSDIR}/lang/python

CARDSETS=   pysol-cardsets-2.02

do-build:

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/pysol.py ${PREFIX}/bin/pysol
    @${MKDIR} ${PREFIX}/share/pysol
    (cd ${WRKSRC}/data; tar cf - *) | \
        (cd ${PREFIX}/share/pysol; tar xf -)
    (cd ${WRKDIR}/${CARDSETS}/data; tar cf - *) | \
        (cd ${PREFIX}/share/pysol; tar xf -)

.include <bsd.port.mk>