1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00
freebsd-ports/games/zephulor/Makefile
Gerald Pfeifer a9f015d155 Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
2018-12-12 01:35:33 +00:00

57 lines
1.5 KiB
Makefile

# Created by: Alejandro Pulver <alejandro@varnet.biz>
# $FreeBSD$
PORTNAME= zephulor
PORTVERSION= 1
PORTREVISION= 11
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= ports@FreeBSD.org
COMMENT= Side scrolling arcade game
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING.txt
RUN_DEPENDS= ${PYGAME} \
${PYTHON_PKGNAMEPREFIX}tkinter>=0:x11-toolkits/py-tkinter@${PY_FLAVOR}
WRKSRC= ${WRKDIR}/zephulor-source
USES= python:2.7
NO_BUILD= yes
PORTDOCS= *
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/
${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \
${STAGEDIR}${PREFIX}/share/pixmaps/
cd ${WRKSRC} && ${COPYTREE_SHARE} \
"README.txt manual.txt readme-*.txt maptool/manual.txt" \
${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>