blob: ee3abb38b958940bedafaa7d482d606ecbec0e55 (
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
|
# Created by: nemysis@gmx.ch
#
# $FreeBSD$
PORTNAME= pycadia
PORTVERSION= 0.5.1
PORTREVISION= 1
CATEGORIES= games python
MASTER_SITES= ${MASTER_SITE_GENTOO:S/%SUBDIR%/distfiles/} \
SF/nemysisfreebsdp/
DIST_SUBDIR= python
MAINTAINER= nemysis@gmx.ch
COMMENT= Home to vector gaming, Python style
LICENSE= GPLv2
RUN_DEPENDS= ${PYGAME}
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_GNOME= pygtk2 libgnomeui
USE_PYTHON= yes
NO_BUILD= yes
PLIST_FILES= bin/${PORTNAME} \
share/pixmaps/${PORTNAME}.png
PORTDATA= *
PORTDOCS= CHANGELOG README TODO gravity.txt
DESKTOP_ENTRIES="Pycadia" "${COMMENT}" "${PORTNAME}" \
"${PORTNAME}" "Game;ArcadeGame;" ${FALSE}
SUB_FILES= ${PORTNAME}.sh
.include <bsd.port.options.mk>
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/bin/${PORTNAME}
${MKDIR} ${DATADIR}
@(cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${DATADIR})
@(cd ${DATADIR} && ${CHMOD} 555 ${PORTNAME}.py spacewarpy.py vektoroids.py)
${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.conf ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/pixmaps/logo1.png ${PREFIX}/share/pixmaps/${PORTNAME}.png
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${DOCSDIR}
.endif
.include <bsd.port.mk>
|