mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
204acb24b8
Steer your ship(s) with the keyboard to rotate or move forward / backward. Try to avoid enemy bullets and the floating yellow rectangles. Become last ship floating to win the game. WWW: http://thepythongamebook.com/en:resources:games:schiff PR: ports/171237 Submitted by: nemysis (self) Approved by: pawel (mentor)
46 lines
1.1 KiB
Makefile
46 lines
1.1 KiB
Makefile
# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= schiff
|
|
PORTVERSION= 16
|
|
CATEGORIES= games python
|
|
MASTER_SITES= SF/pygamebook/${PORTNAME:S/s/S/}/${PORTNAME}${PORTVERSION}.py/ \
|
|
SF/nemysisfreebsdp/games/:icons
|
|
DISTFILES= ${PORTNAME}${DISTVERSION}.py \
|
|
${PORTNAME}.png:icons
|
|
DIST_SUBDIR= python
|
|
EXTRACT_ONLY=
|
|
|
|
MAINTAINER= nemysis@FreeBSD.org
|
|
COMMENT= Steer your ship(s) with the keyboard
|
|
|
|
LICENSE= GPLv3
|
|
|
|
RUN_DEPENDS= ${PYGAME}
|
|
|
|
USE_PYTHON= 2.7
|
|
NO_BUILD= yes
|
|
|
|
SUB_FILES= ${PORTNAME}
|
|
|
|
PLIST_FILES= bin/${PORTNAME} \
|
|
share/pixmaps/${PORTNAME}.png \
|
|
%%DATADIR%%/${PORTNAME}.py
|
|
PLIST_DIRS= %%DATADIR%%
|
|
|
|
DESKTOP_ENTRIES="Schiff" "" ${PORTNAME} \
|
|
"${PORTNAME}" "Game;LogicGame;" ""
|
|
|
|
do-install:
|
|
@${REINPLACE_CMD} -e 's|%%PYTHON_CMD%%|${PYTHON_CMD}|' \
|
|
${WRKDIR}/${PORTNAME}
|
|
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
${INSTALL_SCRIPT} ${_DISTDIR}/schiff${PORTVERSION}.py \
|
|
${STAGEDIR}${DATADIR}/${PORTNAME}.py
|
|
|
|
${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \
|
|
${STAGEDIR}${PREFIX}/share/pixmaps/
|
|
|
|
.include <bsd.port.mk>
|