blob: e9c3ce855c2c69aff1d60d2345d3a9836b1bcb14 (
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
47
48
49
50
51
|
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
PORTNAME= lightyears
PORTVERSION= 1.4
CATEGORIES= games
MASTER_SITES= http://www.jwhitham.org/20kly/
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Steampunk-themed strategy game: manage a steam supply network
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
RUN_DEPENDS= ${PYGAME}
USES= python:2 shebangfix tar:bz2
SHEBANG_FILES= ${PORTNAME}
NO_ARCH= yes
NO_BUILD= yes
PORTDOCS= README.txt THANKS.txt
PORTDATA= *
PLIST_FILES= bin/${PORTNAME} \
share/pixmaps/${PORTNAME}.png
OPTIONS_DEFINE= DOCS
DESKTOP_ENTRIES="20,000 Light Years Into Space" \
"" \
"${PREFIX}/share/pixmaps/${PORTNAME}.png" \
"${PORTNAME}" \
"Game;StrategyGame;" \
""
post-patch:
@${REINPLACE_CMD} -e '/^LIGHTYEARS_DIR =/ s|".*"|"${DATADIR}"|' ${WRKSRC}/${PORTNAME}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
@cd ${WRKSRC} && ${COPYTREE_SHARE} "audio code data manual" ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/data/32.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/
.endfor
.include <bsd.port.mk>
|