blob: 83e42880ddf0ae438d23cdd5afa411f6dcd73741 (
plain)
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
|
# Created by: Janos Mohacsi <janos.mohacsi@bsd.hu>
# $FreeBSD$
PORTNAME= pathological
PORTVERSION= 1.1.3
PORTREVISION= 9
CATEGORIES= games
MASTER_SITES= SF
MAINTAINER= jmohacsi@bsd.hu
COMMENT= Enriched clone of the game "Logical"
LICENSE= GPLv2
RUN_DEPENDS= ${PYGAME}
OPTIONS_DEFINE= DOCS
USE_PYTHON= yes
NO_BUILD= yes
DOC_FILES= favicon.ico index.html
DESKTOP_ENTRIES="Pathological" \
"Logic game" \
"${DATADIR}/pathological.ico" \
"pathological" \
"Game;LogicGame;" \
false
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
(cd ${WRKSRC}; tar -cf - circuits graphics music sounds pathological.ico pathological.py pathological.xpm) | \
(cd ${STAGEDIR}${DATADIR}; tar --unlink -xf -)
@${PRINTF} "#!/bin/sh\ncd ${DATADIR} && \
exec ${PYTHON_CMD} ${DATADIR}/pathological.py\n" > ${WRKDIR}/pathological.sh
${INSTALL_SCRIPT} ${WRKDIR}/pathological.sh \
${STAGEDIR}${PREFIX}/bin/pathological
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.6.gz ${STAGEDIR}${MANPREFIX}/man/man6
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${DOC_FILES:S|^|${WRKSRC}/html/|g} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|