freebsd-ports/games/pysol/Makefile

36 lines
865 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 02:06:33 -04:00
# $FreeBSD$
#
PORTNAME= pysol
2001-12-04 07:53:50 -05:00
PORTVERSION= 4.80
CATEGORIES= games
2001-12-04 07:53:50 -05:00
MASTER_SITES= http://pysol2.sourceforge.net/download/
MAINTAINER= tg@FreeBSD.org
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter
2001-05-08 07:53:55 -04:00
USE_BZIP2= yes
USE_PYTHON= yes
1998-12-22 11:07:34 -05:00
2001-05-08 07:53:55 -04:00
NO_BUILD= yes
2001-05-08 07:53:55 -04:00
MAN6= pysol.6
do-install:
${SED} -e "s|@pkgdatadir@|${PREFIX}/share/pysol|" \
2001-12-04 07:53:50 -05:00
-e "s|@prefix@|${PREFIX}|" \
-e "s|@PYTHON@|${PYTHON_CMD}|" \
2001-05-08 07:53:55 -04:00
< ${WRKSRC}/pysol > ${WRKDIR}/pysol
${INSTALL_SCRIPT} ${WRKDIR}/pysol ${PREFIX}/bin/pysol
1999-10-13 04:44:01 -04:00
${INSTALL_DATA} ${WRKSRC}/pysol.6 ${PREFIX}/man/man6
@${MKDIR} ${PREFIX}/share/pysol
2001-05-08 07:53:55 -04:00
(cd ${WRKSRC}/data; tar -cf - .) | \
(cd ${PREFIX}/share/pysol; tar --unlink -xf -)
.include <bsd.port.mk>