freebsd-ports/games/pysol/Makefile

38 lines
964 B
Makefile
Raw Normal View History

# New ports collection makefile for: PySol
# Date created: 11 September 1998
# Whom: Thomas Gellekum <tg@FreeBSD.org>
#
1999-08-25 08:06:33 +02:00
# $FreeBSD$
#
PORTNAME= pysol
2002-06-27 13:57:46 +02:00
PORTVERSION= 4.81
CATEGORIES= games
2002-06-27 13:57:46 +02:00
MASTER_SITES= http://pysol2.sourceforge.net/download/ \
http://www.oberhumer.com/opensource/pysol/download/
MAINTAINER= tg@FreeBSD.org
COMMENT= Solitaire game, written in Python
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter
2001-05-08 13:53:55 +02:00
USE_BZIP2= yes
USE_PYTHON= yes
1998-12-22 17:07:34 +01:00
2001-05-08 13:53:55 +02:00
NO_BUILD= yes
2001-05-08 13:53:55 +02:00
MAN6= pysol.6
do-install:
${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
@${MKDIR} ${PREFIX}/share/pysol
2001-05-08 13:53:55 +02:00
(cd ${WRKSRC}/data; tar -cf - .) | \
(cd ${PREFIX}/share/pysol; tar --unlink -xf -)
.include <bsd.port.mk>