Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Aug 2001 19:17:10 -0400 (EDT)
From:      Patrick Li <pat@databits.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/30060: New port games/pengpong
Message-ID:  <200108242317.f7ONHA284316@cc92687-a.wlgrv1.pa.home.com>

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

>Number:         30060
>Category:       ports
>Synopsis:       New port games/pengpong
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 24 16:20:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Patrick Li
>Release:        FreeBSD 4.4-RC i386
>Organization:
N/A
>Environment:
System: FreeBSD bottlenek 4.4-RC FreeBSD 4.4-RC #0: Wed Aug 22 12:13:02 EDT 2001 pat@bottlenek:/usr/src/sys/compile/BOTTLENEK i386
>Description:
SDL pong game
>How-To-Repeat:
N/A
>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:
#
#	pengpong
#	pengpong/Makefile
#	pengpong/distinfo
#	pengpong/files
#	pengpong/files/patch-Makefile
#	pengpong/pkg-comment
#	pengpong/pkg-plist
#	pengpong/pkg-descr
#
echo c - pengpong
mkdir -p pengpong > /dev/null 2>&1
echo x - pengpong/Makefile
sed 's/^X//' >pengpong/Makefile << 'END-of-pengpong/Makefile'
X# New ports collection makefile for:	pengpong
X# Date created:				Fri Aug 24 18:21:25 EDT 2001
X# Whom:					Patrick Li <pat@databits.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	pengpong
XPORTVERSION=	0.2
XCATEGORIES=	games
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	${PORTNAME}
X
XMAINTAINER=	pat@databits.net
X
XLIB_DEPENDS=	SDL_image.10:${PORTSDIR}/graphics/sdl_image
X
XNO_WRKSUBDIR=	yes
X
X.include <bsd.port.mk>
END-of-pengpong/Makefile
echo x - pengpong/distinfo
sed 's/^X//' >pengpong/distinfo << 'END-of-pengpong/distinfo'
XMD5 (pengpong-0.2.tar.gz) = 840fc7a4a6bb4abdc33cae629b951273
END-of-pengpong/distinfo
echo c - pengpong/files
mkdir -p pengpong/files > /dev/null 2>&1
echo x - pengpong/files/patch-Makefile
sed 's/^X//' >pengpong/files/patch-Makefile << 'END-of-pengpong/files/patch-Makefile'
X--- Makefile.orig	Fri Aug 24 11:39:51 2001
X+++ Makefile	Fri Aug 24 18:49:05 2001
X@@ -1,15 +1,11 @@
X-all: SFont link2 sdlpong finish
X+CXXFLAGS += `${LOCALBASE}/bin/sdl11-config --cflags` -D_REENTRANT
X+LIBS = `${LOCALBASE}/bin/sdl11-config --libs` -lSDL_image
X 
X-SFont: 
X-	g++ -I/usr/include/SDL -D_REENTRANT -c -o SFont.o SFont.c 
X-link2: 
X-	g++ -I/usr/include/SDL -D_REENTRANT -c -o link2.o link2.cpp
X-sdlpong: 
X-	 g++ -pedantic -Wall -c -o sdlpong.o sdlpong.cpp -I/usr/include/SDL -D_REENTRANT
X-finish: SFont link2 sdlpong
X-	g++ -o pengpong sdlpong.o link2.o SFont.o -D_REENTRANT -I/usr/include/SDL -lSDL_image
X-install: 
X-	cp pengpong /usr/local/bin
X+all:
X+	${CXX} -c -o SFont.o SFont.c ${CXXFLAGS}
X+	${CXX} -c -o link2.o link2.cpp ${CXXFLAGS}
X+	${CXX} -c -o sdlpong.o sdlpong.cpp ${CXXFLAGS}
X+	${CXX} -o pengpong sdlpong.o link2.o SFont.o ${CXXFLAGS} ${LIBS}
X 
X-clean: 
X-	rm *.o
X+install:
X+	${BSD_INSTALL_PROGRAM} pengpong ${PREFIX}/bin
END-of-pengpong/files/patch-Makefile
echo x - pengpong/pkg-comment
sed 's/^X//' >pengpong/pkg-comment << 'END-of-pengpong/pkg-comment'
XA cross-platform pong game written in SDL
END-of-pengpong/pkg-comment
echo x - pengpong/pkg-plist
sed 's/^X//' >pengpong/pkg-plist << 'END-of-pengpong/pkg-plist'
Xbin/pengpong
END-of-pengpong/pkg-plist
echo x - pengpong/pkg-descr
sed 's/^X//' >pengpong/pkg-descr << 'END-of-pengpong/pkg-descr'
XPeng-Pong is a cross-platform pong game written in SDL
X
XWWW: http://pengpong.sourceforge.net/
END-of-pengpong/pkg-descr
exit

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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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