1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
freebsd-ports/games/zephulor/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

66 lines
1.7 KiB
Makefile

# Created by: Alejandro Pulver <alejandro@varnet.biz>
# $FreeBSD$
PORTNAME= zephulor
PORTVERSION= 1
PORTREVISION= 8
CATEGORIES= games
MASTER_SITES= SF/apz/apz/stable/ \
SF/nemysisfreebsdp/${CATEGORIES}/:icons
DISTFILES= ${PORTNAME}-source${EXTRACT_SUFX} \
${PORTNAME}.png:icons
EXTRACT_ONLY= ${PORTNAME}-source${EXTRACT_SUFX}
MAINTAINER= games@FreeBSD.org
COMMENT= Side scrolling arcade game
LICENSE= LGPL20
RUN_DEPENDS= ${PYGAME} \
${PYTHON_PKGNAMEPREFIX}tkinter>=0:${PORTSDIR}/x11-toolkits/py-tkinter
WRKSRC= ${WRKDIR}/zephulor-source
USE_PYTHON= 2
NO_BUILD= yes
PORTDOCS= *
DOCSRCDIR1= ${WRKSRC}
DOC_FILES1= README.txt manual.txt readme-*.txt
DOCSRCDIR2= ${WRKSRC}/maptool
DOCSDIR2= ${DOCSDIR}/maptool
DOC_FILES2= manual.txt
OPTIONS_DEFINE= DOCS
DESKTOP_ENTRIES="Adventures on Planet Zephulor" "" "${PORTNAME}" \
"${PORTNAME}" "Game;ArcadeGame;" ""
SUB_FILES= ${PORTNAME}
post-patch:
@${REINPLACE_CMD} -e 's|#!.*python|#!${PYTHON_CMD}|' \
${WRKSRC}/*.py ${WRKSRC}/maptool/*.py
@${FIND} ${WRKSRC} -name "*.bak" -delete
do-install:
@${REINPLACE_CMD} -e 's|%%PYTHON_CMD%%|${PYTHON_CMD}|' \
${WRKDIR}/${PORTNAME}
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
@${MKDIR} ${STAGEDIR}${DATADIR}/maptool/
${INSTALL_SCRIPT} ${WRKSRC}/*.py ${STAGEDIR}${DATADIR}
@(cd ${WRKSRC} && ${COPYTREE_SHARE} data ${STAGEDIR}${DATADIR})
${INSTALL_SCRIPT} ${WRKSRC}/maptool/*.py ${STAGEDIR}${DATADIR}/maptool/
post-install:
${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \
${STAGEDIR}${PREFIX}/share/pixmaps/
@${MKDIR} ${STAGEDIR}${DOCSDIR2}
${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${STAGEDIR}${DOCSDIR2}
.include <bsd.port.mk>