blob: 6df68a91ffb4d6255d0a8e0e2e00ee3436721692 (
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
52
53
54
55
|
# New Ports collection makefile for: Pycadia
# Date created: 2012-05-09
# Whom: nemysis@gmx.ch
#
# $FreeBSD$
#
PORTNAME= pycadia
PORTVERSION= 0.5.1
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_GENTOO:S/%SUBDIR%/distfiles/}
MAINTAINER= nemysis@gmx.ch
COMMENT= Home to vector gaming, Python style
LICENSE= GPLv2
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/pygame/__init__.py:${PORTSDIR}/devel/py-game \
${PYTHON_SITELIBDIR}/gtk-2.0/gtk/__init__.py:${PORTSDIR}/x11-toolkits/py-gtk2
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_PYTHON= yes
NO_BUILD= yes
PLIST_FILES= bin/pycadia \
share/pixmaps/pycadia.png
PORTDATA= *
PORTDOCS= CHANGELOG INSTALL README TODO gravity.txt
do-install:
# Scripts
@${PRINTF} "#!/bin/sh\n\ncd ${DATADIR} &&\
./${PORTNAME}.py\n" > ${WRKDIR}/${PORTNAME}.sh
@${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/bin/${PORTNAME}
# Data
.if !defined (NOPORTDATA)
${MKDIR} ${DATADIR}
@(cd ${WRKSRC} && ${COPYTREE_SHARE} "glade pixmaps sounds *.*" ${DATADIR})
@(cd ${DATADIR} && ${CHMOD} 755 pycadia.py spacewarpy.py vektoroids.py)
${INSTALL_DATA} ${FILESDIR}/pycadia.conf ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/pixmaps/logo1.png ${PREFIX}/share/pixmaps/${PORTNAME}.png
.endif
# Documentation
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
. for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR}
. endfor
.endif
.include <bsd.port.mk>
|