2013-09-20 19:36:33 +02:00
|
|
|
# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
|
2001-05-04 12:51:36 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= solarwolf
|
2004-02-18 17:58:57 +01:00
|
|
|
PORTVERSION= 1.5
|
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 02:35:33 +01:00
|
|
|
PORTREVISION= 12
|
2001-05-04 12:51:36 +02:00
|
|
|
CATEGORIES= games
|
2018-12-01 14:08:39 +01:00
|
|
|
MASTER_SITES= https://www.pygame.org/shredwheat/solarwolf/
|
2001-05-04 12:51:36 +02:00
|
|
|
|
2014-06-14 03:00:58 +02:00
|
|
|
MAINTAINER= mail@maxlor.com
|
2014-06-13 09:36:27 +02:00
|
|
|
COMMENT= Action/arcade game originally based of SolarFox on the Atari 2600
|
2001-05-04 12:51:36 +02:00
|
|
|
|
2014-06-14 03:00:58 +02:00
|
|
|
LICENSE= LGPL21
|
2015-06-07 18:51:01 +02:00
|
|
|
LICENSE_FILE= ${WRKSRC}/lgpl.txt
|
2014-06-14 03:00:58 +02:00
|
|
|
|
2017-12-09 10:36:10 +01:00
|
|
|
RUN_DEPENDS= ${PYGAME}
|
2001-05-04 12:51:36 +02:00
|
|
|
|
2017-12-09 10:36:10 +01:00
|
|
|
USES= python:2.7 shebangfix
|
|
|
|
SHEBANG_FILES= solarwolf.py
|
2001-05-04 12:51:36 +02:00
|
|
|
|
2014-06-14 03:00:58 +02:00
|
|
|
DESKTOP_ENTRIES= "SolarWolf" "${COMMENT}" "solarwolf" \
|
|
|
|
"solarwolf" "Game;ArcadeGame;" false
|
2003-02-03 14:39:15 +01:00
|
|
|
|
2001-05-04 12:51:36 +02:00
|
|
|
do-build:
|
|
|
|
${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
|
|
|
|
|
|
|
|
do-install:
|
2014-06-14 03:00:58 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/share/solarwolf
|
|
|
|
(cd ${WRKSRC}; tar -cf - --exclude ".xvpics" --exclude "dist" .) | \
|
|
|
|
(cd ${STAGEDIR}${PREFIX}/share/solarwolf; tar --unlink -xf -)
|
|
|
|
${PRINTF} "#!/bin/sh\nexec ${PYTHON_CMD} ${PREFIX}/share/solarwolf/solarwolf.py\n" \
|
|
|
|
> ${STAGEDIR}${PREFIX}/bin/solarwolf
|
|
|
|
${CP} ${WRKSRC}/dist/solarwolf.6.gz ${STAGEDIR}${MAN6PREFIX}/man/man6/
|
|
|
|
${CP} ${WRKSRC}/dist/solarwolf.png ${STAGEDIR}${PREFIX}/share/pixmaps/
|
2001-05-04 12:51:36 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|