Lines 1-10
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 |
DISTFILES= ${PORTNAME}-${PORTVERSION}-all.zip |
7 |
DISTFILES= ${PORTNAME}-${PORTVERSION}-all.zip |
|
|
8 |
PKGNAMEPREFIX= openttd- |
8 |
|
9 |
|
9 |
MAINTAINER= rum1cro@yandex.ru |
10 |
MAINTAINER= rum1cro@yandex.ru |
10 |
COMMENT= Free alternative graphics for OpenTTD game engine |
11 |
COMMENT= Free alternative graphics for OpenTTD game engine |
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 |
16 |
NO_BUILD= yes |
18 |
NO_ARCH= yes |
17 |
NO_ARCH= yes |
19 |
DATADIR= ${PREFIX}/share/openttd/baseset/opengfx |
|
|
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}/*.grf \ |
27 |
${STAGEDIR}${PREFIX}/share/openttd/baseset/${PORTNAME} |
28 |
${INSTALL_DATA} \ |
29 |
${WRKSRC}/opengfx.obg \ |
30 |
${STAGEDIR}${PREFIX}/share/openttd/baseset/${PORTNAME} |
28 |
|
31 |
|
29 |
.include <bsd.port.mk> |
32 |
.include <bsd.port.mk> |