| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.2 2019/08/07 12:15:06 nia Exp $ | | 1 | # $NetBSD: Makefile,v 1.3 2020/05/14 19:26:46 joerg Exp $ |
2 | | | 2 | |
3 | DISTNAME= unknown-horizons-2019.1 | | 3 | DISTNAME= unknown-horizons-2019.1 |
4 | CATEGORIES= games | | 4 | CATEGORIES= games |
5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=unknown-horizons/} | | 5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=unknown-horizons/} |
6 | | | 6 | |
7 | MAINTAINER= pkgsrc-users@NetBSD.org | | 7 | MAINTAINER= pkgsrc-users@NetBSD.org |
8 | HOMEPAGE= http://unknown-horizons.org/ | | 8 | HOMEPAGE= http://unknown-horizons.org/ |
9 | COMMENT= 2D RTS game with an emphasis on economy and city building | | 9 | COMMENT= 2D RTS game with an emphasis on economy and city building |
10 | LICENSE= gnu-gpl-v2 | | 10 | LICENSE= gnu-gpl-v2 |
11 | | | 11 | |
12 | USE_TOOLS+= intltool msgfmt | | 12 | USE_TOOLS+= intltool msgfmt |
13 | | | 13 | |
14 | DEPENDS+= ${PYPKGPREFIX}-future-[0-9]*:../../devel/py-future | | 14 | DEPENDS+= ${PYPKGPREFIX}-future-[0-9]*:../../devel/py-future |
| @@ -19,18 +19,18 @@ DEPENDS+= ${PYPKGPREFIX}-yaml-[0-9]*:../ | | | @@ -19,18 +19,18 @@ DEPENDS+= ${PYPKGPREFIX}-yaml-[0-9]*:../ |
19 | DEPENDS+= fifengine-[0-9]*:../../devel/fifengine | | 19 | DEPENDS+= fifengine-[0-9]*:../../devel/fifengine |
20 | | | 20 | |
21 | REPLACE_PYTHON+= run_server.py | | 21 | REPLACE_PYTHON+= run_server.py |
22 | REPLACE_PYTHON+= run_uh.py | | 22 | REPLACE_PYTHON+= run_uh.py |
23 | | | 23 | |
24 | SUBST_CLASSES+= paths | | 24 | SUBST_CLASSES+= paths |
25 | SUBST_STAGE.paths= pre-configure | | 25 | SUBST_STAGE.paths= pre-configure |
26 | SUBST_MESSAGE.paths= Setting paths. | | 26 | SUBST_MESSAGE.paths= Setting paths. |
27 | SUBST_FILES.paths+= run_uh.py setup.py | | 27 | SUBST_FILES.paths+= run_uh.py setup.py |
28 | SUBST_VARS.paths+= PREFIX PKGMANDIR | | 28 | SUBST_VARS.paths+= PREFIX PKGMANDIR |
29 | | | 29 | |
30 | # Misses generating these files sometimes somehow | | 30 | # Misses generating these files sometimes somehow |
31 | post-build: | | 31 | post-build: |
32 | cd ${WRKSRC} && ${PYTHONBIN} horizons/engine/generate_atlases.py 2048 | | 32 | cd ${WRKSRC} && ${PKGSRC_SETENV} ${MAKE_ENV} ${PYTHONBIN} horizons/engine/generate_atlases.py 2048 |
33 | | | 33 | |
34 | .include "../../lang/python/application.mk" | | 34 | .include "../../lang/python/application.mk" |
35 | .include "../../lang/python/distutils.mk" | | 35 | .include "../../lang/python/distutils.mk" |
36 | .include "../../mk/bsd.pkg.mk" | | 36 | .include "../../mk/bsd.pkg.mk" |