Date: Sat, 21 Dec 2002 14:06:54 +0100 (CET) From: David Holm <david@realityrift.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/46442: New port: Ada thin binding to SDL and OpenGL Message-ID: <200212211306.gBLD6ssk046056@rift.ath.cx>
next in thread | raw e-mail | index | archive | help
>Number: 46442 >Category: ports >Synopsis: New port: Ada thin binding to SDL and OpenGL >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: Sat Dec 21 05:10:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: David Holm >Release: FreeBSD 5.0-CURRENT i386 >Organization: >Environment: System: FreeBSD rift.ath.cx 5.0-CURRENT FreeBSD 5.0-CURRENT #3: Sun Dec 15 14:14:05 CET 2002 avatar@rift.ath.cx:/usr/src/sys/i386/compile/MYKERNEL i386 >Description: This one was a bit messy to create since it didn't have install prefixes in the makefiles. >How-To-Repeat: >Fix: --- devel-adasdl.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/adasdl # devel/adasdl/Makefile # devel/adasdl/distinfo # devel/adasdl/pkg-descr # devel/adasdl/files # devel/adasdl/files/patch-AdaGL-make.conf_x11 # devel/adasdl/files/patch-AdaSDL_framebuff-make.conf_x11 # devel/adasdl/files/patch-AdaSDL_image-make.conf_x11 # devel/adasdl/files/patch-AdaSDL_mixer-make.conf_x11 # devel/adasdl/files/patch-AdaSDL-make.conf_x11 # devel/adasdl/files/patch-AdaSDL_framebuff-sdltests-Makefile # devel/adasdl/pkg-plist # devel/adasdl/pkg-comment # echo c - devel/adasdl mkdir -p devel/adasdl > /dev/null 2>&1 echo x - devel/adasdl/Makefile sed 's/^X//' >devel/adasdl/Makefile << 'END-of-devel/adasdl/Makefile' X# New ports collection makefile for: adasdl X# Date created: 21 December 2002 X# Whom: David Holm <david@realityrift.com> X# X# $FreeBSD$ X# X XPORTNAME= adasdl XPORTVERSION= 20010504 XCATEGORIES= devel XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR= ${PORTNAME} XDISTNAME= AdaSDL_${PORTVERSION} X XMAINTAINER= david@realityrift.com X XLIB_DEPENDS= SDL-1.1:${PORTSDIR}/devel/sdl12 \ X ${GL_DEPENDS} X XUSE_GMAKE= yes X Xdo-build: X cd ${WRKSRC}/AdaSDL && \ X ${MAKE} conf2x11 && \ X ${MAKE} bind X cd ${WRKSRC}/AdaSDL_framebuff && \ X ${MAKE} conf2x11 && \ X ${MAKE} framebuff X X.if !defined(WITHOUT_SDL_IMAGE) X cd ${WRKSRC}/AdaSDL_image && \ X ${MAKE} conf2x11 && \ X ${MAKE} binding X.endif X X.if !defined(WITHOUT_SDL_MIXER) X cd ${WRKSRC}/AdaSDL_mixer && \ X ${MAKE} conf2x11 && \ X ${MAKE} binding X.endif X X.if !defined(WITHOUT_OPENGL) X cd ${WRKSRC}/AdaGL && \ X ${MAKE} conf2x11 && \ X ${MAKE} bind X.endif X Xdo-install: X ${MKDIR} ${PREFIX}/lib/adaSDL X for i in `cat pkg-plist|grep "lib/adaSDL/"|grep -v framebuffer|grep -v _mixer|grep -v _image|sed "s/lib\/adaSDL\///"`; do \ X find ${WRKSRC}/AdaSDL/binding -name $${i} -maxdepth 1|${INSTALL_DATA} `grep ""` ${PREFIX}/lib/adaSDL; \ X done X for i in `cat pkg-plist|grep "lib/adaSDL/"|grep framebuffer|sed "s/lib\/adaSDL\///"`; do \ X find ${WRKSRC}/AdaSDL_framebuff -name $${i} -maxdepth 1|${INSTALL_DATA} `grep ""` ${PREFIX}/lib/adaSDL; \ X done X ${MKDIR} ${PREFIX}/share/adaSDL X ${MKDIR} ${PREFIX}/share/adaSDL/examples X for i in `cat pkg-plist|grep "share/adaSDL/examples"|grep -v dirrm|sed "s/share\/adaSDL\/examples\///"`; do \ X find ${WRKSRC}/AdaSDL_framebuff/sdltests -name $${i} -maxdepth 1|${INSTALL_DATA} `grep ""` ${PREFIX}/share/adaSDL/examples; \ X done X X.if !defined(WITHOUT_SDL_IMAGE) X for i in `cat pkg-plist|grep "lib/adaSDL/"|grep _image|sed "s/lib\/adaSDL\///"`; do \ X find ${WRKSRC}/AdaSDL_image -name $${i} -maxdepth 1|${INSTALL_DATA} `grep ""` ${PREFIX}/lib/adaSDL; \ X done X.endif X X.if !defined(WITHOUT_SDL_MIXER) X for i in `cat pkg-plist|grep "lib/adaSDL/"|grep _mixer|sed "s/lib\/adaSDL\///"`; do \ X find ${WRKSRC}/AdaSDL_mixer -name $${i} -maxdepth 1|${INSTALL_DATA} `grep ""` ${PREFIX}/lib/adaSDL; \ X done X.endif X X.if !defined(WITHOUT_OPENGL) X ${MKDIR} ${PREFIX}/lib/adaGL X for i in `cat pkg-plist|grep "/adaGL/"|sed "s/lib\/adaGL\///"`; do \ X find ${WRKSRC}/AdaGL/GL -name $${i} -maxdepth 1|${INSTALL_DATA} `grep ""` ${PREFIX}/lib/adaGL; \ X done X.endif X Xdo-extract: X @${MKDIR} ${WRKSRC} X @${GUNZIP_CMD} -dc ${DISTDIR}/${DISTNAME}.tar.gz \ X | ${TAR} -C ${WRKSRC} -xf - X Xpost-install: X @${ECHO} X @${ECHO} "AdaSDL has been installed in ${PREFIX}/lib/adaSDL" X @${ECHO} "AdaSDL examples have been installed in ${PREFIX}/share/adaSDL/examples" X.if !defined(WITHOUT_OPENGL) X @${ECHO} "AdaGL has been installed in ${PREFIX}/lib/adaGL" X.endif X @${ECHO} X X.include <bsd.port.mk> END-of-devel/adasdl/Makefile echo x - devel/adasdl/distinfo sed 's/^X//' >devel/adasdl/distinfo << 'END-of-devel/adasdl/distinfo' XMD5 (AdaSDL_20010504.tar.gz) = 93cbacb14d137490f2f4a06c62080b4c END-of-devel/adasdl/distinfo echo x - devel/adasdl/pkg-descr sed 's/^X//' >devel/adasdl/pkg-descr << 'END-of-devel/adasdl/pkg-descr' XdaSDL is a set of Ada (programming language) bindings, ports, Xand some original applications based on SDL (Simple DirectMedia XLibrary - http://www.libsdl.org) X XWWW: http://adasdl.sourceforge.net/ X X- David Holm Xdavid@realityrift.com END-of-devel/adasdl/pkg-descr echo c - devel/adasdl/files mkdir -p devel/adasdl/files > /dev/null 2>&1 echo x - devel/adasdl/files/patch-AdaGL-make.conf_x11 sed 's/^X//' >devel/adasdl/files/patch-AdaGL-make.conf_x11 << 'END-of-devel/adasdl/files/patch-AdaGL-make.conf_x11' X--- AdaGL/make.conf_x11.orig Wed Apr 11 03:21:25 2001 X+++ AdaGL/make.conf_x11 Sat Dec 21 02:14:51 2002 X@@ -1,5 +1,5 @@ X #LIBS= -L/usr/lib -L/usr/local/lib ~/lib -Wl,-rpath,. -lpthread -L/usr/lib -lGL -lGLU X-LIBS= -L/usr/lib -L/usr/local/lib -L~/lib -lGL -lGLU X+LIBS= -L/usr/lib -L/usr/local/lib -L/usr/X11R6/lib -L~/lib -lXext -lX11 -lGL -lGLU X GNATHTML=/usr/local/bin/gnathtml.pl X PERL=/usr/bin/perl X END-of-devel/adasdl/files/patch-AdaGL-make.conf_x11 echo x - devel/adasdl/files/patch-AdaSDL_framebuff-make.conf_x11 sed 's/^X//' >devel/adasdl/files/patch-AdaSDL_framebuff-make.conf_x11 << 'END-of-devel/adasdl/files/patch-AdaSDL_framebuff-make.conf_x11' X--- AdaSDL_framebuff/make.conf_x11.orig Wed Apr 11 03:29:41 2001 X+++ AdaSDL_framebuff/make.conf_x11 Sat Dec 21 02:10:44 2002 X@@ -1,4 +1,4 @@ X #LIBS= -L/usr/lib -L/usr/local/lib ~/lib -Wl,-rpath,. -lSDL -lpthread -L/usr/lib -lGL -lGLU X-LIBS= -L/usr/lib -L/usr/local/lib -L~/lib -lSDL_mixer -lSDL -lpthread -lGL -lGLU X+LIBS= -L/usr/lib -L/usr/local/lib -L/usr/X11R6/lib -L~/lib -lSDL_mixer -lSDL-1.1 -pthread -lGL -lGLU X X EXE= END-of-devel/adasdl/files/patch-AdaSDL_framebuff-make.conf_x11 echo x - devel/adasdl/files/patch-AdaSDL_image-make.conf_x11 sed 's/^X//' >devel/adasdl/files/patch-AdaSDL_image-make.conf_x11 << 'END-of-devel/adasdl/files/patch-AdaSDL_image-make.conf_x11' X--- AdaSDL_image/make.conf_x11.orig Wed Apr 11 03:36:30 2001 X+++ AdaSDL_image/make.conf_x11 Sat Dec 21 02:18:39 2002 X@@ -1,4 +1,4 @@ X #LIBS= -L/usr/lib -L/usr/local/lib ~/lib -Wl,-rpath,. -lSDL -lpthread -L/usr/lib -lGL -lGLU X-LIBS= -L/usr/lib -L/usr/local/lib -L~/lib -lSDL_image -lSDL -lpthread -lGL -lGLU X+LIBS= -L/usr/lib -L/usr/local/lib -L/usr/X11R6/lib -L~/lib -lSDL_image -lSDL-1.1 -pthread -lGL -lGLU X X EXE= END-of-devel/adasdl/files/patch-AdaSDL_image-make.conf_x11 echo x - devel/adasdl/files/patch-AdaSDL_mixer-make.conf_x11 sed 's/^X//' >devel/adasdl/files/patch-AdaSDL_mixer-make.conf_x11 << 'END-of-devel/adasdl/files/patch-AdaSDL_mixer-make.conf_x11' X--- AdaSDL_mixer/make.conf_x11.orig Wed Apr 11 03:36:31 2001 X+++ AdaSDL_mixer/make.conf_x11 Sat Dec 21 02:19:56 2002 X@@ -1,4 +1,4 @@ X #LIBS= -L/usr/lib -L/usr/local/lib ~/lib -Wl,-rpath,. -lSDL -lpthread -L/usr/lib -lGL -lGLU X-LIBS= -L/usr/lib -L/usr/local/lib -L~/lib -lSDL_mixer -lSDL -lpthread -lGL -lGLU X+LIBS= -L/usr/lib -L/usr/local/lib -L/usr/X11R6/lib -L~/lib -lSDL_mixer -lSDL-1.1 -pthread -lGL -lGLU X X EXE= END-of-devel/adasdl/files/patch-AdaSDL_mixer-make.conf_x11 echo x - devel/adasdl/files/patch-AdaSDL-make.conf_x11 sed 's/^X//' >devel/adasdl/files/patch-AdaSDL-make.conf_x11 << 'END-of-devel/adasdl/files/patch-AdaSDL-make.conf_x11' X--- AdaSDL/make.conf_x11.orig Wed Apr 11 03:22:12 2001 X+++ AdaSDL/make.conf_x11 Sat Dec 21 02:23:24 2002 X@@ -1,5 +1,5 @@ X #LIBS= -L/usr/lib -L/usr/local/lib ~/lib -Wl,-rpath,. -lSDL -lpthread -L/usr/lib -lGL -lGLU X-LIBS= -L/usr/lib -L/usr/local/lib -L~/lib -lSDL -lpthread -lGL -lGLU X+LIBS= -L/usr/lib -L/usr/local/lib -L/usr/X11R6/lib -L~/lib -lSDL-1.1 -pthread -lGL -lGLU X GNATHTML=/usr/local/bin/gnathtml.pl X PERL=/usr/bin/perl X EXE= END-of-devel/adasdl/files/patch-AdaSDL-make.conf_x11 echo x - devel/adasdl/files/patch-AdaSDL_framebuff-sdltests-Makefile sed 's/^X//' >devel/adasdl/files/patch-AdaSDL_framebuff-sdltests-Makefile << 'END-of-devel/adasdl/files/patch-AdaSDL_framebuff-sdltests-Makefile' X--- AdaSDL_framebuff/sdltests/Makefile.orig Mon Apr 16 16:48:38 2001 X+++ AdaSDL_framebuff/sdltests/Makefile Sat Dec 21 13:13:57 2002 X@@ -1,6 +1,7 @@ X X-INC+=-I../../AdaSDL/binding -I../../AdaGL/GL -I.. X-include ../make.conf X+LIBS= -L/usr/lib -L/usr/local/lib -L/usr/X11R6/lib -L~/lib -lSDL_mixer -lSDL-1.1 -pthread -lGL -lGLU X+ X+INC+=-I/usr/local/lib/adaSDL -I/usr/local/lib/adaGL -I.. X X %:%.adb X gnatmake -O3 -gnaty3abcefhiklmprM90 -gnatnfvU $<\ END-of-devel/adasdl/files/patch-AdaSDL_framebuff-sdltests-Makefile echo x - devel/adasdl/pkg-plist sed 's/^X//' >devel/adasdl/pkg-plist << 'END-of-devel/adasdl/pkg-plist' Xlib/adaGL/gl_h.ads Xlib/adaGL/glu_h.ads Xlib/adaGL/adagl.ads Xlib/adaSDL/lib_c.ads Xlib/adaSDL/sdl-active.ads Xlib/adaSDL/sdl-audio-extra.ads Xlib/adaSDL/sdl-audio.ads Xlib/adaSDL/sdl-byteorder-extra.ads Xlib/adaSDL/sdl-byteorder.ads Xlib/adaSDL/sdl-cdrom.ads Xlib/adaSDL/sdl-error.ads Xlib/adaSDL/sdl-events.ads Xlib/adaSDL/sdl-joystick.ads Xlib/adaSDL/sdl-keyboard.ads Xlib/adaSDL/sdl-keysym.ads Xlib/adaSDL/sdl-mouse.ads Xlib/adaSDL/sdl-mutex.ads Xlib/adaSDL/sdl-quit.ads Xlib/adaSDL/sdl-rwops.ads Xlib/adaSDL/sdl-thread.ads Xlib/adaSDL/sdl-timer.ads Xlib/adaSDL/sdl-types.ads Xlib/adaSDL/sdl-version.ads Xlib/adaSDL/sdl-video.ads Xlib/adaSDL/sdl.ads Xlib/adaSDL/uintn_ptrops.ads Xlib/adaSDL/sdl_framebuffer.ads Xlib/adaSDL/sdl_framebuffer_generics.ads Xlib/adaSDL/sdl_image.ads Xlib/adaSDL/sdl_mixer.ads Xlib/adaGL/adagl.adb Xlib/adaGL/compile.adb Xlib/adaSDL/compile.adb Xlib/adaSDL/sdl-audio.adb Xlib/adaSDL/sdl-byteorder.adb Xlib/adaSDL/sdl-cdrom.adb Xlib/adaSDL/sdl-error.adb Xlib/adaSDL/sdl-events.adb Xlib/adaSDL/sdl-keyboard.adb Xlib/adaSDL/sdl-mouse.adb Xlib/adaSDL/sdl-mutex.adb Xlib/adaSDL/sdl-rwops.adb Xlib/adaSDL/sdl-types.adb Xlib/adaSDL/sdl-version.adb Xlib/adaSDL/sdl-video.adb Xlib/adaSDL/sdl_framebuffer.adb Xlib/adaSDL/sdl_framebuffer_generics.adb Xlib/adaSDL/sdl_image.adb Xlib/adaSDL/sdl_mixer.adb Xlib/adaGL/compile.ali Xlib/adaGL/adagl.ali Xlib/adaGL/gl_h.ali Xlib/adaGL/glu_h.ali Xlib/adaSDL/compile.ali Xlib/adaSDL/lib_c.ali Xlib/adaSDL/sdl.ali Xlib/adaSDL/sdl-active.ali Xlib/adaSDL/sdl-audio.ali Xlib/adaSDL/sdl-audio-extra.ali Xlib/adaSDL/sdl-byteorder.ali Xlib/adaSDL/sdl-byteorder-extra.ali Xlib/adaSDL/sdl-cdrom.ali Xlib/adaSDL/sdl-error.ali Xlib/adaSDL/sdl-events.ali Xlib/adaSDL/sdl-joystick.ali Xlib/adaSDL/sdl-keyboard.ali Xlib/adaSDL/sdl-keysym.ali Xlib/adaSDL/sdl-mouse.ali Xlib/adaSDL/sdl-mutex.ali Xlib/adaSDL/sdl-quit.ali Xlib/adaSDL/sdl-rwops.ali Xlib/adaSDL/sdl-thread.ali Xlib/adaSDL/sdl-timer.ali Xlib/adaSDL/sdl-types.ali Xlib/adaSDL/sdl-version.ali Xlib/adaSDL/sdl-video.ali Xlib/adaSDL/uintn_ptrops.ali Xlib/adaSDL/sdl_framebuffer.ali Xlib/adaSDL/sdl_framebuffer_generics.ali Xlib/adaSDL/sdl_image.ali Xlib/adaSDL/sdl_mixer.ali Xlib/adaSDL/compile.o Xlib/adaSDL/lib_c.o Xlib/adaSDL/sdl-active.o Xlib/adaSDL/sdl-audio-extra.o Xlib/adaSDL/sdl-audio.o Xlib/adaSDL/sdl-byteorder-extra.o Xlib/adaSDL/sdl-byteorder.o Xlib/adaSDL/sdl-cdrom.o Xlib/adaSDL/sdl-error.o Xlib/adaSDL/sdl-events.o Xlib/adaSDL/sdl-joystick.o Xlib/adaSDL/sdl-keyboard.o Xlib/adaSDL/sdl-keysym.o Xlib/adaSDL/sdl-mouse.o Xlib/adaSDL/sdl-mutex.o Xlib/adaSDL/sdl-quit.o Xlib/adaSDL/sdl-rwops.o Xlib/adaSDL/sdl-thread.o Xlib/adaSDL/sdl-timer.o Xlib/adaSDL/sdl-types.o Xlib/adaSDL/sdl-version.o Xlib/adaSDL/sdl-video.o Xlib/adaSDL/sdl.o Xlib/adaSDL/uintn_ptrops.o Xlib/adaSDL/sdl_framebuffer.o Xlib/adaSDL/sdl_framebuffer_generics.o Xlib/adaSDL/sdl_image.o Xlib/adaSDL/sdl_mixer.o Xlib/adaGL/adagl.o Xlib/adaGL/compile.o Xlib/adaGL/gl_h.o Xlib/adaGL/glu_h.o Xshare/adaSDL/examples/Makefile Xshare/adaSDL/examples/TODO.txt Xshare/adaSDL/examples/checkkeys.adb Xshare/adaSDL/examples/gnat.adc Xshare/adaSDL/examples/graywin.adb Xshare/adaSDL/examples/icon.bmp Xshare/adaSDL/examples/loopwave.adb Xshare/adaSDL/examples/loopwave_callback.adb Xshare/adaSDL/examples/loopwave_callback.ads Xshare/adaSDL/examples/picture.xbm Xshare/adaSDL/examples/picture_xbm.ads Xshare/adaSDL/examples/sail.bmp Xshare/adaSDL/examples/sample.bmp Xshare/adaSDL/examples/sample.wav Xshare/adaSDL/examples/screen.bmp Xshare/adaSDL/examples/tags Xshare/adaSDL/examples/testalpha.adb Xshare/adaSDL/examples/testbitmap.adb Xshare/adaSDL/examples/testcdrom.adb Xshare/adaSDL/examples/testerror.adb Xshare/adaSDL/examples/testerror_tfunc.adb Xshare/adaSDL/examples/testerror_tfunc.ads Xshare/adaSDL/examples/testgl.adb Xshare/adaSDL/examples/testgl_sprogs.adb Xshare/adaSDL/examples/testgl_sprogs.ads Xshare/adaSDL/examples/testhread.adb Xshare/adaSDL/examples/testhread_sprogs.adb Xshare/adaSDL/examples/testhread_sprogs.ads Xshare/adaSDL/examples/testjoystick.adb Xshare/adaSDL/examples/testjoystick.txt Xshare/adaSDL/examples/testkeys.adb Xshare/adaSDL/examples/testlock.adb Xshare/adaSDL/examples/testlock_sprogs.adb Xshare/adaSDL/examples/testlock_sprogs.ads Xshare/adaSDL/examples/testpalette.adb Xshare/adaSDL/examples/testpalette_sprogs.adb Xshare/adaSDL/examples/testpalette_sprogs.ads Xshare/adaSDL/examples/testsem.adb Xshare/adaSDL/examples/testsem_sprogs.adb Xshare/adaSDL/examples/testsem_sprogs.ads Xshare/adaSDL/examples/testsprite.adb Xshare/adaSDL/examples/testtimer.adb Xshare/adaSDL/examples/testtimer_sprogs.adb Xshare/adaSDL/examples/testtimer_sprogs.ads Xshare/adaSDL/examples/testtypes.adb Xshare/adaSDL/examples/testver.adb Xshare/adaSDL/examples/testvidinfo.adb Xshare/adaSDL/examples/testwin.adb Xshare/adaSDL/examples/testwm.adb Xshare/adaSDL/examples/testwm_sprogs.adb Xshare/adaSDL/examples/testwm_sprogs.ads Xshare/adaSDL/examples/threadwin.adb Xshare/adaSDL/examples/threadwin_sprogs.adb Xshare/adaSDL/examples/threadwin_sprogs.ads Xshare/adaSDL/examples/torturethread.adb Xshare/adaSDL/examples/torturethread_sprogs.adb Xshare/adaSDL/examples/torturethread_sprogs.ads X@dirrm lib/adaGL X@dirrm lib/adaSDL X@dirrm share/adaSDL/examples X@dirrm share/adaSDL END-of-devel/adasdl/pkg-plist echo x - devel/adasdl/pkg-comment sed 's/^X//' >devel/adasdl/pkg-comment << 'END-of-devel/adasdl/pkg-comment' XAn Ada thin binding to SDL END-of-devel/adasdl/pkg-comment exit --- devel-adasdl.shar ends here --- >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?200212211306.gBLD6ssk046056>