aboutsummaryrefslogtreecommitdiff
path: root/games/minetest/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/minetest/Makefile')
-rw-r--r--games/minetest/Makefile24
1 files changed, 12 insertions, 12 deletions
diff --git a/games/minetest/Makefile b/games/minetest/Makefile
index 11ea7a91f662..e6e921e28f5f 100644
--- a/games/minetest/Makefile
+++ b/games/minetest/Makefile
@@ -11,8 +11,8 @@ COMMENT= Near-infinite-world block sandbox game
LICENSE= LGPL21+
LICENSE_FILE= ${WRKSRC}/doc/lgpl-2.1.txt
-LIB_DEPENDS= libsqlite3.so:${PORTSDIR}/databases/sqlite3 \
- libgmp.so:${PORTSDIR}/math/gmp
+LIB_DEPENDS= libsqlite3.so:databases/sqlite3 \
+ libgmp.so:math/gmp
USE_GITHUB= yes
GH_ACCOUNT= minetest
@@ -40,15 +40,15 @@ SPATIAL_DESC= Enable SpatialIndex AreaStore backend
CLIENT_CMAKE_ON= -DBUILD_CLIENT=1
CLIENT_CMAKE_OFF= -DBUILD_CLIENT=0
-CLIENT_LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png \
- libIrrlicht.so:${PORTSDIR}/x11-toolkits/irrlicht
+CLIENT_LIB_DEPENDS= libpng.so:graphics/png \
+ libIrrlicht.so:x11-toolkits/irrlicht
CLIENT_USES= jpeg
CLIENT_USE= GL=gl XORG=x11
SERVER_CMAKE_ON= -DBUILD_SERVER=1
SERVER_CMAKE_OFF= -DBUILD_SERVER=0
CURL_CMAKE_ON= -DENABLE_CURL=1
CURL_CMAKE_OFF= -DENABLE_CURL=0
-CURL_LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl
+CURL_LIB_DEPENDS= libcurl.so:ftp/curl
NLS_CMAKE_ON= -DENABLE_GETTEXT=1
NLS_CMAKE_OFF= -DENABLE_GETTEXT=0
NLS_USES= gettext
@@ -57,17 +57,17 @@ SOUND_CMAKE_ON= -DENABLE_SOUND=1
SOUND_CMAKE_OFF= -DENABLE_SOUND=0
LEVELDB_CMAKE_ON= -DENABLE_LEVELDB=1
LEVELDB_CMAKE_OFF= -DENABLE_LEVELDB=0
-LEVELDB_LIB_DEPENDS= libleveldb.so:${PORTSDIR}/databases/leveldb
+LEVELDB_LIB_DEPENDS= libleveldb.so:databases/leveldb
REDIS_CMAKE_ON= -DENABLE_REDIS=1
REDIS_CMAKE_OFF= -DENABLE_REDIS=0
-REDIS_LIB_DEPENDS= libhiredis.so:${PORTSDIR}/databases/hiredis
+REDIS_LIB_DEPENDS= libhiredis.so:databases/hiredis
FREETYPE_CMAKE_ON= -DENABLE_FREETYPE=1
FREETYPE_CMAKE_OFF= -DENABLE_FREETYPE=0
-FREETYPE_LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2
+FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2
LUAJIT_CMAKE_ON= -DENABLE_LUAJIT=1
LUAJIT_CMAKE_OFF= -DENABLE_LUAJIT=0
-LUAJIT_LIB_DEPENDS= libluajit-5.1.so:${PORTSDIR}/lang/luajit
-SPATIAL_LIB_DEPENDS= libspatialindex.so:${PORTSDIR}/devel/spatialindex
+LUAJIT_LIB_DEPENDS= libluajit-5.1.so:lang/luajit
+SPATIAL_LIB_DEPENDS= libspatialindex.so:devel/spatialindex
SPATIAL_CMAKE_ON= -DENABLE_SPATIAL=1
SPATIAL_CMAKE_OFF= -DENABLE_SPATIAL=0
@@ -75,7 +75,7 @@ SPATIAL_CMAKE_OFF= -DENABLE_SPATIAL=0
.if ${PORT_OPTIONS:MCLIENT} && ${PORT_OPTIONS:MSOUND}
USES+= openal
-LIB_DEPENDS+= libvorbis.so:${PORTSDIR}/audio/libvorbis
+LIB_DEPENDS+= libvorbis.so:audio/libvorbis
.endif
.if ${PORT_OPTIONS:MSERVER}
@@ -86,7 +86,7 @@ GROUPS= ${PORTNAME}
# hacky way to not bring irrlicht and X11 depends for server only
.if ! ${PORT_OPTIONS:MCLIENT} && ${PORT_OPTIONS:MSERVER}
-BUILD_DEPENDS+= ${NONEXISTENT}:${PORTSDIR}/x11-toolkits/irrlicht:patch
+BUILD_DEPENDS+= ${NONEXISTENT}:x11-toolkits/irrlicht:patch
IRRLICHT_INCLUDE_DIR= `${MAKE} -C ${PORTSDIR}/x11-toolkits/irrlicht -V WRKSRC`/include
CMAKE_ARGS+= -DIRRLICHT_INCLUDE_DIR:STRING="${IRRLICHT_INCLUDE_DIR}"
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-irrlichtdepend