Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Dec 1999 06:48:03 -0500 (EST)
From:      Will Andrews <andrews@technologist.com>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/15808: new port: games/sdl
Message-ID:  <199912311148.GAA37618@argon.blackdawn.com>

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

>Number:         15808
>Category:       ports
>Synopsis:       new port: games/sdl
>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 Dec 31 03:50:09 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Will Andrews
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
none
>Environment:

FreeBSD argon.blackdawn.com 4.0-CURRENT FreeBSD 4.0-CURRENT #0: Tue Nov 30 10:14:31 EST 1999     root@argon.blackdawn.com:/usr/src/sys/compile/ARGON  i386
FreeBSD shadow.blackdawn.com 3.4-STABLE FreeBSD 3.4-STABLE #0: Tue Dec 28 10:44:21 EST 1999     root@shadow.blackdawn.com:/usr/src/sys/compile/SHADOW  i386

>Description:

SDL is a neat gaming SDK. See pkg/DESCR and the WWW site.
Works with both -STABLE and (old) -CURRENT. We seem to have
the appropriate pthread library in the base system (i.e.,
it uses MIT not GNU pthreads).

>How-To-Repeat:

Use the shar below to commit the port to the tree.

>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:
#
#	sdl
#	sdl/files
#	sdl/files/md5
#	sdl/pkg
#	sdl/pkg/COMMENT
#	sdl/pkg/DESCR
#	sdl/pkg/PLIST
#	sdl/patches
#	sdl/patches/patch-aa
#	sdl/patches/patch-ab
#	sdl/Makefile
#
echo c - sdl
mkdir -p sdl > /dev/null 2>&1
echo c - sdl/files
mkdir -p sdl/files > /dev/null 2>&1
echo x - sdl/files/md5
sed 's/^X//' >sdl/files/md5 << 'END-of-sdl/files/md5'
XMD5 (SDL-1.0.1.tar.gz) = 0bc636a2f96c6451a5046c5f20fa0536
END-of-sdl/files/md5
echo c - sdl/pkg
mkdir -p sdl/pkg > /dev/null 2>&1
echo x - sdl/pkg/COMMENT
sed 's/^X//' >sdl/pkg/COMMENT << 'END-of-sdl/pkg/COMMENT'
XGame SDK with support for CDROM, video, audio.
END-of-sdl/pkg/COMMENT
echo x - sdl/pkg/DESCR
sed 's/^X//' >sdl/pkg/DESCR << 'END-of-sdl/pkg/DESCR'
XSDL stands for Simple DirectMedia Layer, a generic API that provides low
Xlevel access to audio, keyboard, mouse, and display framebuffer across
Xmultiple platforms, including MacOS, Linux, Windows, BeOS, IRIX, Solaris, 
Xand last but not least, FreeBSD. :-)
X
XThis library is distributed under the LGPL. It is intended as a gaming
Xsoftware development kit (SDK).
X
XWWW: http://www.devolution.com/~slouken/SDL/
XAuthor: Sam Latinga <slouken@devolution.com>
X
X--Will <andrews@technologist.com>
END-of-sdl/pkg/DESCR
echo x - sdl/pkg/PLIST
sed 's/^X//' >sdl/pkg/PLIST << 'END-of-sdl/pkg/PLIST'
Xbin/sdl-config
Xshare/aclocal/sdl.m4
Xlib/libSDLmain.a
Xlib/libSDL.a
Xlib/libSDL.la
Xlib/libSDL-1.0.so.0
Xlib/libSDL-1.0.so
Xlib/libSDL.so
Xinclude/SDL/SDL.h
Xinclude/SDL/SDL_active.h
Xinclude/SDL/SDL_audio.h
Xinclude/SDL/SDL_byteorder.h
Xinclude/SDL/SDL_cdrom.h
Xinclude/SDL/SDL_copying.h
Xinclude/SDL/SDL_endian.h
Xinclude/SDL/SDL_error.h
Xinclude/SDL/SDL_events.h
Xinclude/SDL/SDL_keyboard.h
Xinclude/SDL/SDL_keysym.h
Xinclude/SDL/SDL_main.h
Xinclude/SDL/SDL_mouse.h
Xinclude/SDL/SDL_mutex.h
Xinclude/SDL/SDL_quit.h
Xinclude/SDL/SDL_rwops.h
Xinclude/SDL/SDL_syswm.h
Xinclude/SDL/SDL_thread.h
Xinclude/SDL/SDL_timer.h
Xinclude/SDL/SDL_types.h
Xinclude/SDL/SDL_version.h
Xinclude/SDL/SDL_video.h
Xinclude/SDL/begin_code.h
Xinclude/SDL/close_code.h
Xshare/sdl/index.html
Xshare/sdl/audio/examples.html
Xshare/sdl/audio/funclist.html
Xshare/sdl/audio/functions.html
Xshare/sdl/audio/index.html
Xshare/sdl/cdrom/index.html
Xshare/sdl/cdrom/functions.html
Xshare/sdl/cdrom/funclist.html
Xshare/sdl/cdrom/examples.html
Xshare/sdl/events/examples.html
Xshare/sdl/events/functions.html
Xshare/sdl/events/index.html
Xshare/sdl/events/keysym.html
Xshare/sdl/images/rainbow.gif
Xshare/sdl/threads/index.html
Xshare/sdl/video/examples.html
Xshare/sdl/video/funclist.html
Xshare/sdl/video/functions.html
Xshare/sdl/video/index.html
X@dirrm share/sdl/audio
X@dirrm share/sdl/cdrom
X@dirrm share/sdl/events
X@dirrm share/sdl/images
X@dirrm share/sdl/threads
X@dirrm share/sdl/video
X@dirrm share/sdl
X@dirrm include/SDL
END-of-sdl/pkg/PLIST
echo c - sdl/patches
mkdir -p sdl/patches > /dev/null 2>&1
echo x - sdl/patches/patch-aa
sed 's/^X//' >sdl/patches/patch-aa << 'END-of-sdl/patches/patch-aa'
X--- Makefile.in	Mon Dec 13 20:03:44 1999
X+++ Makefile.in.new	Thu Dec 16 08:40:38 1999
X@@ -99,7 +99,7 @@
X SDL_MINOR_VERSION = @SDL_MINOR_VERSION@
X SDL_VERSION = @SDL_VERSION@
X STRIP = @STRIP@
X-SYSTEM_LIBS = @SYSTEM_LIBS@
X+SYSTEM_LIBS = ${ESD_LIBS} @SYSTEM_LIBS@
X VERSION = @VERSION@
X VIDEO_DRIVERS = @VIDEO_DRIVERS@
X VIDEO_SUBDIRS = @VIDEO_SUBDIRS@
END-of-sdl/patches/patch-aa
echo x - sdl/patches/patch-ab
sed 's/^X//' >sdl/patches/patch-ab << 'END-of-sdl/patches/patch-ab'
X--- src/Makefile.in	Mon Dec 13 20:03:45 1999
X+++ src/Makefile.in.new	Thu Dec 16 08:50:24 1999
X@@ -123,7 +123,7 @@
X libSDL_la_SOURCES = $(GENERAL_SRCS)
X libSDL_la_LDFLAGS =          -release $(LT_RELEASE)		-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
X 
X-libSDL_la_LIBADD =  	main/libarch.la			@SDL_EXTRALIBS@			@SYSTEM_LIBS@
X+libSDL_la_LIBADD =  	main/libarch.la	${ESD_LIBS} @SDL_EXTRALIBS@			@SYSTEM_LIBS@
X 
X 
X # The SDL library sources
END-of-sdl/patches/patch-ab
echo x - sdl/Makefile
sed 's/^X//' >sdl/Makefile << 'END-of-sdl/Makefile'
X# New ports collection makefile for:	SDL
X# Version required:	1.0.1
X# Date created:		15 Dec 1999
X# Whom:			Will Andrews <andrews@technologist.com>
X#
X# $FreeBSD$
X#
X
XDISTNAME=	SDL-1.0.1
XCATEGORIES=	games devel
XMASTER_SITES=	http://www.devolution.com/~slouken/SDL/release/
X
XMAINTAINER=	andrews@technologist.com
X
XLIB_DEPENDS=	esd.2:${PORTSDIR}/audio/esound
X
XGNU_CONFIGURE=	yes
XCONFIGURE_ARGS=	--with-esd-prefix=${LOCALBASE}
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${PREFIX}/share/sdl/audio
X	@${MKDIR} ${PREFIX}/share/sdl/cdrom
X	@${MKDIR} ${PREFIX}/share/sdl/events
X	@${MKDIR} ${PREFIX}/share/sdl/images
X	@${MKDIR} ${PREFIX}/share/sdl/threads
X	@${MKDIR} ${PREFIX}/share/sdl/video
X	@${INSTALL_DATA} ${WRKSRC}/docs/index.html ${PREFIX}/share/sdl
X	@${INSTALL_DATA} ${WRKSRC}/docs/audio/* ${PREFIX}/share/sdl/audio
X	@${INSTALL_DATA} ${WRKSRC}/docs/cdrom/* ${PREFIX}/share/sdl/cdrom
X	@${INSTALL_DATA} ${WRKSRC}/docs/events/* ${PREFIX}/share/sdl/events
X	@${INSTALL_DATA} ${WRKSRC}/docs/images/* ${PREFIX}/share/sdl/images
X	@${INSTALL_DATA} ${WRKSRC}/docs/threads/* ${PREFIX}/share/sdl/threads
X	@${INSTALL_DATA} ${WRKSRC}/docs/video/* ${PREFIX}/share/sdl/video
X	@${ECHO}
X	@${ECHO} "Docs have been installed in ${PREFIX}/share/sdl."
X	@${ECHO}
X.endif
X
X.include <bsd.port.mk>
END-of-sdl/Makefile
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?199912311148.GAA37618>