blob: bd2626a5d27664f0bf9122b3c613e14a94bd49b0 (
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
|
# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$
PORTNAME= outerspace
PORTVERSION= 0.2.2
PORTREVISION= 5
CATEGORIES= games
MASTER_SITES= SF/ospace/OSLauncher/${PORTVERSION}
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= On-line strategy game
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/pygame/__init__.py:${PORTSDIR}/devel/py-game
USE_PYTHON= yes
NO_BUILD= yes
SUB_FILES= outerspace
SUB_LIST= PROGRAM_DIR="${PREFIX}/lib/${PORTNAME}"
post-patch:
@${REINPLACE_CMD} -e 's|/usr/share/outerspace|${PREFIX}/lib/${PORTNAME}/res|' ${WRKSRC}/outerspace
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}
@(cd ${WRKSRC} && ${COPYTREE_SHARE} oslauncher ${STAGEDIR}${PREFIX}/lib/${PORTNAME})
@(cd ${WRKSRC} && ${COPYTREE_SHARE} res ${STAGEDIR}${PREFIX}/lib/${PORTNAME})
${INSTALL_DATA} ${WRKSRC}/outerspace ${STAGEDIR}${PREFIX}/lib/${PORTNAME}
${INSTALL_SCRIPT} ${WRKDIR}/outerspace ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>
|