1998-09-11 11:10:39 +02:00
|
|
|
# New ports collection makefile for: PySol
|
|
|
|
# Date created: 11 September 1998
|
1999-08-31 08:53:31 +02:00
|
|
|
# Whom: Thomas Gellekum <tg@FreeBSD.org>
|
1998-09-11 11:10:39 +02:00
|
|
|
#
|
1999-08-25 08:06:33 +02:00
|
|
|
# $FreeBSD$
|
1998-09-11 11:10:39 +02:00
|
|
|
#
|
|
|
|
|
2000-04-17 10:59:32 +02:00
|
|
|
PORTNAME= pysol
|
2002-06-27 13:57:46 +02:00
|
|
|
PORTVERSION= 4.81
|
1998-09-11 11:10:39 +02:00
|
|
|
CATEGORIES= games
|
2002-06-27 13:57:46 +02:00
|
|
|
MASTER_SITES= http://pysol2.sourceforge.net/download/ \
|
|
|
|
http://www.oberhumer.com/opensource/pysol/download/
|
1998-09-11 11:10:39 +02:00
|
|
|
|
1999-08-31 08:53:31 +02:00
|
|
|
MAINTAINER= tg@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Solitaire game, written in Python
|
1998-09-11 11:10:39 +02:00
|
|
|
|
2000-09-22 14:05:11 +02:00
|
|
|
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter
|
2000-06-02 11:17:58 +02:00
|
|
|
|
2001-05-08 13:53:55 +02:00
|
|
|
USE_BZIP2= yes
|
2000-09-22 14:05:11 +02:00
|
|
|
USE_PYTHON= yes
|
1998-12-22 17:07:34 +01:00
|
|
|
|
2001-05-08 13:53:55 +02:00
|
|
|
NO_BUILD= yes
|
2000-09-22 14:05:11 +02:00
|
|
|
|
2001-05-08 13:53:55 +02:00
|
|
|
MAN6= pysol.6
|
2000-04-20 10:59:59 +02:00
|
|
|
|
1998-09-11 11:10:39 +02:00
|
|
|
do-install:
|
2000-09-22 14:05:11 +02:00
|
|
|
${SED} -e "s|@pkgdatadir@|${PREFIX}/share/pysol|" \
|
2001-12-04 13:53:50 +01:00
|
|
|
-e "s|@prefix@|${PREFIX}|" \
|
|
|
|
-e "s|@PYTHON@|${PYTHON_CMD}|" \
|
2001-05-08 13:53:55 +02:00
|
|
|
< ${WRKSRC}/pysol > ${WRKDIR}/pysol
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/pysol ${PREFIX}/bin/pysol
|
1999-10-13 10:44:01 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/pysol.6 ${PREFIX}/man/man6
|
1998-09-11 11:10:39 +02:00
|
|
|
@${MKDIR} ${PREFIX}/share/pysol
|
2001-05-08 13:53:55 +02:00
|
|
|
(cd ${WRKSRC}/data; tar -cf - .) | \
|
|
|
|
(cd ${PREFIX}/share/pysol; tar --unlink -xf -)
|
1998-09-11 11:10:39 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|