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