Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Apr 2006 02:55:18 GMT
From:      Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/95390: [NEW PORT] games/pongix: Free pong-like game
Message-ID:  <200604060255.k362tI9D030369@www.freebsd.org>
Resent-Message-ID: <200604060300.k3630bEP072953@freefall.freebsd.org>

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

>Number:         95390
>Category:       ports
>Synopsis:       [NEW PORT] games/pongix: Free pong-like game
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 06 03:00:31 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Jose Alonso Cardenas Marquez
>Release:        FreeBSD 6.1-PRERELEASE i386
>Organization:
BSDPeru (http://www.bsd.org.pe)
>Environment:
FreeBSD HellFire.BSD.org.pe 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Tue Mar 21 23:44:35 PET 2006
>Description:
ongix is a free game based on classical pong game with support for net game.

WWW:	http://www.losersjuegos.com.ar

>How-To-Repeat:

>Fix:
--- pongix-0.4.shar begins here ---
# 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:
#
#	pongix
#	pongix/files
#	pongix/files/patch-configure
#	pongix/pkg-descr
#	pongix/Makefile
#	pongix/pkg-plist
#	pongix/distinfo
#
echo c - pongix
mkdir -p pongix > /dev/null 2>&1
echo c - pongix/files
mkdir -p pongix/files > /dev/null 2>&1
echo x - pongix/files/patch-configure
sed 's/^X//' >pongix/files/patch-configure << 'END-of-pongix/files/patch-configure'
X--- configure	Sun Dec 25 16:08:14 2005
X+++ configure	Wed Apr  5 21:28:25 2006
X@@ -2800,7 +2800,7 @@
X   echo $ECHO_N "(cached) $ECHO_C" >&6
X else
X   ac_check_lib_save_LIBS=$LIBS
X-LIBS="-lSDL  $LIBS"
X+LIBS="`sdl11-config --libs`  $LIBS"
X cat >conftest.$ac_ext <<_ACEOF
X /* confdefs.h.  */
X _ACEOF
X@@ -2862,7 +2862,7 @@
X #define HAVE_LIBSDL 1
X _ACEOF
X 
X-  LIBS="-lSDL $LIBS"
X+  LIBS="`sdl11-config --libs` $LIBS"
X 
X else
X   \
END-of-pongix/files/patch-configure
echo x - pongix/pkg-descr
sed 's/^X//' >pongix/pkg-descr << 'END-of-pongix/pkg-descr'
XPongix is a free game based on classical pong game with support for net game.
X
XWWW:	http://www.losersjuegos.com.ar
END-of-pongix/pkg-descr
echo x - pongix/Makefile
sed 's/^X//' >pongix/Makefile << 'END-of-pongix/Makefile'
X# New ports collection makefile for:	pongix
X# Date created:		2006-04-01
X# Whom:			Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	pongix
XPORTVERSION=	0.4
XCATEGORIES=	games
XMASTER_SITES=	http://www.losersjuegos.com.ar/juegos/pongix/descargas/
X
XMAINTAINER=	acardenas@bsd.org.pe
XCOMMENT=	Free pong-like game
X
XUSE_X_PREFIX=	yes
XUSE_SDL=	sdl image net
XUSE_GMAKE=	yes
XGNU_CONFIGURE=	yes
XCPPFLAGS+=	-I${LOCALBASE}/include -I${X11BASE}/include
XLDFLAGS+=	-L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD}
XCONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
XCONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
X
Xpost-extract:
X	@${FIND} -E ${WRKSRC}/src/ -type f -iregex ".*\.(c|h)" \
X		-print0 | ${XARGS} -0 ${REINPLACE_CMD} -e 's/<SDL/<SDL11/g'
X
Xdo-install:
X	${MKDIR} ${DATADIR}
X	@cd ${WRKSRC}/src && \
X		${INSTALL_PROGRAM} pongix  ${PREFIX}/bin
X	@cd ${WRKSRC}/data && \
X		${FIND} * -type d -exec ${MKDIR} "${DATADIR}/{}" \; && \
X			${FIND} -E * -type f -iregex ".*\.(jpg|bmp)" \
X				-exec ${INSTALL_DATA} "{}" "${DATADIR}/{}" \;
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	@cd ${WRKSRC} && \
X	${INSTALL_DATA} AUTHORS ChangeLog README ${DOCSDIR}
X.endif
X
X.include <bsd.port.mk>
END-of-pongix/Makefile
echo x - pongix/pkg-plist
sed 's/^X//' >pongix/pkg-plist << 'END-of-pongix/pkg-plist'
Xbin/pongix
X%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
X%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%DATADIR%%/fondo_juego.jpg
X%%DATADIR%%/fuente.bmp
X%%DATADIR%%/paleta.bmp
X%%DATADIR%%/pelota.bmp
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
X@dirrm %%DATADIR%%
END-of-pongix/pkg-plist
echo x - pongix/distinfo
sed 's/^X//' >pongix/distinfo << 'END-of-pongix/distinfo'
XMD5 (pongix-0.4.tar.gz) = 225972add1588c6ba33d7d2cf87e7b38
XSHA256 (pongix-0.4.tar.gz) = b72060ded5446f60e187aff1a35eb727484a3b2f798134dc920a16c75b09175e
XSIZE (pongix-0.4.tar.gz) = 207490
END-of-pongix/distinfo
exit
--- pongix-0.4.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



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