freebsd-ports/games/pathological/Makefile
Gerald Pfeifer ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

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, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00

46 lines
1.2 KiB
Makefile

# Created by: Janos Mohacsi <janos.mohacsi@bsd.hu>
# $FreeBSD$
PORTNAME= pathological
PORTVERSION= 1.1.3
PORTREVISION= 14
CATEGORIES= games
MASTER_SITES= SF
MAINTAINER= jmohacsi@bsd.hu
COMMENT= Enriched clone of the game "Logical"
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYGAME}
OPTIONS_DEFINE= DOCS
USES= python shebangfix
SHEBANG_FILES= pathological.py
NO_BUILD= yes
NO_ARCH= yes
DOC_FILES= favicon.ico index.html
DESKTOP_ENTRIES="Pathological" \
"Logic game" \
"${DATADIR}/pathological.ico" \
"pathological" \
"Game;LogicGame;" \
false
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
(cd ${WRKSRC}; tar -cf - circuits graphics music sounds pathological.ico pathological.py pathological.xpm) | \
(cd ${STAGEDIR}${DATADIR}; tar --unlink -xf -)
@${PRINTF} "#!/bin/sh\ncd ${DATADIR} && \
exec ${PYTHON_CMD} ${DATADIR}/pathological.py\n" > ${WRKDIR}/pathological.sh
${INSTALL_SCRIPT} ${WRKDIR}/pathological.sh \
${STAGEDIR}${PREFIX}/bin/pathological
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.6.gz ${STAGEDIR}${MANPREFIX}/man/man6
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${DOC_FILES:S|^|${WRKSRC}/html/|g} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>