diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-05-04 10:51:36 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-05-04 10:51:36 +0000 |
commit | d50622339dfe9f8c541c2e2b549d47a82f483389 (patch) | |
tree | 47eb9efa429fe7345b746387db51170f73ae32d1 /games/solarwolf/Makefile | |
parent | b8b5051b4e9134bdb95abca8fc8d41e6d0f6e9ec (diff) | |
download | ports-d50622339dfe9f8c541c2e2b549d47a82f483389.tar.gz ports-d50622339dfe9f8c541c2e2b549d47a82f483389.zip |
Notes
Diffstat (limited to 'games/solarwolf/Makefile')
-rw-r--r-- | games/solarwolf/Makefile | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/games/solarwolf/Makefile b/games/solarwolf/Makefile new file mode 100644 index 000000000000..a7213636a225 --- /dev/null +++ b/games/solarwolf/Makefile @@ -0,0 +1,30 @@ +# New ports collection makefile for: solarwolf +# Date created: 4 May 2001 +# Whom: Maxim Sobolev <sobomax@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= solarwolf +PORTVERSION= 1.0 +CATEGORIES= games +MASTER_SITES= http://shredwheat.zopesite.com/solarwolf/files/ + +MAINTAINER= sobomax@FreeBSD.org + +RUN_DEPENDS= ${PYTHON_SITELIBDIR}/pygame/__init__.py:${PORTSDIR}/devel/py-game + +USE_PYTHON= yes + +do-build: + ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC} + +do-install: + @${MKDIR} ${PREFIX}/share/solarwolf + (cd ${WRKSRC}; tar cf - .) | \ + (cd ${PREFIX}/share/solarwolf; tar --unlink -xf -) + @printf "#!/bin/sh\ncd ${PREFIX}/share/solarwolf && \ + ${PYTHON_CMD} ${PREFIX}/share/solarwolf/solarwolf.py\n" > ${WRKDIR}/solarwolf.sh + @${INSTALL_SCRIPT} ${WRKDIR}/solarwolf.sh ${PREFIX}/bin/solarwolf + +.include <bsd.port.mk> |