From alejandro@varnet.biz  Thu Jul  7 23:06:08 2005
Return-Path: <alejandro@varnet.biz>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 1DF7F16A41C
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  7 Jul 2005 23:06:08 +0000 (GMT)
	(envelope-from alejandro@varnet.biz)
Received: from relay.pair.com (relay00.pair.com [209.68.1.20])
	by mx1.FreeBSD.org (Postfix) with SMTP id C46ED43D46
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  7 Jul 2005 23:06:07 +0000 (GMT)
	(envelope-from alejandro@varnet.biz)
Received: (qmail 77151 invoked from network); 7 Jul 2005 23:06:06 -0000
Received: from unknown (HELO phobos.mars.bsd) (unknown)
  by unknown with SMTP; 7 Jul 2005 23:06:06 -0000
Message-Id: <1120777685.0@phobos.mars.bsd>
Date: Thu, 7 Jul 2005 20:08:05 -0300
From: "Alejandro Pulver" <alejandro@varnet.biz>
To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@freebsd.org>
Subject: New port: games/exhaust - Redcode simulator easy to embed into applications
X-Send-Pr-Version: gtk-send-pr 0.4.4 
X-GNATS-Notify:

>Number:         83115
>Category:       ports
>Synopsis:       New port: games/exhaust - Redcode simulator easy to embed into applications
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 07 23:10:09 GMT 2005
>Closed-Date:    Mon Oct 03 17:03:27 GMT 2005
>Last-Modified:  Mon Oct 03 17:03:27 GMT 2005
>Originator:     Alejandro Pulver
>Release:        FreeBSD 5.4-RELEASE i386
>Organization:
>Environment:


System: FreeBSD 5.4-RELEASE #0: Sat May 21 12:14:47 ART 2005
    root@phobos.mars.bsd:/usr/src/sys/i386/compile/ATHLON-ALE



>Description:





>How-To-Repeat:





>Fix:


--- exhaust.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:
#
#	exhaust
#	exhaust/Makefile
#	exhaust/distinfo
#	exhaust/pkg-message
#	exhaust/pkg-descr
#	exhaust/files
#	exhaust/files/patch-Makefile
#
echo c - exhaust
mkdir -p exhaust > /dev/null 2>&1
echo x - exhaust/Makefile
sed 's/^X//' >exhaust/Makefile << 'END-of-exhaust/Makefile'
X# New ports collection makefile for:	games/exhaust
X# Date created:			7 Aug 2005
X# Whom:				Alejandro Pulver <alejandro@varnet.biz>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	exhaust
XPORTVERSION=	1.9.2
XCATEGORIES=	games
XMASTER_SITES=	http://www.cs.helsinki.fi/u/jpihlaja/exhaust/
X
XMAINTAINER=	alejandro@varnet.biz
XCOMMENT=	Redcode simulator easy to embed into applications
X
XUSE_REINPLACE=	yes
X
XOPTIONS=	OPTIMIZED_CFLAGS "Enable compilation optimizations" on
X
XPLIST_FILES=	bin/${PORTNAME}
X
Xdo-install:
X	@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
X
Xpost-install:
X	@${ECHO_CMD}
X	@${CAT} ${PKGMESSAGE}
X	@${ECHO_CMD}
X
X.include <bsd.port.pre.mk>
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's|\($${OPT}\)|${CFLAGS} \1|' ${WRKSRC}/${MAKEFILE}
X.if !defined(WITH_OPTIMIZED_CFLAGS)
X	@${REINPLACE_CMD} -e 's|$${OPT}||' ${WRKSRC}/${MAKEFILE}
X.endif
X
X.include <bsd.port.post.mk>
END-of-exhaust/Makefile
echo x - exhaust/distinfo
sed 's/^X//' >exhaust/distinfo << 'END-of-exhaust/distinfo'
XMD5 (exhaust-1.9.2.tar.gz) = fea6fbc9183f8a2ad51309de2c1e9622
XSIZE (exhaust-1.9.2.tar.gz) = 37805
END-of-exhaust/distinfo
echo x - exhaust/pkg-message
sed 's/^X//' >exhaust/pkg-message << 'END-of-exhaust/pkg-message'
XThis MARS does not have a parser, so you have to do it separately.
X
XTo parse Redcode programs with pMARS do the following:
X
Xpmars-server -r 0 b-scanner.red | sed '1,2d' > b-scanner.rc
END-of-exhaust/pkg-message
echo x - exhaust/pkg-descr
sed 's/^X//' >exhaust/pkg-descr << 'END-of-exhaust/pkg-descr'
XThe `exhaust' project is a redcode simulator that is (hopefully) easy to embed
Xinto your applications, as an alternative to pMARS.
X
XAuthor: M Joonas Pihlaja
X
XWWW: http://www.cs.helsinki.fi/u/jpihlaja/exhaust/exhaust.html
X
X- Alejandro Pulver
Xalejandro@varnet.biz
END-of-exhaust/pkg-descr
echo c - exhaust/files
mkdir -p exhaust/files > /dev/null 2>&1
echo x - exhaust/files/patch-Makefile
sed 's/^X//' >exhaust/files/patch-Makefile << 'END-of-exhaust/files/patch-Makefile'
X--- Makefile.orig	Sat Dec 28 02:50:08 2002
X+++ Makefile	Thu Jul  7 15:29:54 2005
X@@ -1,12 +1,10 @@
X # $Id: Makefile,v 1.11 2002/10/01 22:32:58 rowan Exp $
X 
X-CC = cc
X-CFLAGS = ${OPT} ${DBG}
X-OPT = -O4
X+CFLAGS = ${OPT}
X #DBG = -g -DDEBUG=2
X 
X # Recommended extra options for gcc:
X-#OPT += -fomit-frame-pointer -fforce-addr -finline-functions -funroll-loops
X+OPT = -O3 -fomit-frame-pointer -fforce-addr -finline-functions -funroll-loops
X #OPT += -mcpu=i686 -march=i686
X #DBG += -W -Wall -pedantic -ansi
X 
END-of-exhaust/files/patch-Makefile
exit

--- exhaust.shar ends here ---



>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Mon Oct 3 17:03:15 GMT 2005 
State-Changed-Why:  
New port added, except the OPTIONS part. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=83115 
>Unformatted:
