Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Jun 2008 20:41:00 GMT
From:      Oleg Alexeenkov <proler@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/124286: port update : games/openttd
Message-ID:  <200806042041.m54Kf0Ut092028@www.freebsd.org>
Resent-Message-ID: <200806042050.m54Ko130083930@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         124286
>Category:       ports
>Synopsis:       port update : games/openttd
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 04 20:50:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Oleg Alexeenkov
>Release:        
>Organization:
>Environment:
>Description:
now openttd uses configure script
>How-To-Repeat:

>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	openttd
#	openttd/Makefile
#	openttd/pkg-descr
#	openttd/pkg-plist
#	openttd/files
#	openttd/files/pkg-message.in
#	openttd/distinfo
#
echo c - openttd
mkdir -p openttd > /dev/null 2>&1
echo x - openttd/Makefile
sed 's/^X//' >openttd/Makefile << 'END-of-openttd/Makefile'
X# New ports collection makefile for:	OpenTTD
X# Date created:				16 Dec 2004
X# Whom:					Alexey Dokuchaev <danfe@FreeBSD.org>
X#
X# $FreeBSD: ports/games/openttd/Makefile,v 1.18 2008/03/13 14:27:55 miwi Exp $
X#
X
XPORTNAME=	openttd
XPORTVERSION=	0.6.1
XPORTREVISION=	1
XCATEGORIES=	games
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	${PORTNAME}
X
XMAINTAINER=	danfe@FreeBSD.org
XCOMMENT=	An open source clone of Microprose Transport Tycoon Deluxe
X
XLIB_DEPENDS=	png.5:${PORTSDIR}/graphics/png
X
XUSE_GMAKE=	yes
XHAS_CONFIGURE=	yes
XUSE_BZIP2=	yes
X
XDISTVERSIONSUFFIX=	-source
XWRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
X
XCONFIGURE_ARGS+=--data-dir=share/openttd --binary-dir=
XOPTIONS=\
X	DEDICATED_SERVER_ONLY "dedicated server only (without sdl)" off
X
X.include <bsd.port.pre.mk>
X
X.if defined(WITH_MIDI_PLAYER)
X.endif
X.if defined(WITH_DEDICATED_SERVER_ONLY)
XCONFIGURE_ARGS+=--enable-dedicated --without-sdl
X.else
XUSE_SDL=	sdl
X.endif
X
XSUB_FILES=	pkg-message
X
XMAN6=		openttd.6
X
XDESKTOP_ENTRIES="OpenTTD" "${COMMENT}" "" "openttd" "" false
X
XDOCS=		HOWTO_compile_lang_files.txt \
X		Manual.txt elrail.svg elrail_tile.png elrail_track.png \
X		landscape.html landscape_grid.html landscape_externals.html multiplayer.txt \
X		ottd-colour-palette.gif ottd-colourtext-palette.png tileh.png
X
Xpre-everything::
X.if !defined(WITH_MIDI_PLAYER)
X	@${ECHO_MSG} "Define WITH_MIDI_PLAYER=/path/to/player to build with external MIDI player"
X.endif
X
Xdo-install:
X	@${MKDIR} ${DATADIR}/data ${DATADIR}/lang
X	${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${PREFIX}/bin
X	${INSTALL_DATA} ${WRKSRC}/bin/data/* ${DATADIR}/data
X	${INSTALL_DATA} ${WRKSRC}/bin/lang/*.lng ${DATADIR}/lang
X	${INSTALL_MAN} ${WRKSRC}/docs/${MAN6} ${MANPREFIX}/man/man6
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X. for f in ${DOCS}
X	${INSTALL_DATA} ${WRKSRC}/docs/${f} ${DOCSDIR}
X. endfor
X.endif
X
Xpost-install:
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.post.mk>
END-of-openttd/Makefile
echo x - openttd/pkg-descr
sed 's/^X//' >openttd/pkg-descr << 'END-of-openttd/pkg-descr'
XOpenTTD is a clone of Transport Tycoon Deluxe, a popular Microprose game
Xoriginally written by Chris Sawyer.  It attempts to mimic the original game
Xas closely as possible while extending it with new features.
X
XWWW: http://www.openttd.org/
END-of-openttd/pkg-descr
echo x - openttd/pkg-plist
sed 's/^X//' >openttd/pkg-plist << 'END-of-openttd/pkg-plist'
Xbin/openttd
X%%DATADIR%%/data/openttdd.grf
X%%DATADIR%%/data/openttdw.grf
X%%DATADIR%%/data/generictrams_v0.4.grf
X%%DATADIR%%/data/opntitle.dat
X@dirrm %%DATADIR%%/data
X%%DATADIR%%/lang/afrikaans.lng
X%%DATADIR%%/lang/brazilian_portuguese.lng
X%%DATADIR%%/lang/bulgarian.lng
X%%DATADIR%%/lang/catalan.lng
X%%DATADIR%%/lang/croatian.lng
X%%DATADIR%%/lang/czech.lng
X%%DATADIR%%/lang/danish.lng
X%%DATADIR%%/lang/dutch.lng
X%%DATADIR%%/lang/english.lng
X%%DATADIR%%/lang/english_US.lng
X%%DATADIR%%/lang/esperanto.lng
X%%DATADIR%%/lang/estonian.lng
X%%DATADIR%%/lang/finnish.lng
X%%DATADIR%%/lang/french.lng
X%%DATADIR%%/lang/galician.lng
X%%DATADIR%%/lang/german.lng
X%%DATADIR%%/lang/hungarian.lng
X%%DATADIR%%/lang/icelandic.lng
X%%DATADIR%%/lang/italian.lng
X%%DATADIR%%/lang/japanese.lng
X%%DATADIR%%/lang/korean.lng
X%%DATADIR%%/lang/lithuanian.lng
X%%DATADIR%%/lang/norwegian_bokmal.lng
X%%DATADIR%%/lang/norwegian_nynorsk.lng
X%%DATADIR%%/lang/origveh.lng
X%%DATADIR%%/lang/piglatin.lng
X%%DATADIR%%/lang/polish.lng
X%%DATADIR%%/lang/portuguese.lng
X%%DATADIR%%/lang/romanian.lng
X%%DATADIR%%/lang/russian.lng
X%%DATADIR%%/lang/simplified_chinese.lng
X%%DATADIR%%/lang/slovak.lng
X%%DATADIR%%/lang/slovenian.lng
X%%DATADIR%%/lang/spanish.lng
X%%DATADIR%%/lang/swedish.lng
X%%DATADIR%%/lang/traditional_chinese.lng
X%%DATADIR%%/lang/turkish.lng
X%%DATADIR%%/lang/ukrainian.lng
X@dirrm %%DATADIR%%/lang
X@dirrm %%DATADIR%%
X%%PORTDOCS%%%%DOCSDIR%%/HOWTO_compile_lang_files.txt
X%%PORTDOCS%%%%DOCSDIR%%/Manual.txt
X%%PORTDOCS%%%%DOCSDIR%%/elrail.svg
X%%PORTDOCS%%%%DOCSDIR%%/elrail_tile.png
X%%PORTDOCS%%%%DOCSDIR%%/elrail_track.png
X%%PORTDOCS%%%%DOCSDIR%%/landscape.html
X%%PORTDOCS%%%%DOCSDIR%%/landscape_externals.html
X%%PORTDOCS%%%%DOCSDIR%%/landscape_grid.html
X%%PORTDOCS%%%%DOCSDIR%%/multiplayer.txt
X%%PORTDOCS%%%%DOCSDIR%%/ottd-colour-palette.gif
X%%PORTDOCS%%%%DOCSDIR%%/ottd-colourtext-palette.png
X%%PORTDOCS%%%%DOCSDIR%%/tileh.png
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
END-of-openttd/pkg-plist
echo c - openttd/files
mkdir -p openttd/files > /dev/null 2>&1
echo x - openttd/files/pkg-message.in
sed 's/^X//' >openttd/files/pkg-message.in << 'END-of-openttd/files/pkg-message.in'
X==========================================================================
X
X    OpenTTD requires the original Windows version of "Transport Tycoon
X    Deluxe" data files in order to function.  Copy the following files
X    to %%DATADIR%%/data/ directory:
X
X	sample.cat
X	trg1r.grf
X	trgcr.grf
X	trghr.grf
X	trgir.grf
X	trgtr.grf
X
X    If you are using a non-latin language, you may see lots of `?'s on
X    the screen.  Please open your configuration file and add a desired
X    fonts (file name with full path).  Bold fonts might look better:
X
X	[misc]
X	small_font =
X	medium_font =
X	large_font =
X
X    Enjoy!!
X
X==========================================================================
END-of-openttd/files/pkg-message.in
echo x - openttd/distinfo
sed 's/^X//' >openttd/distinfo << 'END-of-openttd/distinfo'
XMD5 (openttd-0.6.1-source.tar.bz2) = f7c0f19dcca051cd28641109d795f202
XSHA256 (openttd-0.6.1-source.tar.bz2) = d7d26e41f78a904e84dbfafad0f555e5d29aa20f3688e8d6865a57a46837086c
XSIZE (openttd-0.6.1-source.tar.bz2) = 3690207
END-of-openttd/distinfo
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806042041.m54Kf0Ut092028>