blob: 5c37e60941104aa682673c7f94c813ece09f0c54 (
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
44
45
46
47
48
49
50
51
52
|
# Created by: Adam Weinberger <adamw@FreeBSD.org>
# $FreeBSD$
PORTNAME= jools
PORTVERSION= 0.20
PORTREVISION= 13
CATEGORIES= games
MASTER_SITES= http://pessimization.com/software/jools/
DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
${PORTNAME}-musicpack-1.0${EXTRACT_SUFX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Addictive jewel-swapping puzzle game
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= ${PYGAME}
USES= python:2.7
USE_PYTHON= distutils
PORTDOCS= POINTS manual.html manual.pdf manual.tex
OPTIONS_DEFINE= DOCS
DESKTOP_ENTRIES="Jools" "" "${PORTNAME}" \
"${PORTNAME}" "Game;ArcadeGame;" ""
post-extract:
.for d in timed title untimed
@(cd ${WRKDIR} && ${COPYTREE_SHARE} ${d} ${WRKSRC}/jools/music/)
.endfor
post-patch:
@${FIND} ${WRKSRC} -name ".arch-ids" | ${XARGS} ${RM} -r
@${FIND} ${WRKSRC} -name ".arch-ids" -delete \
-or -name ".placeholder" -delete
.for f in setup.py jools/__init__.py jools/jools
@${REINPLACE_CMD} -e 's|^.*#!.*python.*$$|#!${PYTHON_CMD}|' \
${WRKSRC}/${f}
.endfor
@${FIND} ${WRKSRC} -name "*.bak" -delete
post-install:
${LN} -sf ${DATADIR}/images/jools-logo-small.png \
${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|