freebsd-ports/games/bouncy/Makefile

74 lines
1.8 KiB
Makefile
Raw Normal View History

# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
# $FreeBSD$
PORTNAME= bouncy
PORTVERSION= r6
PORTREVISION= 7
CATEGORIES= games python
MASTER_SITES= http://media.pyweek.org/dl/3/bouncy/ \
SF/nemysisfreebsdp/games/${PORTNAME}/:icons
DISTFILES= ${PORTNAME}-post-${DISTVERSION}.tgz \
${PORTNAME}.png:icons
DIST_SUBDIR= python
EXTRACT_ONLY= ${PORTNAME}-post-${DISTVERSION}.tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= You are a hungry rabbit. Eat food to complete the level
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/GPL.txt
RUN_DEPENDS= ${PYGAME} \
${PYTHON_PKGNAMEPREFIX}PyOpenGL>=0:graphics/py-PyOpenGL@${PY_FLAVOR}
WRKSRC= ${WRKDIR}/${PORTNAME}-post-${DISTVERSION}
USES= python:2.7
PORTDOCS= README.txt
INSTALLS_ICONS= yes
SUB_FILES= ${PORTNAME}
Moving some games to @games games/3dpong - Remove FTP master site - Transfer maintainership to games@ team - Remove TODO.txt from DOCS games/abe - Transfer maintainership to games@ team - Cosmetical changes games/abuse_sdl - Transfer maintainership to games@ team games/airstrike - Transfer maintainership to games@ team - Remove TODO from DOCS games/aop - Transfer maintainership to games@ team - Break lines around 80 characters games/asteroid - Transfer maintainership to games@ team games/asteroids3d - Transfer maintainership to games@ team games/awale - Transfer maintainership to games@ team games/barbie_seahorse_adventures - Transfer maintainership to games@ team games/barrage - Transfer maintainership to games@ team games/black-box - Change Makefile header, use my name and @FreeBSD.org email - Transfer maintainership to games@ team games/blobwars - Transfer maintainership to games@ team games/blockrage - Transfer maintainership to games@ team games/bombz - Transfer maintainership to games@ team - Cosmetical changes games/bouncy - Transfer maintainership to games@ team - Cosmetical changes - Change Desktop entry file games/bubble-chains - Transfer maintainership to games@ team - Remove not needed bsd.port.options.mk games/bugsquish - Remove FTP master site - Transfer maintainership to games@ team - Remove TODO.txt from DOCS games/capicity - Transfer maintainership to games@ team games/capitalism - Change Makefile header, use my name and @FreeBSD.org email - Transfer maintainership to games@ team - Change Desktop entry file - Break lines around 80 characters games/cuyo - Transfer maintainership to games@ team - Don't silence warnings - Remove TODO from DOCS games/defendguin - Remove FTP master site - Transfer maintainership to games@ team - Remove TODO.txt from DOCS - Break lines around 80 characters games/duckmaze - Transfer maintainership to games@ team - Remove TODO.txt from DOCS - Add DOCS Option - Cosmetical changes games/entombed - Remove FTP master site - Transfer maintainership to games@ team - Remove TODO.txt from DOCS - Change Desktop entry file games/epiar - Change Makefile header, use my name and @FreeBSD.org email - Transfer maintainership to games@ team games/euchre - Transfer maintainership to games@ team - Remove TODO from DOCS - Change Desktop entry file - Change pkg-descr, cosmetical changes games/fightorperish - Transfer maintainership to games@ team - Remove TODO.txt from DOCS - Change Desktop entry file - Break lines around 80 characters games/frotz - Transfer maintainership to games@ team games/gemdropx - Remove FTP master site - Transfer maintainership to games@ team - Remove TODO.txt from DOCS games/glightoff - Change Makefile header, use my name and @FreeBSD.org email - Transfer maintainership to games@ team - Remove TODO from DOCS games/gnurobots - Transfer maintainership to games@ team - Remove TODO from DOCS - Simplify DOCS installation handling games/gtkballs - Transfer maintainership to games@ team games/gtktetcolor - Transfer maintainership to games@ team games/help_hannahs_horse - Transfer maintainership to games@ team - Disable Clang warnings with CFLAGS+ - Cosmetical changes - Change pkg-plist, remove mtree games/hitori - Change Makefile header, use my name and @FreeBSD.org email - Bump PORTREVISION for dependency change - Transfer maintainership to games@ team - Remove USES desktop-file-utils - Use tar:xz instead of USE_XZ=yes games/holotz-castle - Transfer maintainership to games@ team - Break lines around 80 characters games/icbm3d - Remove FTP master site - Transfer maintainership to games@ team games/icebreaker - Transfer maintainership to games@ team - Change pkg-message games/icebreaker - Transfer maintainership to games@ team games/iceicepenguin - Change Makefile header, use my name and @FreeBSD.org email - Transfer maintainership to games@ team - Add DOCS Option games/impossible_mission_puzzle - Transfer maintainership to games@ team games/kajaani-kombat - Change Makefile header, use my name and @FreeBSD.org email - Transfer maintainership to games@ team - Cosmetical changes games/krank - Transfer maintainership to games@ team - Add DOCS Option - Cosmetical changes games/lianliankan - Transfer maintainership to games@ team games/lmarbles - Transfer maintainership to games@ team games/lostfeathers - Transfer maintainership to games@ team - Use zip instead of USES=zip - USES shebangfix and SHEBANG_FILES instead of REINPLACE - Cosmetical changes games/madbomber - Remove FTP master site - Transfer maintainership to games@ team - Remove TODO.txt from DOCS games/maelstrom - Transfer maintainership to games@ team games/moagg - Change Makefile header, use my name and @FreeBSD.org email - Transfer maintainership to games@ team - Cosmetical changes games/mopesnake - Change Makefile header, use my name and @FreeBSD.org email - Transfer maintainership to games@ team - Remove TODO.txt from DOCS - Cosmetical changes games/nuclearchess - Transfer maintainership to games@ team games/palomino/Makefile - Transfer maintainership to games@ team games/pipenightdreams - Transfer maintainership to games@ team - Use tar.gz instead of tar.bz2 - Don't silence warnings games/popstar - Remove FTP master site - Transfer maintainership to games@ team - Remove TODO.txt from DOCS - Change Desktop entry file games/ppracer - Transfer maintainership to games@ team games/pyawale - Transfer maintainership to games@ team - Remove not needed bsd.port.options.mk - Fix the usage of 'python' to get rid of the implicit lang/python dependency, change REINPLACE and files/pyawale.in - Break lines around 80 characters - Simplify DOCS installation handling games/pytowerdefense - Transfer maintainership to games@ team - Change Desktop entry file - Simplify installation handling games/rescue - Transfer maintainership to games@ team - Add DOCS Option games/schiff - Transfer maintainership to games@ team games/schwarzweiss - Transfer maintainership to games@ team - Add USES shebangfix and SHEBANG_FILES - Cosmetical changes games/sets - Change Makefile header, use my name and @FreeBSD.org email - Transfer maintainership to games@ team games/ttt - Transfer maintainership to games@ team games/tux-aqfh - Transfer maintainership to games@ team - Simplify DOCS installation handling games/tuxfighter - Change Makefile header, use my name and @FreeBSD.org email - Transfer maintainership to games@ team - Change USE_PYTHON=yes to USE_PYTHON=2 - Change Desktop entry file - Simplify installation handling - Use files/pkg-message.in instead of pkg-message games/tuxkart - Transfer maintainership to games@ team - Simplify DOCS installation handling games/vectoroids - Remove FTP master site - Transfer maintainership to games@ team - Cosmetical changes games/whichwayisup - Transfer maintainership to games@ team games/wordplay - Transfer maintainership to games@ team games/xemeraldia - Transfer maintainership to games@ team games/xsc - Transfer maintainership to games@ team - Break lines around 80 characters games/zephulor - Transfer maintainership to games@ team - Change Desktop entry file - Simplify DOCS installation handling
2014-05-02 17:44:31 +02:00
DESKTOP_ENTRIES="Bouncy the Hungry Rabbit" "" "${PORTNAME}" \
"${PORTNAME}" "Game;ArcadeGame;" ""
2016-05-11 15:06:48 +02:00
OPTIONS_DEFINE= DOCS SHADER
OPTIONS_DEFAULT=SHADER
SHADER_DESC= Hardware shader support
Moving some games to @games games/3dpong - Remove FTP master site - Transfer maintainership to games@ team - Remove TODO.txt from DOCS games/abe - Transfer maintainership to games@ team - Cosmetical changes games/abuse_sdl - Transfer maintainership to games@ team games/airstrike - Transfer maintainership to games@ team - Remove TODO from DOCS games/aop - Transfer maintainership to games@ team - Break lines around 80 characters games/asteroid - Transfer maintainership to games@ team games/asteroids3d - Transfer maintainership to games@ team games/awale - Transfer maintainership to games@ team games/barbie_seahorse_adventures - Transfer maintainership to games@ team games/barrage - Transfer maintainership to games@ team games/black-box - Change Makefile header, use my name and @FreeBSD.org email - Transfer maintainership to games@ team games/blobwars - Transfer maintainership to games@ team games/blockrage - Transfer maintainership to games@ team games/bombz - Transfer maintainership to games@ team - Cosmetical changes games/bouncy - Transfer maintainership to games@ team - Cosmetical changes - Change Desktop entry file games/bubble-chains - Transfer maintainership to games@ team - Remove not needed bsd.port.options.mk games/bugsquish - Remove FTP master site - Transfer maintainership to games@ team - Remove TODO.txt from DOCS games/capicity - Transfer maintainership to games@ team games/capitalism - Change Makefile header, use my name and @FreeBSD.org email - Transfer maintainership to games@ team - Change Desktop entry file - Break lines around 80 characters games/cuyo - Transfer maintainership to games@ team - Don't silence warnings - Remove TODO from DOCS games/defendguin - Remove FTP master site - Transfer maintainership to games@ team - Remove TODO.txt from DOCS - Break lines around 80 characters games/duckmaze - Transfer maintainership to games@ team - Remove TODO.txt from DOCS - Add DOCS Option - Cosmetical changes games/entombed - Remove FTP master site - Transfer maintainership to games@ team - Remove TODO.txt from DOCS - Change Desktop entry file games/epiar - Change Makefile header, use my name and @FreeBSD.org email - Transfer maintainership to games@ team games/euchre - Transfer maintainership to games@ team - Remove TODO from DOCS - Change Desktop entry file - Change pkg-descr, cosmetical changes games/fightorperish - Transfer maintainership to games@ team - Remove TODO.txt from DOCS - Change Desktop entry file - Break lines around 80 characters games/frotz - Transfer maintainership to games@ team games/gemdropx - Remove FTP master site - Transfer maintainership to games@ team - Remove TODO.txt from DOCS games/glightoff - Change Makefile header, use my name and @FreeBSD.org email - Transfer maintainership to games@ team - Remove TODO from DOCS games/gnurobots - Transfer maintainership to games@ team - Remove TODO from DOCS - Simplify DOCS installation handling games/gtkballs - Transfer maintainership to games@ team games/gtktetcolor - Transfer maintainership to games@ team games/help_hannahs_horse - Transfer maintainership to games@ team - Disable Clang warnings with CFLAGS+ - Cosmetical changes - Change pkg-plist, remove mtree games/hitori - Change Makefile header, use my name and @FreeBSD.org email - Bump PORTREVISION for dependency change - Transfer maintainership to games@ team - Remove USES desktop-file-utils - Use tar:xz instead of USE_XZ=yes games/holotz-castle - Transfer maintainership to games@ team - Break lines around 80 characters games/icbm3d - Remove FTP master site - Transfer maintainership to games@ team games/icebreaker - Transfer maintainership to games@ team - Change pkg-message games/icebreaker - Transfer maintainership to games@ team games/iceicepenguin - Change Makefile header, use my name and @FreeBSD.org email - Transfer maintainership to games@ team - Add DOCS Option games/impossible_mission_puzzle - Transfer maintainership to games@ team games/kajaani-kombat - Change Makefile header, use my name and @FreeBSD.org email - Transfer maintainership to games@ team - Cosmetical changes games/krank - Transfer maintainership to games@ team - Add DOCS Option - Cosmetical changes games/lianliankan - Transfer maintainership to games@ team games/lmarbles - Transfer maintainership to games@ team games/lostfeathers - Transfer maintainership to games@ team - Use zip instead of USES=zip - USES shebangfix and SHEBANG_FILES instead of REINPLACE - Cosmetical changes games/madbomber - Remove FTP master site - Transfer maintainership to games@ team - Remove TODO.txt from DOCS games/maelstrom - Transfer maintainership to games@ team games/moagg - Change Makefile header, use my name and @FreeBSD.org email - Transfer maintainership to games@ team - Cosmetical changes games/mopesnake - Change Makefile header, use my name and @FreeBSD.org email - Transfer maintainership to games@ team - Remove TODO.txt from DOCS - Cosmetical changes games/nuclearchess - Transfer maintainership to games@ team games/palomino/Makefile - Transfer maintainership to games@ team games/pipenightdreams - Transfer maintainership to games@ team - Use tar.gz instead of tar.bz2 - Don't silence warnings games/popstar - Remove FTP master site - Transfer maintainership to games@ team - Remove TODO.txt from DOCS - Change Desktop entry file games/ppracer - Transfer maintainership to games@ team games/pyawale - Transfer maintainership to games@ team - Remove not needed bsd.port.options.mk - Fix the usage of 'python' to get rid of the implicit lang/python dependency, change REINPLACE and files/pyawale.in - Break lines around 80 characters - Simplify DOCS installation handling games/pytowerdefense - Transfer maintainership to games@ team - Change Desktop entry file - Simplify installation handling games/rescue - Transfer maintainership to games@ team - Add DOCS Option games/schiff - Transfer maintainership to games@ team games/schwarzweiss - Transfer maintainership to games@ team - Add USES shebangfix and SHEBANG_FILES - Cosmetical changes games/sets - Change Makefile header, use my name and @FreeBSD.org email - Transfer maintainership to games@ team games/ttt - Transfer maintainership to games@ team games/tux-aqfh - Transfer maintainership to games@ team - Simplify DOCS installation handling games/tuxfighter - Change Makefile header, use my name and @FreeBSD.org email - Transfer maintainership to games@ team - Change USE_PYTHON=yes to USE_PYTHON=2 - Change Desktop entry file - Simplify installation handling - Use files/pkg-message.in instead of pkg-message games/tuxkart - Transfer maintainership to games@ team - Simplify DOCS installation handling games/vectoroids - Remove FTP master site - Transfer maintainership to games@ team - Cosmetical changes games/whichwayisup - Transfer maintainership to games@ team games/wordplay - Transfer maintainership to games@ team games/xemeraldia - Transfer maintainership to games@ team games/xsc - Transfer maintainership to games@ team - Break lines around 80 characters games/zephulor - Transfer maintainership to games@ team - Change Desktop entry file - Simplify DOCS installation handling
2014-05-02 17:44:31 +02:00
post-patch:
@${FIND} ${WRKSRC} -name '*.py' | ${XARGS} \
${REINPLACE_CMD} -e 's|^.*#!.*python.*$$|#!${PYTHON_CMD}|'
@${FIND} ${WRKSRC} -name "*.bak" -delete
2016-05-11 15:06:48 +02:00
post-patch-SHADER-on:
@${REINPLACE_CMD} -i '' '/#try/,/# print/s/#//' ${WRKSRC}/objects.py
do-build:
@${PYTHON_CMD} -m compileall ${WRKSRC}
@${PYTHON_CMD} -O -m compileall ${WRKSRC}
do-install:
@${REINPLACE_CMD} -e 's|%%PYTHON_CMD%%|${PYTHON_CMD}|' \
${WRKDIR}/${PORTNAME}
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
.for d in data pyglyph
@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${STAGEDIR}${DATADIR})
.endfor
Moving some games to @games games/3dpong - Remove FTP master site - Transfer maintainership to games@ team - Remove TODO.txt from DOCS games/abe - Transfer maintainership to games@ team - Cosmetical changes games/abuse_sdl - Transfer maintainership to games@ team games/airstrike - Transfer maintainership to games@ team - Remove TODO from DOCS games/aop - Transfer maintainership to games@ team - Break lines around 80 characters games/asteroid - Transfer maintainership to games@ team games/asteroids3d - Transfer maintainership to games@ team games/awale - Transfer maintainership to games@ team games/barbie_seahorse_adventures - Transfer maintainership to games@ team games/barrage - Transfer maintainership to games@ team games/black-box - Change Makefile header, use my name and @FreeBSD.org email - Transfer maintainership to games@ team games/blobwars - Transfer maintainership to games@ team games/blockrage - Transfer maintainership to games@ team games/bombz - Transfer maintainership to games@ team - Cosmetical changes games/bouncy - Transfer maintainership to games@ team - Cosmetical changes - Change Desktop entry file games/bubble-chains - Transfer maintainership to games@ team - Remove not needed bsd.port.options.mk games/bugsquish - Remove FTP master site - Transfer maintainership to games@ team - Remove TODO.txt from DOCS games/capicity - Transfer maintainership to games@ team games/capitalism - Change Makefile header, use my name and @FreeBSD.org email - Transfer maintainership to games@ team - Change Desktop entry file - Break lines around 80 characters games/cuyo - Transfer maintainership to games@ team - Don't silence warnings - Remove TODO from DOCS games/defendguin - Remove FTP master site - Transfer maintainership to games@ team - Remove TODO.txt from DOCS - Break lines around 80 characters games/duckmaze - Transfer maintainership to games@ team - Remove TODO.txt from DOCS - Add DOCS Option - Cosmetical changes games/entombed - Remove FTP master site - Transfer maintainership to games@ team - Remove TODO.txt from DOCS - Change Desktop entry file games/epiar - Change Makefile header, use my name and @FreeBSD.org email - Transfer maintainership to games@ team games/euchre - Transfer maintainership to games@ team - Remove TODO from DOCS - Change Desktop entry file - Change pkg-descr, cosmetical changes games/fightorperish - Transfer maintainership to games@ team - Remove TODO.txt from DOCS - Change Desktop entry file - Break lines around 80 characters games/frotz - Transfer maintainership to games@ team games/gemdropx - Remove FTP master site - Transfer maintainership to games@ team - Remove TODO.txt from DOCS games/glightoff - Change Makefile header, use my name and @FreeBSD.org email - Transfer maintainership to games@ team - Remove TODO from DOCS games/gnurobots - Transfer maintainership to games@ team - Remove TODO from DOCS - Simplify DOCS installation handling games/gtkballs - Transfer maintainership to games@ team games/gtktetcolor - Transfer maintainership to games@ team games/help_hannahs_horse - Transfer maintainership to games@ team - Disable Clang warnings with CFLAGS+ - Cosmetical changes - Change pkg-plist, remove mtree games/hitori - Change Makefile header, use my name and @FreeBSD.org email - Bump PORTREVISION for dependency change - Transfer maintainership to games@ team - Remove USES desktop-file-utils - Use tar:xz instead of USE_XZ=yes games/holotz-castle - Transfer maintainership to games@ team - Break lines around 80 characters games/icbm3d - Remove FTP master site - Transfer maintainership to games@ team games/icebreaker - Transfer maintainership to games@ team - Change pkg-message games/icebreaker - Transfer maintainership to games@ team games/iceicepenguin - Change Makefile header, use my name and @FreeBSD.org email - Transfer maintainership to games@ team - Add DOCS Option games/impossible_mission_puzzle - Transfer maintainership to games@ team games/kajaani-kombat - Change Makefile header, use my name and @FreeBSD.org email - Transfer maintainership to games@ team - Cosmetical changes games/krank - Transfer maintainership to games@ team - Add DOCS Option - Cosmetical changes games/lianliankan - Transfer maintainership to games@ team games/lmarbles - Transfer maintainership to games@ team games/lostfeathers - Transfer maintainership to games@ team - Use zip instead of USES=zip - USES shebangfix and SHEBANG_FILES instead of REINPLACE - Cosmetical changes games/madbomber - Remove FTP master site - Transfer maintainership to games@ team - Remove TODO.txt from DOCS games/maelstrom - Transfer maintainership to games@ team games/moagg - Change Makefile header, use my name and @FreeBSD.org email - Transfer maintainership to games@ team - Cosmetical changes games/mopesnake - Change Makefile header, use my name and @FreeBSD.org email - Transfer maintainership to games@ team - Remove TODO.txt from DOCS - Cosmetical changes games/nuclearchess - Transfer maintainership to games@ team games/palomino/Makefile - Transfer maintainership to games@ team games/pipenightdreams - Transfer maintainership to games@ team - Use tar.gz instead of tar.bz2 - Don't silence warnings games/popstar - Remove FTP master site - Transfer maintainership to games@ team - Remove TODO.txt from DOCS - Change Desktop entry file games/ppracer - Transfer maintainership to games@ team games/pyawale - Transfer maintainership to games@ team - Remove not needed bsd.port.options.mk - Fix the usage of 'python' to get rid of the implicit lang/python dependency, change REINPLACE and files/pyawale.in - Break lines around 80 characters - Simplify DOCS installation handling games/pytowerdefense - Transfer maintainership to games@ team - Change Desktop entry file - Simplify installation handling games/rescue - Transfer maintainership to games@ team - Add DOCS Option games/schiff - Transfer maintainership to games@ team games/schwarzweiss - Transfer maintainership to games@ team - Add USES shebangfix and SHEBANG_FILES - Cosmetical changes games/sets - Change Makefile header, use my name and @FreeBSD.org email - Transfer maintainership to games@ team games/ttt - Transfer maintainership to games@ team games/tux-aqfh - Transfer maintainership to games@ team - Simplify DOCS installation handling games/tuxfighter - Change Makefile header, use my name and @FreeBSD.org email - Transfer maintainership to games@ team - Change USE_PYTHON=yes to USE_PYTHON=2 - Change Desktop entry file - Simplify installation handling - Use files/pkg-message.in instead of pkg-message games/tuxkart - Transfer maintainership to games@ team - Simplify DOCS installation handling games/vectoroids - Remove FTP master site - Transfer maintainership to games@ team - Cosmetical changes games/whichwayisup - Transfer maintainership to games@ team games/wordplay - Transfer maintainership to games@ team games/xemeraldia - Transfer maintainership to games@ team games/xsc - Transfer maintainership to games@ team - Break lines around 80 characters games/zephulor - Transfer maintainership to games@ team - Change Desktop entry file - Simplify DOCS installation handling
2014-05-02 17:44:31 +02:00
.for f in *.py *.pyc *.pyo
${INSTALL_SCRIPT} ${WRKSRC}/${f} ${STAGEDIR}${DATADIR}
.endfor
${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \
${STAGEDIR}${PREFIX}/share/pixmaps/
2016-05-11 15:06:48 +02:00
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>