Skip site navigation (1)Skip section navigation (2)
Date:      16 Feb 2004 00:04:43 -0000
From:      Erik Greenwald <erik@smluc.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        erik@math.smsu.edu
Subject:   ports/62892: [New Port]  devel/gauche-sdl
Message-ID:  <20040216000443.29535.qmail@phoenix.smluc.org>
Resent-Message-ID: <200402160010.i1G0AFOG076814@freefall.freebsd.org>

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

>Number:         62892
>Category:       ports
>Synopsis:       [New Port]  devel/gauche-sdl
>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:   Sun Feb 15 16:10:14 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Erik Greenwald
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD fenris 5.2-CURRENT FreeBSD 5.2-CURRENT #1: Sat Feb 14 21:56:11 EST 2004 root@fenris:/usr/obj/usr/src/sys/FENRIS i386


	
>Description:
SDL bindings for the gauche scheme environment

>How-To-Repeat:
	
>Fix:

	

--- devel_gauche-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:
#
#	devel/gauche-sdl
#	devel/gauche-sdl/files
#	devel/gauche-sdl/files/patch-src::gauche-sdl.h
#	devel/gauche-sdl/files/patch-configure
#	devel/gauche-sdl/files/patch-src::image::gauche-sdl-image.h
#	devel/gauche-sdl/files/patch-src::mixer::gauche-sdl-mixer.h
#	devel/gauche-sdl/files/patch-src::ttf::gauche-sdl-ttf.h
#	devel/gauche-sdl/pkg-plist
#	devel/gauche-sdl/pkg-descr
#	devel/gauche-sdl/distinfo
#	devel/gauche-sdl/Makefile
#
echo c - devel/gauche-sdl
mkdir -p devel/gauche-sdl > /dev/null 2>&1
echo c - devel/gauche-sdl/files
mkdir -p devel/gauche-sdl/files > /dev/null 2>&1
echo x - devel/gauche-sdl/files/patch-src::gauche-sdl.h
sed 's/^X//' >devel/gauche-sdl/files/patch-src::gauche-sdl.h << 'END-of-devel/gauche-sdl/files/patch-src::gauche-sdl.h'
X--- src/gauche-sdl.h.orig	Mon Feb 24 21:20:18 2003
X+++ src/gauche-sdl.h	Sun Feb 15 18:27:17 2004
X@@ -20,7 +20,7 @@
X 
X #include <gauche/uvector.h>
X 
X-#include <SDL/SDL.h>
X+#include <SDL.h>
X 
X /*****************************************************************************
X  * Miscellaneous
END-of-devel/gauche-sdl/files/patch-src::gauche-sdl.h
echo x - devel/gauche-sdl/files/patch-configure
sed 's/^X//' >devel/gauche-sdl/files/patch-configure << 'END-of-devel/gauche-sdl/files/patch-configure'
X--- configure.orig	Sun Feb 15 16:47:50 2004
X+++ configure	Sun Feb 15 16:49:38 2004
X@@ -777,6 +777,8 @@
X fi
X done
X 
X+MYLAMEOLDCPPFLAGS="${CPPFLAGS}"
X+CPPFLAGS="${CPPFLAGS} %%SDL_CFLAGS%%"
X 
X for ac_hdr in SDL/SDL_framerate.h
X do
X@@ -944,7 +946,7 @@
X fi
X done
X 
X-
X+CPPFLAGS="${MYLAMEOLDCPPFLAGS}"
X 
X # Sets the default value of INSTALL_TYPE macro.
X 
END-of-devel/gauche-sdl/files/patch-configure
echo x - devel/gauche-sdl/files/patch-src::image::gauche-sdl-image.h
sed 's/^X//' >devel/gauche-sdl/files/patch-src::image::gauche-sdl-image.h << 'END-of-devel/gauche-sdl/files/patch-src::image::gauche-sdl-image.h'
X--- src/image/gauche-sdl-image.h.orig	Sun Feb 15 18:29:18 2004
X+++ src/image/gauche-sdl-image.h	Sun Feb 15 18:29:37 2004
X@@ -20,6 +20,6 @@
X 
X #include "../gauche-sdl.h"
X 
X-#include <SDL/SDL_image.h>
X+#include <SDL_image.h>
X 
X #endif /* GAUCHE_SDL_IMAGE_H */
END-of-devel/gauche-sdl/files/patch-src::image::gauche-sdl-image.h
echo x - devel/gauche-sdl/files/patch-src::mixer::gauche-sdl-mixer.h
sed 's/^X//' >devel/gauche-sdl/files/patch-src::mixer::gauche-sdl-mixer.h << 'END-of-devel/gauche-sdl/files/patch-src::mixer::gauche-sdl-mixer.h'
X--- src/mixer/gauche-sdl-mixer.h.orig	Sun Feb 15 18:31:18 2004
X+++ src/mixer/gauche-sdl-mixer.h	Sun Feb 15 18:31:38 2004
X@@ -20,7 +20,7 @@
X 
X #include "../gauche-sdl.h"
X 
X-#include <SDL/SDL_mixer.h>
X+#include <SDL_mixer.h>
X 
X /*****************************************************************************
X  * Mixer
END-of-devel/gauche-sdl/files/patch-src::mixer::gauche-sdl-mixer.h
echo x - devel/gauche-sdl/files/patch-src::ttf::gauche-sdl-ttf.h
sed 's/^X//' >devel/gauche-sdl/files/patch-src::ttf::gauche-sdl-ttf.h << 'END-of-devel/gauche-sdl/files/patch-src::ttf::gauche-sdl-ttf.h'
X--- src/ttf/gauche-sdl-ttf.h.orig	Sun Feb 15 18:31:53 2004
X+++ src/ttf/gauche-sdl-ttf.h	Sun Feb 15 18:32:10 2004
X@@ -20,7 +20,7 @@
X 
X #include "../gauche-sdl.h"
X 
X-#include <SDL/SDL_ttf.h>
X+#include <SDL_ttf.h>
X 
X /*****************************************************************************
X  * TTF
END-of-devel/gauche-sdl/files/patch-src::ttf::gauche-sdl-ttf.h
echo x - devel/gauche-sdl/pkg-plist
sed 's/^X//' >devel/gauche-sdl/pkg-plist << 'END-of-devel/gauche-sdl/pkg-plist'
Xlib/gauche/%%GAUCHE_VERSION%%/%%TARGET%%/gauche-sdl-image.so
Xlib/gauche/%%GAUCHE_VERSION%%/%%TARGET%%/gauche-sdl-mixer.so
Xlib/gauche/%%GAUCHE_VERSION%%/%%TARGET%%/gauche-sdl-ttf.so
Xlib/gauche/%%GAUCHE_VERSION%%/%%TARGET%%/gauche-sdl.so
Xshare/gauche/%%GAUCHE_VERSION%%/lib/sdl.scm
Xshare/gauche/%%GAUCHE_VERSION%%/lib/sdl/color.scm
Xshare/gauche/%%GAUCHE_VERSION%%/lib/sdl/gfx.scm
Xshare/gauche/%%GAUCHE_VERSION%%/lib/sdl/image.scm
Xshare/gauche/%%GAUCHE_VERSION%%/lib/sdl/mixer.scm
Xshare/gauche/%%GAUCHE_VERSION%%/lib/sdl/ttf.scm
X@dirrm share/gauche/%%GAUCHE_VERSION%%/lib/sdl
END-of-devel/gauche-sdl/pkg-plist
echo x - devel/gauche-sdl/pkg-descr
sed 's/^X//' >devel/gauche-sdl/pkg-descr << 'END-of-devel/gauche-sdl/pkg-descr'
XSDL binding for Gauche
X
XAuthor:	Michael Vess
XWWW:	http://www.michaelvess.com/text/index.html?content=code/content.php
X	http://www.shiro.dreamhost.com/scheme/wiliki/wiliki.cgi?Gauche%3aPackages&l=en#H-19q7sdo
END-of-devel/gauche-sdl/pkg-descr
echo x - devel/gauche-sdl/distinfo
sed 's/^X//' >devel/gauche-sdl/distinfo << 'END-of-devel/gauche-sdl/distinfo'
XMD5 (Gauche-sdl-0.5.1.tar.gz) = 402998451db9d6fb98b0814439393fa5
XSIZE (Gauche-sdl-0.5.1.tar.gz) = 121766
END-of-devel/gauche-sdl/distinfo
echo x - devel/gauche-sdl/Makefile
sed 's/^X//' >devel/gauche-sdl/Makefile << 'END-of-devel/gauche-sdl/Makefile'
X# New ports collection makefile for:	gauche
X# Date created:		9 September 2002
X# Whom:			Akinori MUSHA aka knu <knu@idaemons.org>
X#
X# $FreeBSD: ports/lang/gauche/Makefile,v 1.22 2004/02/07 05:58:26 leeym Exp $
X#
X
XPORTNAME=	gauche-sdl
XPORTVERSION=	0.5.1
XCATEGORIES=	devel scheme
XMASTER_SITES=	http://www.michaelvess.com/text/code/
XDISTNAME=	${PORTFAKENAME}-${PORTVERSION}
X
XMAINTAINER=	erik@smluc.org
XCOMMENT=	Scheme script interpreter with multibyte character handling
X
XBUILD_DEPENDS=	gosh:${PORTSDIR}/lang/gauche
XRUN_DEPENDS=	gosh:${PORTSDIR}/lang/gauche
X
XPLIST_SUB=      GAUCHE_VERSION="`gauche-config -V`"\
X		TARGET="${CONFIGURE_TARGET}"
XWRKSRC=         ${WRKDIR}/${PORTFAKENAME}
XPORTFAKENAME=	Gauche-sdl
XUSE_SDL=        image mixer sdl ttf
XGNU_CONFIGURE=	yes
XUSE_REINPLACE=	yes
X
Xpost-patch:
X.for DIR in . image mixer ttf
X		${REINPLACE_CMD} \
X			-e "s|^CFLAGS .*|& `${SDL_CONFIG} --cflags`|"\
X			-e "s|-lSDL|`${SDL_CONFIG} --libs`|"\
X			${WRKSRC}/src/${DIR}/Makefile.in
X.endfor
X		${REINPLACE_CMD} \
X			-e "s|SDL/SDL|SDL|g"\
X			-e "s|%%SDL_CFLAGS%%|`${SDL_CONFIG} --cflags`|"\
X			${WRKSRC}/configure
X
X.include <bsd.port.mk>
END-of-devel/gauche-sdl/Makefile
exit
--- devel_gauche-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?20040216000443.29535.qmail>