Date: Thu, 11 Dec 2014 20:41:53 +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: r374547 - in head/games/tecnoballz: . files Message-ID: <201412112041.sBBKfrME060613@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Thu Dec 11 20:41:52 2014 New Revision: 374547 URL: https://svnweb.freebsd.org/changeset/ports/374547 QAT: https://qat.redports.org/buildarchive/r374547/ Log: - Update to 0.93.1 - Clarify LICENSE - Switch to USES=autoreconf Added: head/games/tecnoballz/files/patch-configure.ac (contents, props changed) Deleted: head/games/tecnoballz/files/patch-include-surface__sdl.h Modified: head/games/tecnoballz/Makefile head/games/tecnoballz/distinfo Modified: head/games/tecnoballz/Makefile ============================================================================== --- head/games/tecnoballz/Makefile Thu Dec 11 20:36:24 2014 (r374546) +++ head/games/tecnoballz/Makefile Thu Dec 11 20:41:52 2014 (r374547) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= tecnoballz -PORTVERSION= 0.92 -PORTREVISION= 15 +PORTVERSION= 0.93.1 CATEGORIES= games MASTER_SITES= http://linux.tlk.fr/games/TecnoballZ/download/ \ http://mirror.amdmi3.ru/distfiles/ @@ -11,17 +10,16 @@ MASTER_SITES= http://linux.tlk.fr/games/ MAINTAINER= amdmi3@FreeBSD.org COMMENT= Brick breaker (Arkanoid-like game) -LICENSE= GPLv3 +LICENSE= GPLv3 # or later LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libmikmod.so:${PORTSDIR}/audio/libmikmod \ libvorbisfile.so:${PORTSDIR}/audio/libvorbis \ libogg.so:${PORTSDIR}/audio/libogg \ - libsmpeg.so:${PORTSDIR}/multimedia/smpeg + libsmpeg.so:${PORTSDIR}/multimedia/smpeg \ + libtinyxml.so:${PORTSDIR}/textproc/tinyxml -USES= gmake tar:tgz -USE_AUTOTOOLS= automake aclocal -AUTOMAKE_ARGS= --add-missing +USES= autoreconf gmake tar:tgz USE_SDL= sdl mixer image GNU_CONFIGURE= yes @@ -35,20 +33,14 @@ DESKTOP_ENTRIES="TecnoballZ" \ false post-patch: - @${FIND} ${WRKSRC}/include -name '*.h' | ${XARGS} ${REINPLACE_CMD} \ - -e 's|SDL/||' - @${REINPLACE_CMD} -e '/^CXXFLAGS=[^$$]*$$/ s|^|#|' ${WRKSRC}/configure - @${REINPLACE_CMD} -e 's|$$(prefix)/games|$$(prefix)/bin|' \ - ${WRKSRC}/Makefile.am ${WRKSRC}/src/Makefile.am - @${REINPLACE_CMD} -e '/chmod/ d; /chown/ d' ${WRKSRC}/Makefile.am - @${REINPLACE_CMD} -e 's|supervisor.c|&c|' ${WRKSRC}/src/Makefile.am + @${REINPLACE_CMD} -e '/CXXFLAGS=[^$$]*$$/ s|^|#|' ${WRKSRC}/configure.ac + @${REINPLACE_CMD} -e 's|$$(prefix)/games|$$(prefix)/bin|; \ + /chmod/ d; /chown/ d' ${WRKSRC}/src/Makefile.am .for f in tecnoballz.cc tiles_background.cc sprite_ship.cc controller_magnetic_eyes.cc @${REINPLACE_CMD} -e '/rand/ s|(Sint32)|(intptr_t)|' ${WRKSRC}/src/${f} .endfor post-install: - @cd ${WRKSRC}/src/TecnoballZ && ${FIND} . -name "Makefile*" -delete - @cd ${WRKSRC}/src/TecnoballZ && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/ ${MV} ${STAGEDIR}/var/games/tecnoballz/tecnoballz.hi \ ${STAGEDIR}/var/games/tecnoballz/tecnoballz.hi.sample Modified: head/games/tecnoballz/distinfo ============================================================================== --- head/games/tecnoballz/distinfo Thu Dec 11 20:36:24 2014 (r374546) +++ head/games/tecnoballz/distinfo Thu Dec 11 20:41:52 2014 (r374547) @@ -1,2 +1,2 @@ -SHA256 (tecnoballz-0.92.tgz) = 3ae9d084d7a65af52ef8657c2adbeda0a0747825f9b3b58b8352b7403d5b95b5 -SIZE (tecnoballz-0.92.tgz) = 2763879 +SHA256 (tecnoballz-0.93.1.tgz) = 5915bbe9efbf79713f2b0bb23a3cd33c54272b03739db22b52bcf5e1f9ef82e8 +SIZE (tecnoballz-0.93.1.tgz) = 1992279 Added: head/games/tecnoballz/files/patch-configure.ac ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/tecnoballz/files/patch-configure.ac Thu Dec 11 20:41:52 2014 (r374547) @@ -0,0 +1,20 @@ +--- configure.ac.orig 2014-09-30 14:20:26.000000000 +0400 ++++ configure.ac 2014-12-04 03:31:46.000000000 +0300 +@@ -40,6 +40,8 @@ + AC_SUBST(MIKMOD_FLAGS) + AC_SUBST(MIKMOD_LIBS) + ++AC_LANG_PUSH([C++]) ++ + AC_CHECK_LIB([tinyxml], [main], [ + TINYXML_LIBS="-ltinyxml" + ],[ +@@ -47,6 +49,8 @@ + ]) + AC_SUBST(TINYXML_LIBS) + ++AC_LANG_POP([C++]) ++ + # Checks for header files. + AC_CHECK_HEADERS([fcntl.h stddef.h stdlib.h string.h sys/time.h unistd.h]) +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412112041.sBBKfrME060613>