|
Lines 2-8
Link Here
|
| 2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
| 3 |
|
3 |
|
| 4 |
PORTNAME= minetest |
4 |
PORTNAME= minetest |
| 5 |
PORTVERSION= 0.4.17.1 |
5 |
PORTVERSION= 5.0.1 |
| 6 |
CATEGORIES= games |
6 |
CATEGORIES= games |
| 7 |
|
7 |
|
| 8 |
MAINTAINER= amdmi3@FreeBSD.org |
8 |
MAINTAINER= amdmi3@FreeBSD.org |
|
Lines 25-34
Link Here
|
| 25 |
PORTDATA= * |
25 |
PORTDATA= * |
| 26 |
PORTDOCS= * |
26 |
PORTDOCS= * |
| 27 |
|
27 |
|
| 28 |
OPTIONS_DEFINE= CLIENT SERVER CURL NLS SOUND DOCS EXAMPLES FREETYPE LEVELDB REDIS LUAJIT SPATIAL PGSQL |
28 |
OPTIONS_DEFINE= CURL NLS SOUND DOCS EXAMPLES FREETYPE LEVELDB REDIS LUAJIT SPATIAL \ |
| 29 |
OPTIONS_DEFAULT=CLIENT SERVER CURL SOUND FREETYPE LUAJIT |
29 |
PGSQL GAME |
|
|
30 |
OPTIONS_DEFAULT=CLIENT SERVER CURL SOUND FREETYPE LUAJIT GAME |
| 30 |
OPTIONS_SUB= yes |
31 |
OPTIONS_SUB= yes |
| 31 |
|
32 |
|
|
|
33 |
OPTIONS_MULTI= EXECUTABLES |
| 34 |
OPTIONS_MULTI_EXECUTABLES= CLIENT SERVER |
| 35 |
|
| 32 |
CLIENT_DESC= Build client |
36 |
CLIENT_DESC= Build client |
| 33 |
SERVER_DESC= Build server |
37 |
SERVER_DESC= Build server |
| 34 |
CURL_DESC= Enable cURL support for fetching media |
38 |
CURL_DESC= Enable cURL support for fetching media |
|
Lines 38-50
Link Here
|
| 38 |
FREETYPE_DESC= Support for TrueType fonts with unicode |
42 |
FREETYPE_DESC= Support for TrueType fonts with unicode |
| 39 |
LUAJIT_DESC= LuaJIT support |
43 |
LUAJIT_DESC= LuaJIT support |
| 40 |
SPATIAL_DESC= Enable SpatialIndex AreaStore backend |
44 |
SPATIAL_DESC= Enable SpatialIndex AreaStore backend |
|
|
45 |
GAME_DESC= Depend on minetest_game |
| 41 |
|
46 |
|
| 42 |
CLIENT_CMAKE_ON= -DBUILD_CLIENT=1 |
47 |
CLIENT_CMAKE_ON= -DBUILD_CLIENT=1 |
| 43 |
CLIENT_CMAKE_OFF= -DBUILD_CLIENT=0 |
48 |
CLIENT_CMAKE_OFF= -DBUILD_CLIENT=0 |
| 44 |
CLIENT_LIB_DEPENDS= libpng.so:graphics/png \ |
49 |
CLIENT_LIB_DEPENDS= libpng.so:graphics/png \ |
| 45 |
libIrrlicht.so:x11-toolkits/irrlicht |
50 |
libIrrlicht.so:x11-toolkits/irrlicht |
| 46 |
CLIENT_USES= jpeg |
51 |
CLIENT_USES= jpeg gl |
| 47 |
CLIENT_USE= GL=gl XORG=x11,xext |
52 |
CLIENT_USE= GL=gl XORG=x11,xext,xxf86vm |
| 48 |
SERVER_CMAKE_BOOL= BUILD_SERVER |
53 |
SERVER_CMAKE_BOOL= BUILD_SERVER |
| 49 |
CURL_CMAKE_BOOL= ENABLE_CURL |
54 |
CURL_CMAKE_BOOL= ENABLE_CURL |
| 50 |
CURL_LIB_DEPENDS= libcurl.so:ftp/curl |
55 |
CURL_LIB_DEPENDS= libcurl.so:ftp/curl |
|
Lines 64-69
Link Here
|
| 64 |
SPATIAL_CMAKE_BOOL= ENABLE_SPATIAL |
69 |
SPATIAL_CMAKE_BOOL= ENABLE_SPATIAL |
| 65 |
PGSQL_USES= pgsql |
70 |
PGSQL_USES= pgsql |
| 66 |
PGSQL_CMAKE_BOOL= ENABLE_POSTGRESQL |
71 |
PGSQL_CMAKE_BOOL= ENABLE_POSTGRESQL |
|
|
72 |
GAME_RUN_DEPENDS= minetest_game>0:games/minetest_game |
| 67 |
|
73 |
|
| 68 |
.include <bsd.port.options.mk> |
74 |
.include <bsd.port.options.mk> |
| 69 |
|
75 |
|
|
Lines 79-84
Link Here
|
| 79 |
GROUPS= ${PORTNAME} |
85 |
GROUPS= ${PORTNAME} |
| 80 |
.endif |
86 |
.endif |
| 81 |
|
87 |
|
|
|
88 |
|
| 82 |
# hacky way to not bring irrlicht and X11 depends for server only |
89 |
# hacky way to not bring irrlicht and X11 depends for server only |
| 83 |
.if ! ${PORT_OPTIONS:MCLIENT} && ${PORT_OPTIONS:MSERVER} |
90 |
.if ! ${PORT_OPTIONS:MCLIENT} && ${PORT_OPTIONS:MSERVER} |
| 84 |
BUILD_DEPENDS+= ${NONEXISTENT}:x11-toolkits/irrlicht:patch |
91 |
BUILD_DEPENDS+= ${NONEXISTENT}:x11-toolkits/irrlicht:patch |