1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-20 08:27:15 +00:00
freebsd-ports/games/farblazer/Makefile
Gerald Pfeifer 15945f8122 Update the default version of GCC in the Ports Collection from GCC 4.7.4
to GCC 4.8.3.

Part II, Bump PORTREVISIONs.

PR:		192025
Tested by:	antoine (-exp runs)
Approved by:	portmgr (implicit)
2014-09-10 20:50:31 +00:00

51 lines
1.3 KiB
Makefile

# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
# $FreeBSD$
PORTNAME= farblazer
PORTVERSION= 0.7
PORTREVISION= 10
CATEGORIES= games
MASTER_SITES= http://www.pygame.org/gamelets/games/ \
SF/nemysisfreebsdp/${CATEGORIES}/:icons
DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
${PORTNAME}.png:icons
EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}
MAINTAINER= games@FreeBSD.org
COMMENT= Originally based of StarBlazer on the Apple ][
LICENSE= LGPL21
RUN_DEPENDS= ${PYGAME}
USE_PYTHON= yes
PORTDOCS= README.txt THANKS.txt
OPTIONS_DEFINE= DOCS
SUB_FILES= ${PORTNAME}
DESKTOP_ENTRIES="Farblazer" "" "${PORTNAME}" \
"${PORTNAME}" "Game;ArcadeGame;" ""
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/
@(cd ${WRKSRC} && ${COPYTREE_SHARE} "code data" ${STAGEDIR}${DATADIR})
.for f in *.py *.pyc *.pyo
${INSTALL_SCRIPT} ${WRKSRC}/${f} ${STAGEDIR}${DATADIR}
.endfor
${INSTALL_DATA} ${WRKSRC}/VERSION ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \
${STAGEDIR}${PREFIX}/share/pixmaps/
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>