blob: 53224f66bb3ce6babd56d60d93aefb41f08756e8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
# $FreeBSD$
PORTNAME= schiff
PORTVERSION= 16
PORTREVISION= 2
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= games@FreeBSD.org
COMMENT= Steer your ship(s) with the keyboard
LICENSE= GPLv3
RUN_DEPENDS= ${PYGAME}
USE_PYTHON= 2
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>
|