Index: head/games/openttd/Makefile =================================================================== --- head/games/openttd/Makefile (revision 323885) +++ head/games/openttd/Makefile (revision 323886) @@ -1,129 +1,128 @@ # Created by: Alexey Dokuchaev # $FreeBSD$ PORTNAME= openttd -PORTVERSION= 1.3.1 +PORTVERSION= 1.3.2 CATEGORIES= games MASTER_SITES= http://ftp.snt.utwente.nl/pub/games/openttd/binaries/releases/${PORTVERSION}/ \ http://us.binaries.openttd.org/binaries/releases/${PORTVERSION}/ DISTNAME= ${PORTNAME}-${PORTVERSION}-source MAINTAINER= danfe@FreeBSD.org COMMENT= Open source clone of Microprose Transport Tycoon Deluxe LICENSE= GPLv2 LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \ lzo2:${PORTSDIR}/archivers/lzo2 +USES= gmake USE_XZ= yes HAS_CONFIGURE= yes CONFIGURE_ENV= STRIP="${STRIP_CMD} ${STRIP}" CONFIGURE_ARGS= --prefix-dir="${PREFIX}" --data-dir="${DATADIR_REL}" -USE_GMAKE= yes MAKE_ARGS= VERBOSE=1 # We want to see what's going on -MAKE_JOBS_SAFE= yes WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} CXXFLAGS= # Set to empty as OpenTTD treats it as an addition to CFLAGS SUB_FILES= pkg-message MAN6= ${PORTNAME}.6 PORTDOCS= HOWTO_compile_lang_files.txt admin_network.txt \ elrail.svg elrail_tile.png elrail_track.png landscape.html \ landscape_externals.html landscape_grid.html multiplayer.txt \ obg_format.txt obm_format.txt obs_format.txt \ ottd-colourtext-palette.png tileh.png DESKTOP_ENTRIES="OpenTTD" "${COMMENT}" "${PORTNAME}" "${PORTNAME}" \ "Game;Simulation;StrategyGame;" false .if defined(WITH_MIDI_PLAYER) CONFIGURE_ARGS+= --with-midi="${WITH_MIDI_PLAYER}" .endif .if defined(WITH_MIDI_PLAYER_ARGS) CONFIGURE_ARGS+= --with-midi-arg="${WITH_MIDI_PLAYER_ARGS}" .endif .if defined(WITH_DEDICATED_SERVER_ONLY) USE_GNOME= pkgconfig # Needed for liblzma support CONFIGURE_ARGS+= --enable-dedicated # Aid it to find lzo2 headers; client build gets it via sdl-config CFLAGS+= -I${LOCALBASE}/include USE_RC_SUBR= ${PORTNAME} .else LIB_DEPENDS+= freetype:${PORTSDIR}/print/freetype2 \ fontconfig:${PORTSDIR}/x11-fonts/fontconfig USE_SDL= sdl INSTALLS_ICONS= yes .endif .if defined(WITH_OPEN_GAME_FILES) RUN_DEPENDS+= ${LOCALBASE}/share/${PORTNAME}/baseset/opengfx/opengfx.obg:${PORTSDIR}/games/opengfx \ ${LOCALBASE}/share/${PORTNAME}/baseset/openmsx/openmsx.obm:${PORTSDIR}/games/openmsx \ ${LOCALBASE}/share/${PORTNAME}/baseset/opensfx/opensfx.obs:${PORTSDIR}/games/opensfx .endif .include pre-everything:: .if !defined(WITH_MIDI_PLAYER) @${ECHO_MSG} "Define WITH_MIDI_PLAYER=/path/to/player to build with external MIDI player" .endif .if !defined(WITH_MIDI_PLAYER_ARGS) @${ECHO_MSG} "Define WITH_MIDI_PLAYER_ARGS=arguments for external MIDI player" .endif .if !defined(WITH_DEDICATED_SERVER_ONLY) @${ECHO_MSG} "Define WITH_DEDICATED_SERVER_ONLY to build CLI-based dedicated server" .endif .if !defined(WITH_OPEN_GAME_FILES) @${ECHO_MSG} "Define WITH_OPEN_GAME_FILES to install with libre graphics, music, and sounds" .endif post-patch: # Remove extra (vendor-provided) CFLAGS and LDFLAGS and make the port more # LOCALBASE safe @${REINPLACE_CMD} -e '/-O2 -fomit-frame-pointer/d ; \ s,/usr/local,${LOCALBASE},' ${WRKSRC}/config.lib # Use custom liblzma.pc for when we use liblzma from base .if ${OSVERSION} >= 900012 || (${OSVERSION} >= 800505 && ${OSVERSION} < 900000) @${REINPLACE_CMD} -e \ 's,pkg-config liblzma,pkg-config ${FILESDIR}/liblzma.pc,' \ ${WRKSRC}/config.lib .else LIB_DEPENDS+= lzma:${PORTSDIR}/archivers/xz .endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${PREFIX}/bin @${MKDIR} ${DATADIR}/ai ${DATADIR}/baseset ${DATADIR}/lang \ ${DATADIR}/scripts ${INSTALL_DATA} ${WRKSRC}/bin/ai/*.nut ${DATADIR}/ai ${INSTALL_DATA} ${WRKSRC}/bin/baseset/* ${DATADIR}/baseset ${INSTALL_DATA} ${WRKSRC}/bin/lang/* ${DATADIR}/lang ${INSTALL_DATA} ${WRKSRC}/bin/scripts/* ${DATADIR}/scripts ${INSTALL_MAN} ${WRKSRC}/docs/${MAN6} ${MANPREFIX}/man/man6 ${INSTALL_DATA} ${WRKSRC}/media/openttd.32.xpm ${PREFIX}/share/pixmaps .if !defined(WITH_DEDICATED_SERVER_ONLY) . for n in 16 32 48 64 128 256 @${MKDIR} ${PREFIX}/share/icons/hicolor/${n}x${n}/apps ${INSTALL_DATA} ${WRKSRC}/media/openttd.${n}.png \ ${PREFIX}/share/icons/hicolor/${n}x${n}/apps/openttd.png . endfor .endif .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/docs/,} ${DOCSDIR} .endif post-install: .if defined(WITH_DEDICATED_SERVER_ONLY) @${REINPLACE_CMD} -e '/icons/d' ${TMPPLIST} .endif @${ECHO_MSG} @${CAT} ${PKGMESSAGE} @${ECHO_MSG} .include Index: head/games/openttd/distinfo =================================================================== --- head/games/openttd/distinfo (revision 323885) +++ head/games/openttd/distinfo (revision 323886) @@ -1,2 +1,2 @@ -SHA256 (openttd-1.3.1-source.tar.xz) = f6cb90e0773dc7bdf01161ded03e48661a65c3f1412b192ae954215aaf26eca2 -SIZE (openttd-1.3.1-source.tar.xz) = 6306164 +SHA256 (openttd-1.3.2-source.tar.xz) = f6efc0cd0c4f4315a98844c331acc2e02322d5671ec376b9f0a11795b0eb270b +SIZE (openttd-1.3.2-source.tar.xz) = 6347104 Index: head/games/openttd/pkg-plist =================================================================== --- head/games/openttd/pkg-plist (revision 323885) +++ head/games/openttd/pkg-plist (revision 323886) @@ -1,104 +1,105 @@ bin/openttd share/pixmaps/openttd.32.xpm %%DATADIR%%/ai/compat_0.7.nut %%DATADIR%%/ai/compat_1.0.nut %%DATADIR%%/ai/compat_1.1.nut %%DATADIR%%/ai/compat_1.2.nut %%DATADIR%%/ai/compat_1.3.nut @dirrm %%DATADIR%%/ai %%DATADIR%%/baseset/no_music.obm %%DATADIR%%/baseset/no_sound.obs %%DATADIR%%/baseset/openttd.grf %%DATADIR%%/baseset/opntitle.dat %%DATADIR%%/baseset/orig_dos.obg %%DATADIR%%/baseset/orig_dos.obs %%DATADIR%%/baseset/orig_dos_de.obg %%DATADIR%%/baseset/orig_win.obg %%DATADIR%%/baseset/orig_win.obm %%DATADIR%%/baseset/orig_win.obs @dirrmtry %%DATADIR%%/baseset %%DATADIR%%/lang/afrikaans.lng %%DATADIR%%/lang/arabic_egypt.lng %%DATADIR%%/lang/basque.lng %%DATADIR%%/lang/belarusian.lng %%DATADIR%%/lang/brazilian_portuguese.lng %%DATADIR%%/lang/bulgarian.lng %%DATADIR%%/lang/catalan.lng %%DATADIR%%/lang/croatian.lng %%DATADIR%%/lang/czech.lng %%DATADIR%%/lang/danish.lng %%DATADIR%%/lang/dutch.lng %%DATADIR%%/lang/english.lng %%DATADIR%%/lang/english_AU.lng %%DATADIR%%/lang/english_US.lng %%DATADIR%%/lang/esperanto.lng %%DATADIR%%/lang/estonian.lng %%DATADIR%%/lang/faroese.lng %%DATADIR%%/lang/finnish.lng %%DATADIR%%/lang/french.lng %%DATADIR%%/lang/gaelic.lng %%DATADIR%%/lang/galician.lng %%DATADIR%%/lang/german.lng %%DATADIR%%/lang/greek.lng %%DATADIR%%/lang/hebrew.lng %%DATADIR%%/lang/hungarian.lng %%DATADIR%%/lang/icelandic.lng %%DATADIR%%/lang/indonesian.lng %%DATADIR%%/lang/irish.lng %%DATADIR%%/lang/italian.lng %%DATADIR%%/lang/japanese.lng %%DATADIR%%/lang/korean.lng %%DATADIR%%/lang/latvian.lng %%DATADIR%%/lang/lithuanian.lng %%DATADIR%%/lang/luxembourgish.lng %%DATADIR%%/lang/malay.lng %%DATADIR%%/lang/norwegian_bokmal.lng %%DATADIR%%/lang/norwegian_nynorsk.lng %%DATADIR%%/lang/polish.lng %%DATADIR%%/lang/portuguese.lng %%DATADIR%%/lang/romanian.lng %%DATADIR%%/lang/russian.lng %%DATADIR%%/lang/serbian.lng %%DATADIR%%/lang/simplified_chinese.lng %%DATADIR%%/lang/slovak.lng %%DATADIR%%/lang/slovenian.lng %%DATADIR%%/lang/spanish.lng %%DATADIR%%/lang/swedish.lng %%DATADIR%%/lang/tamil.lng +%%DATADIR%%/lang/thai.lng %%DATADIR%%/lang/traditional_chinese.lng %%DATADIR%%/lang/turkish.lng %%DATADIR%%/lang/ukrainian.lng %%DATADIR%%/lang/vietnamese.lng %%DATADIR%%/lang/welsh.lng @dirrm %%DATADIR%%/lang %%DATADIR%%/scripts/autoexec.scr.example %%DATADIR%%/scripts/game_start.scr.example %%DATADIR%%/scripts/on_client.scr.example %%DATADIR%%/scripts/on_dedicated.scr.example %%DATADIR%%/scripts/on_server.scr.example %%DATADIR%%/scripts/on_server_connect.scr.example %%DATADIR%%/scripts/pre_dedicated.scr.example %%DATADIR%%/scripts/pre_server.scr.example %%DATADIR%%/scripts/readme.txt @dirrm %%DATADIR%%/scripts @dirrmtry %%DATADIR%% share/icons/hicolor/16x16/apps/openttd.png share/icons/hicolor/32x32/apps/openttd.png share/icons/hicolor/48x48/apps/openttd.png share/icons/hicolor/64x64/apps/openttd.png share/icons/hicolor/128x128/apps/openttd.png share/icons/hicolor/256x256/apps/openttd.png @dirrmtry share/icons/hicolor/256x256/apps @dirrmtry share/icons/hicolor/256x256 @dirrmtry share/icons/hicolor/128x128/apps @dirrmtry share/icons/hicolor/128x128 @dirrmtry share/icons/hicolor/64x64/apps @dirrmtry share/icons/hicolor/64x64 @dirrmtry share/icons/hicolor/48x48/apps @dirrmtry share/icons/hicolor/48x48 @dirrmtry share/icons/hicolor/32x32/apps @dirrmtry share/icons/hicolor/32x32 @dirrmtry share/icons/hicolor/16x16/apps @dirrmtry share/icons/hicolor/16x16 @dirrmtry share/icons/hicolor @dirrmtry share/icons