Date: Sat, 5 Jul 2014 18:25:50 +0000 (UTC) From: John Marino <marino@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r360790 - in head/games/pongix: . files Message-ID: <201407051825.s65IPoaT094137@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: marino Date: Sat Jul 5 18:25:49 2014 New Revision: 360790 URL: http://svnweb.freebsd.org/changeset/ports/360790 QAT: https://qat.redports.org/buildarchive/r360790/ Log: games/pongix: Stage, Unbreak on F10+, LDFLAGS+= -lm (explicit linking) Added: head/games/pongix/files/patch-src_paleta.c (contents, props changed) Modified: head/games/pongix/Makefile head/games/pongix/pkg-descr head/games/pongix/pkg-plist Modified: head/games/pongix/Makefile ============================================================================== --- head/games/pongix/Makefile Sat Jul 5 18:22:32 2014 (r360789) +++ head/games/pongix/Makefile Sat Jul 5 18:25:49 2014 (r360790) @@ -16,23 +16,18 @@ USES= gmake USE_SDL= sdl image net GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD} +LDFLAGS+= -lm -L${LOCALBASE}/lib ${PTHREAD} +PORTDOCS= AUTHORS ChangeLog README -NO_STAGE= yes do-install: - ${MKDIR} ${DATADIR} - @cd ${WRKSRC}/src && \ - ${INSTALL_PROGRAM} pongix ${PREFIX}/bin - @cd ${WRKSRC}/data && \ - ${FIND} * -type d -exec ${MKDIR} "${DATADIR}/{}" \; && \ - ${FIND} -E * -type f -iregex ".*\.(jpg|bmp)" \ - -exec ${INSTALL_DATA} "{}" "${DATADIR}/{}" \; - -post-install: -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - @cd ${WRKSRC} && \ - ${INSTALL_DATA} AUTHORS ChangeLog README ${DOCSDIR} -.endif + ${MKDIR} ${STAGEDIR}${DATADIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC}/src && \ + ${INSTALL_PROGRAM} pongix ${STAGEDIR}${PREFIX}/bin + cd ${WRKSRC}/data && ${FIND} * -type d \ + -exec ${MKDIR} "${STAGEDIR}${DATADIR}/{}" \; && \ + ${FIND} -E * -type f -iregex ".*\.(jpg|bmp)" \ + -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${DATADIR}/{}" \; + cd ${WRKSRC} && ${INSTALL_DATA} \ + AUTHORS ChangeLog README ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> Added: head/games/pongix/files/patch-src_paleta.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/pongix/files/patch-src_paleta.c Sat Jul 5 18:25:49 2014 (r360790) @@ -0,0 +1,20 @@ +--- src/paleta.c.orig 2005-12-27 05:37:27.000000000 +0000 ++++ src/paleta.c +@@ -89,7 +89,7 @@ void paleta_manejar_con_teclado (Paleta + { + } + +-int paleta_recibir_pos (Paleta * data, TCPsocket origen) ++void paleta_recibir_pos (Paleta * data, TCPsocket origen) + { + char buffer [5]; + +@@ -104,7 +104,7 @@ int paleta_recibir_pos (Paleta * data, T + data->y = atoi (buffer); + } + +-int paleta_enviar_pos (Paleta * data, TCPsocket destino) ++void paleta_enviar_pos (Paleta * data, TCPsocket destino) + { + char buffer [5]; + Modified: head/games/pongix/pkg-descr ============================================================================== --- head/games/pongix/pkg-descr Sat Jul 5 18:22:32 2014 (r360789) +++ head/games/pongix/pkg-descr Sat Jul 5 18:25:49 2014 (r360790) @@ -1,3 +1,4 @@ -Pongix is a free game based on classical pong game with support for net game. +Pongix is a free game based on the classical pong game with support for +net game. -WWW: http://www.losersjuegos.com.ar +WWW: http://www.losersjuegos.com.ar Modified: head/games/pongix/pkg-plist ============================================================================== --- head/games/pongix/pkg-plist Sat Jul 5 18:22:32 2014 (r360789) +++ head/games/pongix/pkg-plist Sat Jul 5 18:25:49 2014 (r360790) @@ -1,10 +1,6 @@ bin/pongix -%%PORTDOCS%%%%DOCSDIR%%/AUTHORS -%%PORTDOCS%%%%DOCSDIR%%/ChangeLog -%%PORTDOCS%%%%DOCSDIR%%/README %%DATADIR%%/fondo_juego.jpg %%DATADIR%%/fuente.bmp %%DATADIR%%/paleta.bmp %%DATADIR%%/pelota.bmp -%%PORTDOCS%%@dirrm %%DOCSDIR%% @dirrm %%DATADIR%%
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407051825.s65IPoaT094137>