diff options
Diffstat (limited to 'graphics/freeglut')
-rw-r--r-- | graphics/freeglut/Makefile | 76 | ||||
-rw-r--r-- | graphics/freeglut/distinfo | 2 | ||||
-rw-r--r-- | graphics/freeglut/files/patch-aclocal.m4 | 25 | ||||
-rw-r--r-- | graphics/freeglut/files/patch-configure.in | 12 | ||||
-rw-r--r-- | graphics/freeglut/files/patch-progs::demos::CallbackMaker::CallbackMaker.c | 11 | ||||
-rw-r--r-- | graphics/freeglut/files/patch-progs::demos::Fractals::fractals.c | 20 | ||||
-rw-r--r-- | graphics/freeglut/files/patch-progs::demos::Fractals_random::fractals_random.c | 20 | ||||
-rw-r--r-- | graphics/freeglut/files/patch-progs::demos::Lorenz::lorenz.c | 11 | ||||
-rw-r--r-- | graphics/freeglut/files/patch-progs::demos::One::one.c | 11 | ||||
-rw-r--r-- | graphics/freeglut/files/patch-progs::demos::shapes::shapes.c | 11 | ||||
-rw-r--r-- | graphics/freeglut/files/patch-src::Makefile.am | 31 | ||||
-rw-r--r-- | graphics/freeglut/files/patch-src::freeglut_joystick.c | 14 | ||||
-rw-r--r-- | graphics/freeglut/pkg-descr | 13 | ||||
-rw-r--r-- | graphics/freeglut/pkg-message | 10 | ||||
-rw-r--r-- | graphics/freeglut/pkg-plist | 25 |
15 files changed, 0 insertions, 292 deletions
diff --git a/graphics/freeglut/Makefile b/graphics/freeglut/Makefile deleted file mode 100644 index 5c5b2a185131..000000000000 --- a/graphics/freeglut/Makefile +++ /dev/null @@ -1,76 +0,0 @@ -# New ports collection makefile for: freeglut -# Date created: Wed Apr 23 2003 -# Whom: thierry@pompo.net -# -# $FreeBSD$ -# - -PORTNAME= freeglut -PORTVERSION= 2.2.0 -CATEGORIES= x11-toolkits -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} -MASTER_SITE_SUBDIR= ${PORTNAME} - -MAINTAINER= ports@FreeBSD.org -COMMENT= An alternative to the OpenGL Utility Toolkit (GLUT) library - -USE_AUTOMAKE_VER= 14 -USE_AUTOCONF_VER= 213 -USE_AUTOHEADER_VER= 213 -USE_INC_LIBTOOL_VER= 13 -HAS_CONFIGURE= yes -INSTALLS_SHLIB= yes -USE_XLIB= yes -CONFIGURE_ARGS= --x-includes=${X11BASE}/include \ - --x-libraries=${X11BASE}/lib \ - --enable-replace-glut -CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" - -USE_REINPLACE= yes -REINPLACE_ARGS= -i "" - -PKGMESSAGE= ${WRKDIR}/pkg-message - -DOCS= download.html freeglut.html freeglut_logo.png \ - freeglut_user_interface.html index.html ogl_sm.png \ - progress.html structure.html -BINS= CallbackMaker Fractals Fractals_random Lorenz One shapes - -post-patch: - @${REINPLACE_CMD} -e "s|/usr/X11R6|${X11BASE}|g" \ - -e "s|/usr/local|${LOCALBASE}|g" \ - ${WRKSRC}/aclocal.m4 -.for fract in /fractals.c _random/fractals_random.c - @${REINPLACE_CMD} -e "s|/usr/local|${PREFIX}|g" \ - ${WRKSRC}/progs/demos/Fractals${fract} -.endfor - -post-build: - @${MV} ${WRKSRC}/progs/demos/CallbackMaker/.libs/CallbackMaker \ - ${WRKSRC}/progs/demos/CallbackMaker/.libs/callbackmaker - @${CAT} pkg-message | ${SED} 's|%%X11BASE%%|${X11BASE}| ; \ - s|%%PREFIX%%|${PREFIX}|' > ${PKGMESSAGE} - -post-install: -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} -.for FILE in ${DOCS} - @${INSTALL_DATA} ${WRKSRC}/doc/${FILE} ${DOCSDIR} -.endfor - @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." - @${MKDIR} ${EXAMPLESDIR} - @${INSTALL_DATA} ${WRKSRC}/progs/demos/Fractals/fractals.dat \ - ${EXAMPLESDIR} -.for prog in ${BINS} - @${INSTALL_PROGRAM} ${WRKSRC}/progs/demos/${prog}/.libs/${prog:L} \ - ${EXAMPLESDIR} -.endfor - @${ECHO_MSG} "===> Examples installed in ${EXAMPLESDIR}." -.endif - @${ECHO_MSG} - @${CAT} ${PKGMESSAGE} | \ - ${SED} -e "s|/usr/local|${PREFIX}|" \ - -e "s|/usr/X11R6|${X11BASE}|" - @${ECHO_MSG} - -.include <bsd.port.mk> diff --git a/graphics/freeglut/distinfo b/graphics/freeglut/distinfo deleted file mode 100644 index 378efe13c6b2..000000000000 --- a/graphics/freeglut/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -MD5 (freeglut-2.2.0.tar.gz) = 9439b8745f443131c2dad00bc93dc0ef -SIZE (freeglut-2.2.0.tar.gz) = 384055 diff --git a/graphics/freeglut/files/patch-aclocal.m4 b/graphics/freeglut/files/patch-aclocal.m4 deleted file mode 100644 index e577623d2ff3..000000000000 --- a/graphics/freeglut/files/patch-aclocal.m4 +++ /dev/null @@ -1,25 +0,0 @@ ---- aclocal.m4.orig Mon Sep 29 22:00:33 2003 -+++ aclocal.m4 Mon Sep 29 22:58:34 2003 -@@ -77,10 +77,10 @@ - # Some tools Automake needs. - AC_REQUIRE([AM_SANITY_CHECK])dnl - AC_REQUIRE([AC_ARG_PROGRAM])dnl --AM_MISSING_PROG(ACLOCAL, aclocal) --AM_MISSING_PROG(AUTOCONF, autoconf) --AM_MISSING_PROG(AUTOMAKE, automake) --AM_MISSING_PROG(AUTOHEADER, autoheader) -+AM_MISSING_PROG(ACLOCAL, ${ACLOCAL}) -+AM_MISSING_PROG(AUTOCONF, ${AUTOCONF}) -+AM_MISSING_PROG(AUTOMAKE, ${AUTOMAKE}) -+AM_MISSING_PROG(AUTOHEADER, ${AUTOHEADER}) - AM_MISSING_PROG(MAKEINFO, makeinfo) - AM_MISSING_PROG(AMTAR, tar) - AM_PROG_INSTALL_SH -@@ -567,6 +567,7 @@ - - # This can be used to rebuild libtool when needed - LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" -+$ac_aux_dir/ltconfig $LIBTOOL_DEPS - - # Always use our own libtool. - LIBTOOL='$(SHELL) $(top_builddir)/libtool' diff --git a/graphics/freeglut/files/patch-configure.in b/graphics/freeglut/files/patch-configure.in deleted file mode 100644 index be7bb60f73f6..000000000000 --- a/graphics/freeglut/files/patch-configure.in +++ /dev/null @@ -1,12 +0,0 @@ ---- configure.in.orig Sat Sep 20 18:14:07 2003 -+++ configure.in Mon Sep 22 21:19:52 2003 -@@ -8,8 +8,7 @@ - AC_PROG_CC - AC_C_CONST - AC_EXEEXT --AC_LIBTOOL_DLOPEN --AM_PROG_LIBTOOL -+AC_PROG_LIBTOOL - AC_SUBST(LIBTOOL_DEPS) - - dnl Checks for libraries. diff --git a/graphics/freeglut/files/patch-progs::demos::CallbackMaker::CallbackMaker.c b/graphics/freeglut/files/patch-progs::demos::CallbackMaker::CallbackMaker.c deleted file mode 100644 index bbe8f1761274..000000000000 --- a/graphics/freeglut/files/patch-progs::demos::CallbackMaker::CallbackMaker.c +++ /dev/null @@ -1,11 +0,0 @@ ---- progs/demos/CallbackMaker/CallbackMaker.c.orig Mon Nov 10 17:01:05 2003 -+++ progs/demos/CallbackMaker/CallbackMaker.c Sat Dec 13 14:43:35 2003 -@@ -4,7 +4,7 @@ - */ - - --#include <GL/freeglut.h> -+#include "../../../include/GL/freeglut.h" - #include <stdio.h> - #include <stdlib.h> - diff --git a/graphics/freeglut/files/patch-progs::demos::Fractals::fractals.c b/graphics/freeglut/files/patch-progs::demos::Fractals::fractals.c deleted file mode 100644 index 89a3ebe7af57..000000000000 --- a/graphics/freeglut/files/patch-progs::demos::Fractals::fractals.c +++ /dev/null @@ -1,20 +0,0 @@ ---- progs/demos/Fractals/fractals.c.orig Sun Sep 21 15:47:36 2003 -+++ progs/demos/Fractals/fractals.c Mon Sep 29 23:35:43 2003 -@@ -18,7 +18,7 @@ - * Escape - quit - */ - --#include <GL/freeglut.h> -+#include "../../../include/GL/freeglut.h" - #include <stdio.h> - #include <stdlib.h> - #include <math.h> -@@ -262,7 +262,7 @@ - if ( argc > 1 ) - readConfigFile ( argv[1] ) ; - else -- readConfigFile ( "fractals.dat" ) ; -+ readConfigFile ( "/usr/local/share/examples/freeglut/fractals.dat" ) ; - - glutInit(&argc, argv); - glutInitWindowSize(500, 250); diff --git a/graphics/freeglut/files/patch-progs::demos::Fractals_random::fractals_random.c b/graphics/freeglut/files/patch-progs::demos::Fractals_random::fractals_random.c deleted file mode 100644 index 4d97f39f1720..000000000000 --- a/graphics/freeglut/files/patch-progs::demos::Fractals_random::fractals_random.c +++ /dev/null @@ -1,20 +0,0 @@ ---- progs/demos/Fractals_random/fractals_random.c.orig Thu Dec 11 02:32:08 2003 -+++ progs/demos/Fractals_random/fractals_random.c Sat Dec 13 10:17:10 2003 -@@ -20,7 +20,7 @@ - * Escape - quit - */ - --#include <GL/freeglut.h> -+#include "../../../include/GL/freeglut.h" - #include <stdio.h> - #include <stdlib.h> - #include <math.h> -@@ -346,7 +346,7 @@ - if ( argc > 1 ) - readConfigFile ( argv[1] ) ; - else -- readConfigFile ( "fractals.dat" ) ; -+ readConfigFile ( "/usr/local/share/examples/freeglut/fractals.dat" ) ; - - fractal_window = glutCreateWindow( window_title ); - diff --git a/graphics/freeglut/files/patch-progs::demos::Lorenz::lorenz.c b/graphics/freeglut/files/patch-progs::demos::Lorenz::lorenz.c deleted file mode 100644 index 16fbfb15078b..000000000000 --- a/graphics/freeglut/files/patch-progs::demos::Lorenz::lorenz.c +++ /dev/null @@ -1,11 +0,0 @@ ---- progs/demos/Lorenz/lorenz.c.orig Thu Dec 11 02:32:08 2003 -+++ progs/demos/Lorenz/lorenz.c Sat Dec 13 10:19:26 2003 -@@ -32,7 +32,7 @@ - #include <string.h> - #include <math.h> - #include <time.h> --#include <GL/freeglut.h> -+#include "../../../include/GL/freeglut.h" - #ifdef WIN32 - #include <crtdbg.h> // DUMP MEMORY LEAKS - #endif diff --git a/graphics/freeglut/files/patch-progs::demos::One::one.c b/graphics/freeglut/files/patch-progs::demos::One::one.c deleted file mode 100644 index 580d5048e036..000000000000 --- a/graphics/freeglut/files/patch-progs::demos::One::one.c +++ /dev/null @@ -1,11 +0,0 @@ ---- progs/demos/One/one.c.orig Sat Sep 13 15:35:53 2003 -+++ progs/demos/One/one.c Mon Sep 22 21:56:03 2003 -@@ -19,7 +19,7 @@ - #include <stdio.h> - #include <stdlib.h> - --#include <GL/freeglut.h> -+#include "../../../include/GL/freeglut.h" - - int g_LeaveGameMode = 0; - int g_InGameMode = 1; diff --git a/graphics/freeglut/files/patch-progs::demos::shapes::shapes.c b/graphics/freeglut/files/patch-progs::demos::shapes::shapes.c deleted file mode 100644 index 596ee6c84b98..000000000000 --- a/graphics/freeglut/files/patch-progs::demos::shapes::shapes.c +++ /dev/null @@ -1,11 +0,0 @@ ---- progs/demos/shapes/shapes.c.orig Sun Dec 7 11:12:22 2003 -+++ progs/demos/shapes/shapes.c Sat Dec 13 14:51:38 2003 -@@ -12,7 +12,7 @@ - * using the + and - keys. - */ - --#include <GL/freeglut.h> -+#include "../../../include/GL/freeglut.h" - - #include <stdlib.h> - diff --git a/graphics/freeglut/files/patch-src::Makefile.am b/graphics/freeglut/files/patch-src::Makefile.am deleted file mode 100644 index 91705102960b..000000000000 --- a/graphics/freeglut/files/patch-src::Makefile.am +++ /dev/null @@ -1,31 +0,0 @@ ---- src/Makefile.am.orig Thu Dec 11 02:32:09 2003 -+++ src/Makefile.am Sat Dec 13 14:20:21 2003 -@@ -3,13 +3,13 @@ - # - # The library we want to build - # --lib_LTLIBRARIES = lib@LIBRARY@.la -+lib_LTLIBRARIES = libglut.la - - noinst_HEADERS = freeglut_internal.h - # - # Those source files build the freeglut library - # --lib@LIBRARY@_la_SOURCES = freeglut_callbacks.c \ -+libglut_la_SOURCES = freeglut_callbacks.c \ - freeglut_cursor.c \ - freeglut_display.c \ - freeglut_ext.c \ -@@ -35,9 +35,9 @@ - # - # Additional linker flags - # --lib@LIBRARY@_la_LIBADD = $(LIBM) $(X_LIBS) -lGL -lGLU -lXext -lX11 $(LIBXXF86VM) --lib@LIBRARY@_la_LDFLAGS = -version-info 11:0:8 --lib@LIBRARY@_la_CFLAGS = $(X_CFLAGS) -+libglut_la_LIBADD = $(LIBM) $(X_LIBS) -lGL -lGLU -lXext -lX11 $(LIBXXF86VM) -+libglut_la_LDFLAGS = -version-info 11:0:8 -+libglut_la_CFLAGS = $(X_CFLAGS) - - # - # End of file diff --git a/graphics/freeglut/files/patch-src::freeglut_joystick.c b/graphics/freeglut/files/patch-src::freeglut_joystick.c deleted file mode 100644 index 839f07f5e0c5..000000000000 --- a/graphics/freeglut/files/patch-src::freeglut_joystick.c +++ /dev/null @@ -1,14 +0,0 @@ - -$FreeBSD$ - ---- src/freeglut_joystick.c.orig Mon Nov 10 01:09:42 2003 -+++ src/freeglut_joystick.c Mon Nov 10 01:10:52 2003 -@@ -57,7 +57,7 @@ - # include <unistd.h> - # include <fcntl.h> - # if defined(__FreeBSD__) || defined(__NetBSD__) --# if __FreeBSD_version >= 500000 -+# if defined(__FreeBSD__) - # include <sys/joystick.h> - # else - # include <machine/joystick.h> diff --git a/graphics/freeglut/pkg-descr b/graphics/freeglut/pkg-descr deleted file mode 100644 index 12d15861c66b..000000000000 --- a/graphics/freeglut/pkg-descr +++ /dev/null @@ -1,13 +0,0 @@ -freeglut is a completely OpenSourced alternative to the OpenGL Utility -Toolkit (GLUT) library. GLUT was originally written by Mark Kilgard to -support the sample programs in the second edition OpenGL 'RedBook'. -Since then, GLUT has been used in a wide variety of practical applications -because it is simple, universally available and highly portable. - -GLUT (and hence freeglut) allows the user to create and manage windows -containing OpenGL contexts on a wide range of platforms and also read the -mouse, keyboard and joystick functions. - -freeglut is released under the X-Consortium license. - -WWW: http://freeglut.sourceforge.net/ diff --git a/graphics/freeglut/pkg-message b/graphics/freeglut/pkg-message deleted file mode 100644 index d4009cb79482..000000000000 --- a/graphics/freeglut/pkg-message +++ /dev/null @@ -1,10 +0,0 @@ -****************************************************************** -freeglut requires a DRI / OpenGL enabled-graphic card; -You may try to run the sample programs to check your installation. - -Notice: freeglut is now a GLUT replacement. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= - -It has been installed into %%PREFIX%%/lib/ -and the original GLUT is installed under %%X11BASE%%/lib/ -****************************************************************** diff --git a/graphics/freeglut/pkg-plist b/graphics/freeglut/pkg-plist deleted file mode 100644 index 9632aa3acec8..000000000000 --- a/graphics/freeglut/pkg-plist +++ /dev/null @@ -1,25 +0,0 @@ -include/GL/freeglut.h -include/GL/freeglut_ext.h -include/GL/freeglut_std.h -include/GL/glut.h -lib/libglut.a -lib/libglut.so -lib/libglut.so.11 -%%PORTDOCS%%%%EXAMPLESDIR%%/callbackmaker -%%PORTDOCS%%%%EXAMPLESDIR%%/fractals -%%PORTDOCS%%%%EXAMPLESDIR%%/fractals_random -%%PORTDOCS%%%%EXAMPLESDIR%%/fractals.dat -%%PORTDOCS%%%%EXAMPLESDIR%%/lorenz -%%PORTDOCS%%%%EXAMPLESDIR%%/one -%%PORTDOCS%%%%EXAMPLESDIR%%/shapes -%%PORTDOCS%%%%DOCSDIR%%/download.html -%%PORTDOCS%%%%DOCSDIR%%/freeglut.html -%%PORTDOCS%%%%DOCSDIR%%/freeglut_logo.png -%%PORTDOCS%%%%DOCSDIR%%/freeglut_user_interface.html -%%PORTDOCS%%%%DOCSDIR%%/index.html -%%PORTDOCS%%%%DOCSDIR%%/ogl_sm.png -%%PORTDOCS%%%%DOCSDIR%%/progress.html -%%PORTDOCS%%%%DOCSDIR%%/structure.html -@dirrm include/GL -%%PORTDOCS%%@dirrm %%DOCSDIR%% -%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% |