Lines 1-9
Link Here
|
1 |
# Created by: Ilya A. Arkhipov <rum1cro@yandex.ru> |
1 |
# Created by: Ilya A. Arkhipov <rum1cro@yandex.ru> |
2 |
|
2 |
|
3 |
PORTNAME= opengfx |
3 |
PORTNAME= opengfx |
4 |
PORTVERSION= 0.6.0 |
4 |
PORTVERSION= 7.1 |
5 |
CATEGORIES= games |
5 |
CATEGORIES= games |
6 |
MASTER_SITES= https://cdn.openttd.org/${PORTNAME}-releases/${PORTVERSION}/ |
6 |
MASTER_SITES= https://cdn.openttd.org/${PORTNAME}-releases/${PORTVERSION}/ |
|
|
7 |
PKGNAMEPREFIX= openttd- |
7 |
DISTFILES= ${PORTNAME}-${PORTVERSION}-all.zip |
8 |
DISTFILES= ${PORTNAME}-${PORTVERSION}-all.zip |
8 |
|
9 |
|
9 |
MAINTAINER= rum1cro@yandex.ru |
10 |
MAINTAINER= rum1cro@yandex.ru |
Lines 12-29
COMMENT= Free alternative graphics for OpenTTD game engine
Link Here
|
12 |
LICENSE= GPLv2 |
13 |
LICENSE= GPLv2 |
13 |
LICENSE_FILE= ${WRKSRC}/license.txt |
14 |
LICENSE_FILE= ${WRKSRC}/license.txt |
14 |
|
15 |
|
15 |
USES= zip |
|
|
16 |
|
17 |
NO_BUILD= yes |
18 |
NO_ARCH= yes |
16 |
NO_ARCH= yes |
19 |
DATADIR= ${PREFIX}/share/openttd/baseset/opengfx |
17 |
NO_BUILD= yes |
20 |
|
18 |
|
21 |
# upstream zipped a tar file, unpack it. |
|
|
22 |
post-extract: |
19 |
post-extract: |
23 |
@cd ${WRKDIR} && tar -xf ${PORTNAME}-${PORTVERSION}.tar |
20 |
@cd ${WRKDIR} && tar -xf ${PORTNAME}-${PORTVERSION}.tar |
24 |
|
21 |
|
25 |
do-install: |
22 |
do-install: |
26 |
@${MKDIR} ${STAGEDIR}${DATADIR} |
23 |
@${MKDIR} \ |
27 |
${INSTALL_DATA} ${WRKSRC}/* ${STAGEDIR}${DATADIR} |
24 |
${STAGEDIR}${PREFIX}/share/openttd/baseset/${PORTNAME} |
|
|
25 |
${INSTALL_DATA} \ |
26 |
${WRKSRC}/* \ |
27 |
${STAGEDIR}${PREFIX}/share/openttd/baseset/${PORTNAME} |
28 |
|
28 |
|
29 |
.include <bsd.port.mk> |
29 |
.include <bsd.port.mk> |