blob: 5eaaba9ca259b4678368b6387cfffb69299c9e5d (
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
|
# Created by: Janos Mohacsi <janos.mohacsi@bsd.hu>
# $FreeBSD$
PORTNAME= pathological
PORTVERSION= 1.1.3
PORTREVISION= 7
CATEGORIES= games
MASTER_SITES= SF
MAINTAINER= jmohacsi@bsd.hu
COMMENT= Enriched clone of the game "Logical"
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/pygame/__init__.py:${PORTSDIR}/devel/py-game
USE_PYTHON= yes
NO_BUILD= yes
MAN6= pathological.6
MANCOMPRESSED= yes
DOC_FILES= favicon.ico index.html
NO_STAGE= yes
do-install:
@${MKDIR} ${DATADIR}
(cd ${WRKSRC}; tar -cf - circuits graphics music sounds pathological.ico pathological.py pathological.xpm) | \
(cd ${DATADIR}; tar --unlink -xf -)
@printf "#!/bin/sh\ncd ${DATADIR} && \
exec ${PYTHON_CMD} ${DATADIR}/pathological.py\n" > ${WRKDIR}/pathological.sh
@${INSTALL_SCRIPT} ${WRKDIR}/pathological.sh ${PREFIX}/bin/pathological
.ifndef(NO_INSTALL_MANPAGES)
${INSTALL_MAN} ${WRKSRC}/${MAN6}.gz ${MAN6PREFIX}/man/man6/
.endif
.ifndef(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in ${DOC_FILES}
@${INSTALL_DATA} ${WRKSRC}/html/${file} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>
|