freebsd-ports/games/pysol/Makefile

36 lines
966 B
Makefile
Raw Normal View History

# New ports collection makefile for: PySol
1999-11-05 11:15:52 +01:00
# Version required: 3.00
# Date created: 11 September 1998
# Whom: Thomas Gellekum <tg@FreeBSD.org>
#
1999-08-25 08:06:33 +02:00
# $FreeBSD$
#
1999-11-05 11:15:52 +01:00
DISTNAME= pysol-3.00
CATEGORIES= games
1999-10-13 10:44:01 +02:00
MASTER_SITES= http://wildsau.idv.uni-linz.ac.at/mfx/download/ \
http://wildsau.idv.uni-linz.ac.at/mfx/download/beta/
1998-12-22 17:07:34 +01:00
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${CARDSETS}${EXTRACT_SUFX}
MAINTAINER= tg@FreeBSD.org
RUN_DEPENDS= python:${PORTSDIR}/lang/python
NO_BUILD= yes
1998-12-22 17:07:34 +01:00
1999-10-13 10:44:01 +02:00
MAN6= pysol.6
1999-11-05 11:15:52 +01:00
CARDSETS= pysol-cardsets-3.00
do-install:
1999-11-05 11:15:52 +01:00
${SED} -e "s|@pkgdatadir@|${PREFIX}/share/pysol|" < ${WRKSRC}/pysol > ${PREFIX}/bin/pysol
${CHMOD} +x ${PREFIX}/bin/pysol
1999-10-13 10:44:01 +02:00
${INSTALL_DATA} ${WRKSRC}/pysol.6 ${PREFIX}/man/man6
@${MKDIR} ${PREFIX}/share/pysol
(cd ${WRKSRC}/data; tar cf - *) | \
(cd ${PREFIX}/share/pysol; tar xf -)
1998-12-22 17:07:34 +01:00
(cd ${WRKDIR}/${CARDSETS}/data; tar cf - *) | \
(cd ${PREFIX}/share/pysol; tar xf -)
.include <bsd.port.mk>