|
Lines 10-15
Link Here
|
| 10 |
|
10 |
|
| 11 |
LICENSE= LGPL21 |
11 |
LICENSE= LGPL21 |
| 12 |
|
12 |
|
|
|
13 |
PATCH_DEPENDS= mogrify:${PORTSDIR}/graphics/ImageMagick |
| 13 |
RUN_DEPENDS= minetest:${PORTSDIR}/games/minetest |
14 |
RUN_DEPENDS= minetest:${PORTSDIR}/games/minetest |
| 14 |
|
15 |
|
| 15 |
USE_GITHUB= yes |
16 |
USE_GITHUB= yes |
|
Lines 16-21
Link Here
|
| 16 |
GH_ACCOUNT= minetest |
17 |
GH_ACCOUNT= minetest |
| 17 |
|
18 |
|
| 18 |
NO_BUILD= yes |
19 |
NO_BUILD= yes |
|
|
20 |
NO_ARCH= yes |
| 19 |
DATADIR= ${PREFIX}/share/minetest/games/${PORTNAME} |
21 |
DATADIR= ${PREFIX}/share/minetest/games/${PORTNAME} |
| 20 |
PORTDATA= * |
22 |
PORTDATA= * |
| 21 |
PORTDOCS= * |
23 |
PORTDOCS= * |
|
Lines 22-27
Link Here
|
| 22 |
|
24 |
|
| 23 |
OPTIONS_DEFINE= DOCS |
25 |
OPTIONS_DEFINE= DOCS |
| 24 |
|
26 |
|
|
|
27 |
post-patch: |
| 28 |
# PNG warning: iCCP: RGB color space not permitted on grayscale PNG |
| 29 |
.for n in black dark_grey grey white |
| 30 |
@${PREFIX}/bin/mogrify ${WRKSRC}/mods/wool/textures/wool_${n}.png 2> /dev/null |
| 31 |
.endfor |
| 32 |
# PNG warning: iCCP: known incorrect sRGB profile |
| 33 |
@${PREFIX}/bin/mogrify ${WRKSRC}/mods/default/textures/default_papyrus.png |
| 34 |
.for n in dandelion_white dandelion_yellow geranium tulip |
| 35 |
@${PREFIX}/bin/mogrify ${WRKSRC}/mods/flowers/textures/flowers_${n}.png |
| 36 |
.endfor |
| 37 |
|
| 25 |
do-install: |
38 |
do-install: |
| 26 |
${MKDIR} ${STAGEDIR}${DATADIR} |
39 |
${MKDIR} ${STAGEDIR}${DATADIR} |
| 27 |
cd ${WRKSRC} && ${COPYTREE_SHARE} "game.conf menu mods" ${STAGEDIR}${DATADIR}/ |
40 |
cd ${WRKSRC} && ${COPYTREE_SHARE} "game.conf menu mods" ${STAGEDIR}${DATADIR}/ |