Date: Tue, 11 Dec 2012 03:14:14 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r308655 - in head/games/xmoto: . files Message-ID: <201212110314.qBB3EErH082058@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Tue Dec 11 03:14:14 2012 New Revision: 308655 URL: http://svnweb.freebsd.org/changeset/ports/308655 Log: - Update to 0.5.10 - OptionsNG - Trim header Added: head/games/xmoto/files/patch-configure (contents, props changed) Deleted: head/games/xmoto/files/patch-tim_png.cpp Modified: head/games/xmoto/Makefile head/games/xmoto/distinfo Modified: head/games/xmoto/Makefile ============================================================================== --- head/games/xmoto/Makefile Tue Dec 11 02:50:40 2012 (r308654) +++ head/games/xmoto/Makefile Tue Dec 11 03:14:14 2012 (r308655) @@ -1,13 +1,8 @@ -# New ports collection makefile for: xmoto -# Date created: 07 Oct 2005 -# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru> -# +# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru> # $FreeBSD$ -# PORTNAME= xmoto -PORTVERSION= 0.5.8 -PORTREVISION= 3 +PORTVERSION= 0.5.10 CATEGORIES= games MASTER_SITES= http://download.tuxfamily.org/xmoto/xmoto/${PORTVERSION}/ \ http://mirror.amdmi3.ru/distfiles/ @@ -39,7 +34,8 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVER PORTDOCS= README ChangeLog -OPTIONS= ASIAN_TTF "Use asian TTF font" off +OPTIONS_DEFINE= ASIAN_TTF +ASIAN_TTF_DESC= "Use asian TTF font" MAN6= xmoto.6 @@ -56,14 +52,14 @@ DESKTOP_ENTRIES="XMoto" \ BROKEN= does not compile due to missing getline() .endif -.if defined(WITH_ASIAN_TTF) +.if ${PORT_OPTIONS:MASIAN_TTF} RUN_DEPENDS+= ${LOCALBASE}/lib/X11/fonts/TrueType/bkai00mp.ttf:${PORTSDIR}/chinese/arphicttf CONFIGURE_ARGS+=--with-asian-ttf-file=${LOCALBASE}/lib/X11/fonts/TrueType/bsmi00lp.ttf .else CONFIGURE_ARGS+=--without-asian-ttf-file .endif -.if !defined(WITHOUT_NLS) +.if ${PORT_OPTIONS:MNLS} USE_GETTEXT= yes PLIST_SUB+= NLS="" CONFIGURE_ENV+= LIBS="-lintl" @@ -72,11 +68,7 @@ CONFIGURE_ARGS+= --disable-nls PLIST_SUB+= NLS="@comment " .endif -post-patch: - ${REINPLACE_CMD} -e 's|png_set_gray_1_2_4_to_8|png_set_expand_gray_1_2_4_to_8|' \ - ${WRKSRC}/src/image/tim_png.cpp - -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} post-install: ${MKDIR} ${DOCSDIR} .for f in ${PORTDOCS} Modified: head/games/xmoto/distinfo ============================================================================== --- head/games/xmoto/distinfo Tue Dec 11 02:50:40 2012 (r308654) +++ head/games/xmoto/distinfo Tue Dec 11 03:14:14 2012 (r308655) @@ -1,2 +1,2 @@ -SHA256 (xmoto-0.5.8-src.tar.gz) = c9592d54ba571b868e95ccb66544032608ad6b67b29a33b5c12baaa5e6a705b4 -SIZE (xmoto-0.5.8-src.tar.gz) = 40378449 +SHA256 (xmoto-0.5.10-src.tar.gz) = 2d2438e4685aa5fc1aa9f73bfbe26893d7fc97fadd6e1cc9fdb09c8d16df9e1e +SIZE (xmoto-0.5.10-src.tar.gz) = 40766628 Added: head/games/xmoto/files/patch-configure ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/xmoto/files/patch-configure Tue Dec 11 03:14:14 2012 (r308655) @@ -0,0 +1,11 @@ +--- configure.orig 2012-05-03 23:37:06.000000000 +0400 ++++ configure 2012-12-11 03:40:16.510933187 +0400 +@@ -5803,7 +5803,7 @@ + + CPPFLAGS="$CPPFLAGS"" ""$XML_CPPFLAGS" + CFLAGS="$CFLAGS"" ""$XML_CPPFLAGS" +-LIBS="$LIBS""$XML_LIBS" ++LIBS="$LIBS"" ""$XML_LIBS" + fi + + if test "$target_os" = "mingw32" # on windows, don't include libbz2
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212110314.qBB3EErH082058>