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