2014-05-01 12:12:33 +02:00
|
|
|
# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
|
2012-07-19 21:56:48 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= pycadia
|
|
|
|
PORTVERSION= 0.5.1
|
2014-03-10 21:55:20 +01:00
|
|
|
PORTREVISION= 5
|
2012-10-06 07:37:29 +02:00
|
|
|
CATEGORIES= games python
|
2014-05-01 12:12:33 +02:00
|
|
|
MASTER_SITES= GENTOO/distfiles \
|
2013-12-08 15:58:36 +01:00
|
|
|
SF/nemysisfreebsdp/games/
|
2012-10-06 07:37:29 +02:00
|
|
|
DIST_SUBDIR= python
|
2012-07-19 21:56:48 +02:00
|
|
|
|
games/bombherman
- Change Makefile header, use my name and @FreeBSD.org email
- Transfer maintainership to games@ team
games/connectagram
- Change Makefile header, use my name and @FreeBSD.org email
- Transfer maintainership to games@ team
- Break lines around 80 characters
games/cretan-hubris
- Change Makefile header, use my name and @FreeBSD.org email
- Transfer maintainership to games@ team
games/fbg2
- Change Makefile header, use my name and @FreeBSD.org email
- Transfer maintainership to games@ team
games/gottet
- Transfer maintainership to games@ team
games/gtkatlantic
- Simplify master site
- Use tar.gz instead of tar.bz2
- Transfer maintainership to games@ team
- Don't silence warnings
- Set PORTSCOUT, Upstream use GTK3 in newer Versions
games/kye
- Change Makefile header, use my name and @FreeBSD.org email
- Transfer maintainership to games@ team
games/madbomber
- Transfer maintainership to games@ team
games/megamario
- Change Makefile header, use my name and @FreeBSD.org email
- Transfer maintainership to games@ team
- Add fixes_v1.7.txt to DOCS
games/nelly
- Change Makefile header, use my name and @FreeBSD.org email
- Transfer maintainership to games@ team
- Cosmetical changes
games/oneisenough
- Transfer maintainership to games@ team
- USES shebangfix and SHEBANG_FILES instead of REINPLACE
- Simplify installation handling
games/patapizza-tetris
- Transfer maintainership to games@ team
games/puckman
- Change Makefile header, use my name and @FreeBSD.org email
- Transfer maintainership to games@ team
games/pycadia
- Transfer maintainership to games@ team
games/pyspacewar
- Change Makefile header, use my name and @FreeBSD.org email
- Transfer maintainership to games@ team
- Remove TODO.txt from DOCS
games/simsu
- Change Makefile header, use my name and @FreeBSD.org email
- Transfer maintainership to games@ team
- Use tar:bzip2 instead of USE_BZIP2=yes
games/smashbattle
- Change Makefile header, use my name and @FreeBSD.org email
- Transfer maintainership to games@ team
games/syobon
- Change Makefile header, use my name and @FreeBSD.org email
- Transfer maintainership to games@ team
games/tanglet
- Change Makefile header, use my name and @FreeBSD.org email
- Transfer maintainership to games@ team
- Use tar:bzip2 instead of USE_BZIP2=yes
games/thegrind
- Change Makefile header, use my name and @FreeBSD.org email
- Transfer maintainership to games@ team
2014-05-06 00:02:09 +02:00
|
|
|
MAINTAINER= games@FreeBSD.org
|
2012-07-19 21:56:48 +02:00
|
|
|
COMMENT= Home to vector gaming, Python style
|
|
|
|
|
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2012-10-06 07:37:29 +02:00
|
|
|
RUN_DEPENDS= ${PYGAME}
|
2012-07-19 21:56:48 +02:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
|
2012-10-06 07:37:29 +02:00
|
|
|
USE_GNOME= pygtk2 libgnomeui
|
2014-05-01 12:12:33 +02:00
|
|
|
USE_PYTHON= 2
|
2012-10-06 07:37:29 +02:00
|
|
|
|
2014-05-01 12:12:33 +02:00
|
|
|
PORTDOCS= CHANGELOG README gravity.txt
|
2013-12-08 15:58:36 +01:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
|
|
|
DESKTOP_ENTRIES="Pycadia" "" "${PORTNAME}" \
|
|
|
|
"${PORTNAME}" "Game;ArcadeGame;" ""
|
2012-10-06 07:37:29 +02:00
|
|
|
|
|
|
|
SUB_FILES= ${PORTNAME}.sh
|
|
|
|
|
2013-12-08 15:58:36 +01:00
|
|
|
post-patch:
|
|
|
|
@${FIND} ${WRKSRC} -name "*.bak" -delete
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
@${PYTHON_CMD} -m compileall ${WRKSRC}
|
|
|
|
@${PYTHON_CMD} -O -m compileall ${WRKSRC}
|
2012-07-19 21:56:48 +02:00
|
|
|
|
|
|
|
do-install:
|
2013-12-08 15:58:36 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|%%PYTHON_CMD%%|${PYTHON_CMD}|' \
|
|
|
|
${WRKDIR}/${PORTNAME}.sh
|
2014-05-01 12:12:33 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh \
|
|
|
|
${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
2013-12-08 15:58:36 +01:00
|
|
|
|
|
|
|
.for d in glade pixmaps sounds
|
|
|
|
@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${STAGEDIR}${DATADIR})
|
|
|
|
.endfor
|
2014-05-01 12:12:33 +02:00
|
|
|
.for f in *.py *.pyc *.pyo
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${f} ${STAGEDIR}${DATADIR}
|
2013-12-08 15:58:36 +01:00
|
|
|
.endfor
|
2012-07-19 21:56:48 +02:00
|
|
|
|
2014-05-01 12:12:33 +02:00
|
|
|
@(cd ${STAGEDIR}${DATADIR} && ${CHMOD} 555 \
|
|
|
|
${PORTNAME}.py spacewarpy.py vektoroids.py)
|
2013-12-08 15:58:36 +01:00
|
|
|
${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.conf ${STAGEDIR}${DATADIR}
|
2012-10-06 07:37:29 +02:00
|
|
|
|
2013-12-08 15:58:36 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/pixmaps/pysteroids.png \
|
|
|
|
${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png
|
2012-07-19 21:56:48 +02:00
|
|
|
|
2013-12-08 15:58:36 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${STAGEDIR}${DOCSDIR}
|
2012-07-19 21:56:48 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|