diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2024-05-06 16:52:33 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2024-05-14 00:48:16 +0000 |
commit | 141103a7d0e90c2291a4a5ea4d882a230fb846f2 (patch) | |
tree | 69c30ba6a99041de072b2d64e1088b9ce415ebc6 | |
parent | dd13082cdbafedb64226cf94520f11e6de1d38dd (diff) | |
download | ports-141103a7d0e90c2291a4a5ea4d882a230fb846f2.tar.gz ports-141103a7d0e90c2291a4a5ea4d882a230fb846f2.zip |
games/supertuxkart: minor refactoring
- Switch to sqlite3 [1]
- Fix typo in post-extract [1]
- Remove unnecessary icon replacement
PR: 278760 [1]
Submitted by: diizzy [1]
-rw-r--r-- | games/supertuxkart/Makefile | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/games/supertuxkart/Makefile b/games/supertuxkart/Makefile index 0d8e178c9457..7902ee768ebc 100644 --- a/games/supertuxkart/Makefile +++ b/games/supertuxkart/Makefile @@ -1,6 +1,6 @@ PORTNAME= supertuxkart DISTVERSION= 1.4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= games MASTER_SITES= https://github.com/supertuxkart/stk-code/releases/download/${DISTVERSION}/ DISTNAME= SuperTuxKart-${DISTVERSION}-src @@ -14,12 +14,11 @@ LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_i386= ld: error: cannot preempt symbol: alcOpenDevice -LIB_DEPENDS= libsqlite3.so:databases/sqlite3 \ - libcurl.so:ftp/curl \ +LIB_DEPENDS= libcurl.so:ftp/curl \ libangelscript.so:lang/angelscript \ libmcpp.so:devel/mcpp -USES= alias cmake compiler:c++11-lib pkgconfig ssl tar:xz +USES= alias cmake compiler:c++11-lib pkgconfig sqlite ssl tar:xz CMAKE_OFF= USE_WIIUSE CMAKE_OFF+= BUILD_RECORDER CMAKE_OFF+= USE_SYSTEM_ENET # bundled enet is required for IPv6 support @@ -52,12 +51,8 @@ SERVER_ONLY_USE_OFF= GL=gl,glu SDL=sdl2 XORG=x11,xrandr # make sure that bundled libraries are not used post-extract: -.for bundled in wiiuse angelscipt mcpp +.for bundled in wiiuse angelscript mcpp @${RM} -rf ${WRKSRC}/lib/${bundled} .endfor -post-patch: - @${REINPLACE_CMD} -e 's|Icon=.*|Icon=${PREFIX}/share/icons/hicolor/128x128/apps/supertuxkart.png|' \ - ${WRKSRC}/data/${PORTNAME}.desktop - .include <bsd.port.mk> |