Lines 14-25
LICENSE_FILE= ${WRKSRC}/COPYING
Link Here
|
14 |
|
14 |
|
15 |
BROKEN_i386= ld: error: cannot preempt symbol: alcOpenDevice |
15 |
BROKEN_i386= ld: error: cannot preempt symbol: alcOpenDevice |
16 |
|
16 |
|
17 |
LIB_DEPENDS= libsqlite3.so:databases/sqlite3 \ |
17 |
LIB_DEPENDS= libcurl.so:ftp/curl \ |
18 |
libcurl.so:ftp/curl \ |
|
|
19 |
libangelscript.so:lang/angelscript \ |
18 |
libangelscript.so:lang/angelscript \ |
20 |
libmcpp.so:devel/mcpp |
19 |
libmcpp.so:devel/mcpp |
21 |
|
20 |
|
22 |
USES= alias cmake compiler:c++11-lib pkgconfig ssl tar:xz |
21 |
USES= alias cmake compiler:c++11-lib pkgconfig ssl sqlite tar:xz |
|
|
22 |
|
23 |
# make sure that bundled libraries are not used |
24 |
EXTRACT_AFTER_ARGS= --exclude lib/angelscipt \ |
25 |
--exclude lib/mcpp \ |
26 |
--exclude lib/wiiuse |
27 |
|
23 |
CMAKE_OFF= USE_WIIUSE |
28 |
CMAKE_OFF= USE_WIIUSE |
24 |
CMAKE_OFF+= BUILD_RECORDER |
29 |
CMAKE_OFF+= BUILD_RECORDER |
25 |
CMAKE_OFF+= USE_SYSTEM_ENET # bundled enet is required for IPv6 support |
30 |
CMAKE_OFF+= USE_SYSTEM_ENET # bundled enet is required for IPv6 support |
Lines 50-61
SERVER_ONLY_LIB_DEPENDS_OFF= \
Link Here
|
50 |
SERVER_ONLY_USES_OFF= gettext gl jpeg openal:al sdl xorg |
55 |
SERVER_ONLY_USES_OFF= gettext gl jpeg openal:al sdl xorg |
51 |
SERVER_ONLY_USE_OFF= GL=gl,glu SDL=sdl2 XORG=x11,xrandr |
56 |
SERVER_ONLY_USE_OFF= GL=gl,glu SDL=sdl2 XORG=x11,xrandr |
52 |
|
57 |
|
53 |
# make sure that bundled libraries are not used |
|
|
54 |
post-extract: |
55 |
.for bundled in wiiuse angelscipt mcpp |
56 |
@${RM} -rf ${WRKSRC}/lib/${bundled} |
57 |
.endfor |
58 |
|
59 |
post-patch: |
58 |
post-patch: |
60 |
@${REINPLACE_CMD} -e 's|Icon=.*|Icon=${PREFIX}/share/icons/hicolor/128x128/apps/supertuxkart.png|' \ |
59 |
@${REINPLACE_CMD} -e 's|Icon=.*|Icon=${PREFIX}/share/icons/hicolor/128x128/apps/supertuxkart.png|' \ |
61 |
${WRKSRC}/data/${PORTNAME}.desktop |
60 |
${WRKSRC}/data/${PORTNAME}.desktop |