diff options
author | bapt <bapt@FreeBSD.org> | 2014-05-27 20:14:38 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-05-27 20:14:38 +0800 |
commit | 16f18f47f39ff7d6483b6326ee2a52427976bce0 (patch) | |
tree | f62a0baf8792482b5df241497db49534bb86f594 /games/irrlamb | |
parent | b2071e41d3e59c759baf608d46ac28d3a8f7dafb (diff) | |
download | freebsd-ports-gnome-16f18f47f39ff7d6483b6326ee2a52427976bce0.tar.gz freebsd-ports-gnome-16f18f47f39ff7d6483b6326ee2a52427976bce0.tar.zst freebsd-ports-gnome-16f18f47f39ff7d6483b6326ee2a52427976bce0.zip |
Switch to USES=scons
Fix build with new lua
Diffstat (limited to 'games/irrlamb')
-rw-r--r-- | games/irrlamb/Makefile | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/games/irrlamb/Makefile b/games/irrlamb/Makefile index 9ab28caef8ce..648bd281a83b 100644 --- a/games/irrlamb/Makefile +++ b/games/irrlamb/Makefile @@ -11,11 +11,10 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}-src MAINTAINER= amdmi3@FreeBSD.org COMMENT= 3D physics-based puzzle game -LIB_DEPENDS= sqlite3:${PORTSDIR}/databases/sqlite3 +LIB_DEPENDS= libsqlite3.so:${PORTSDIR}/databases/sqlite3 BUILD_DEPENDS= ${LOCALBASE}/lib/libIrrlicht.so:${PORTSDIR}/x11-toolkits/irrlicht RUN_DEPENDS= ${LOCALBASE}/lib/libIrrlicht.so:${PORTSDIR}/x11-toolkits/irrlicht -USE_SCONS= yes USES= scons dos2unix lua:51 DOS2UNIX_FILES= src/engine/save.h src/objects/orb.cpp src/objects/player.cpp @@ -30,8 +29,6 @@ PORTDATA= * DATA_DIRS= art campaigns collision fonts levels meshes scenes scripts textures -.include <bsd.port.options.mk> - post-patch: .for dir in ${DATA_DIRS} @${REINPLACE_CMD} -e 's|"\(${dir}/\)|"${DATADIR}/\1|' \ @@ -39,6 +36,7 @@ post-patch: ${WRKSRC}/src/objects/*.cpp ${WRKSRC}/meshes/*.irrmesh \ ${WRKSRC}/scenes/*.irr .endfor + @${REINPLACE_CMD} -e "s/lua/lua-${LUA_VER}/g" ${WRKSRC}/SConstruct @${FIND} ${WRKSRC} -name "*.bak" -delete do-install: |