Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Jul 2005 16:50:09 -0300
From:      "Alejandro Pulver" <alejandro@varnet.biz>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/84351: [NEW PORT] games/pmars-sdl - Port of pMARS using the Simple Directmedia Library
Message-ID:  <1122753009.0@phobos.mars.bsd>
Resent-Message-ID: <200507301950.j6UJoEJc079193@freefall.freebsd.org>

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

>Number:         84351
>Category:       ports
>Synopsis:       [NEW PORT] games/pmars-sdl - Port of pMARS using the Simple Directmedia Library
>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:   Sat Jul 30 19:50:14 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Alejandro Pulver
>Release:        FreeBSD 5.4-RELEASE i386
>Organization:
>Environment:





>Description:





>How-To-Repeat:





>Fix:


--- pmars-sdl.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:
#
#	pmars-sdl
#	pmars-sdl/files
#	pmars-sdl/files/patch-Makefile
#	pmars-sdl/pkg-descr
#	pmars-sdl/Makefile
#	pmars-sdl/distinfo
#
echo c - pmars-sdl
mkdir -p pmars-sdl > /dev/null 2>&1
echo c - pmars-sdl/files
mkdir -p pmars-sdl/files > /dev/null 2>&1
echo x - pmars-sdl/files/patch-Makefile
sed 's/^X//' >pmars-sdl/files/patch-Makefile << 'END-of-pmars-sdl/files/patch-Makefile'
X--- Makefile.orig	Thu May  1 10:09:46 2003
X+++ Makefile	Mon Jul 18 09:49:02 2005
X@@ -1,5 +1,4 @@
X # generic UNIX makefile
X-CC = gcc			# req. for linux
X #CC = cc				# if you don't have gcc
X # Configuration options:
X #
X@@ -18,8 +17,6 @@
X # (8)   -DSDLGRAPHX     1                   SDL graphics (generic)
X 
X #DBG = -g -W -Wall -pg
X-CFLAGS = -O4 -fomit-frame-pointer $(DBG) -DSERVER -DEXT94 -DPERMUTATE $(INC)
X-LFLAGS = -x
X # LIB = -lcurses -ltermlib		# enable this one for curses display
X # LIB = -lvgagl -lvga			# enable this one for Linux/SVGA
X # LIB = -L/usr/X11R6/lib -lX11		# enable this one for X11
END-of-pmars-sdl/files/patch-Makefile
echo x - pmars-sdl/pkg-descr
sed 's/^X//' >pmars-sdl/pkg-descr << 'END-of-pmars-sdl/pkg-descr'
XPort of pMARS using the Simple Directmedia Library. Currently the port is in
Xbeta testing stage testing and bug reports/feature requests are more than
Xwelcome. The latest release is version 0.9.2-5.
X
XFeatures/fixes:
X
X* Environment sensitive. Now looks for macro files in the directory specified
X  by the environment variable PMARSHOME if they are not found in the current
X  directory.
X* Both Win32 and X11 supported.
X* Command line history using Shift-Up and Shift-Down keys.
X* Rewrote text display and screen update routines for faster text panels (for
X  slow computers like mine.)
X* BIG core cells for those tiny cores. (Choose a display mode larger than 2,
X  e.g. -v 134.)
X
XWWW: http://www.cs.helsinki.fi/u/jpihlaja/cw/pmars-sdl/
END-of-pmars-sdl/pkg-descr
echo x - pmars-sdl/Makefile
sed 's/^X//' >pmars-sdl/Makefile << 'END-of-pmars-sdl/Makefile'
X# New ports collection makefile for:	pmars-sdl
X# Date created:				30 Jul 2005
X# Whom:					Alejandro Pulver <alejandro@varnet.biz>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	pmars
XPORTVERSION=	0.9.2
XCATEGORIES=	games
XMASTER_SITES=	http://www.cs.helsinki.fi/u/jpihlaja/cw/pmars-sdl/
XPKGNAMESUFFIX=	-sdl
XDISTNAME=	${PORTNAME}-${PORTVERSION}-5
X
XMAINTAINER=	alejandro@varnet.biz
XCOMMENT=	Port of pMARS using the Simple Directmedia Library
X
XUSE_GCC=	3.1+
XUSE_SDL=	sdl
X
XWRKSRC=		${WRKDIR}/${DISTNAME}/src
X
XOPTIONS=	ICWS94 "Enable ICWS'94 support" on \
X		OPTIMIZED_CFLAGS "Enable compilation optimizations" on \
X		PERMUTATE "Enable the -P switch" on \
X		SMALLMEM "Use 16-bit addresses (smaller)" off
X
XMAKE_ARGS+=	CFLAGS+="${CFLAGS}" \
X		CFLAGS+="-fno-builtin" \
X		CFLAGS+="`${SDL_CONFIG} --cflags`" \
X		LIB+="`${SDL_CONFIG} --libs`" \
X		CFLAGS+="-DSDLGRAPHX"
X
XPLIST_FILES=	bin/${PORTNAME}${PKGNAMESUFFIX}
X
Xdo-install:
X	@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} \
X		${PREFIX}/bin/${PORTNAME}${PKGNAMESUFFIX}
X
X.include <bsd.port.pre.mk>
X
X.if defined(WITH_ICWS94)
XMAKE_ARGS+=	CFLAGS+="-DEXT94"
X.endif
X
X.if defined(WITH_OPTIMIZED_CFLAGS)
XMAKE_ARGS+=	CFLAGS+="-O3 -fomit-frame-pointer"
X.endif
X
X.if defined(WITH_PERMUTATE)
XMAKE_ARGS+=	CFLAGS+="-DPERMUTATE"
X.endif
X
X.if defined(WITH_SMALLMEM)
XMAKE_ARGS+=	CFLAGS+="-DSMALLMEM"
X.endif
X
X.include <bsd.port.post.mk>
END-of-pmars-sdl/Makefile
echo x - pmars-sdl/distinfo
sed 's/^X//' >pmars-sdl/distinfo << 'END-of-pmars-sdl/distinfo'
XMD5 (pmars-0.9.2-5.tar.gz) = 4733185c5eb6a4554a54d91331e6501d
XSIZE (pmars-0.9.2-5.tar.gz) = 200966
END-of-pmars-sdl/distinfo
exit

--- pmars-sdl.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?1122753009.0>