aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-03-14 20:15:06 +0800
committersobomax <sobomax@FreeBSD.org>2001-03-14 20:15:06 +0800
commit5e1436150c7102861fcd3e5b155b9f980608e921 (patch)
tree2ce9bb992d8cbef7c03d241629328b107b0fcc71 /graphics
parenta4411741fd7abd38b05c2e69854b3f62247df235 (diff)
downloadfreebsd-ports-graphics-5e1436150c7102861fcd3e5b155b9f980608e921.tar.gz
freebsd-ports-graphics-5e1436150c7102861fcd3e5b155b9f980608e921.tar.zst
freebsd-ports-graphics-5e1436150c7102861fcd3e5b155b9f980608e921.zip
Add libaux 1.0, a Nano Window Toolkit and Auxiliary Library for OpenGL.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/libaux/Makefile26
-rw-r--r--graphics/libaux/distinfo2
-rw-r--r--graphics/libaux/files/patch-Imakefile13
-rw-r--r--graphics/libaux/files/patch-font.c14
-rw-r--r--graphics/libaux/pkg-comment1
-rw-r--r--graphics/libaux/pkg-descr2
-rw-r--r--graphics/libaux/pkg-plist3
8 files changed, 62 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index be2d43a5a64..3a2063eabdb 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -103,6 +103,7 @@
SUBDIR += leafpak
SUBDIR += lfview
SUBDIR += lib3ds
+ SUBDIR += libaux
SUBDIR += libdivxdecore
SUBDIR += libdivxdecore-devel
SUBDIR += libdjvu++
diff --git a/graphics/libaux/Makefile b/graphics/libaux/Makefile
new file mode 100644
index 00000000000..89a929f256a
--- /dev/null
+++ b/graphics/libaux/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: libaux
+# Date created: 14 March 2001
+# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= libaux
+PORTVERSION= 1.0
+CATEGORIES= graphics
+MASTER_SITES= ftp://ftp.rus.uni-stuttgart.de/pub/systems/sgi/OpenGL/contrib/
+DISTFILES= libaux${EXTRACT_SUFX} libtk${EXTRACT_SUFX}
+
+MAINTAINER= sobomax@FreeBSD.org
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
+USE_IMAKE= yes
+USE_MESA= yes
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/libaux.a ${PREFIX}/lib
+ ${INSTALL_DATA} ${WRKSRC}/aux.h ${PREFIX}/include/GL
+ ${INSTALL_DATA} ${WRKSRC}/../libtk/tk.h ${PREFIX}/include/GL
+
+.include <bsd.port.mk>
diff --git a/graphics/libaux/distinfo b/graphics/libaux/distinfo
new file mode 100644
index 00000000000..04561d9e220
--- /dev/null
+++ b/graphics/libaux/distinfo
@@ -0,0 +1,2 @@
+MD5 (libaux.tar.gz) = d74b5482cb96551f7e84079b2f9fa17e
+MD5 (libtk.tar.gz) = fc206885b25d5529d3b3f582d149d189
diff --git a/graphics/libaux/files/patch-Imakefile b/graphics/libaux/files/patch-Imakefile
new file mode 100644
index 00000000000..a1aa0135c6d
--- /dev/null
+++ b/graphics/libaux/files/patch-Imakefile
@@ -0,0 +1,13 @@
+
+$FreeBSD$
+
+--- Imakefile 2001/03/14 10:33:44 1.1
++++ Imakefile 2001/03/14 10:34:01
+@@ -42,3 +42,7 @@
+ DependTarget()
+ CleanTarget()
+
++.c.o:
++ $(RM) $@
++ $(CC) -c $(CFLAGS) $(_NOOP_) $*.c -o $@
++
diff --git a/graphics/libaux/files/patch-font.c b/graphics/libaux/files/patch-font.c
new file mode 100644
index 00000000000..e8646d79ca3
--- /dev/null
+++ b/graphics/libaux/files/patch-font.c
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- font.c 2001/03/14 10:51:36 1.1
++++ font.c 2001/03/14 10:51:48
+@@ -32,7 +32,7 @@
+ void auxCreateFont(void)
+ {
+ bitmapBase = glGenLists(256);
+- if (auxCreateBitmapFont(bitmapBase) == GL_FALSE) {
++ if (tkCreateBitmapFont(bitmapBase) == GL_FALSE) {
+ auxQuit();
+ }
+ }
diff --git a/graphics/libaux/pkg-comment b/graphics/libaux/pkg-comment
new file mode 100644
index 00000000000..e7e32cc5897
--- /dev/null
+++ b/graphics/libaux/pkg-comment
@@ -0,0 +1 @@
+A Nano Window Toolkit and Auxiliary Library for OpenGL
diff --git a/graphics/libaux/pkg-descr b/graphics/libaux/pkg-descr
new file mode 100644
index 00000000000..945e537f5e1
--- /dev/null
+++ b/graphics/libaux/pkg-descr
@@ -0,0 +1,2 @@
+A Nano Window Toolkit and Auxiliary Library for OpenGL. These libraries are
+supplemental to the "OpenGL Programming Guide" book.
diff --git a/graphics/libaux/pkg-plist b/graphics/libaux/pkg-plist
new file mode 100644
index 00000000000..72bd4d88c64
--- /dev/null
+++ b/graphics/libaux/pkg-plist
@@ -0,0 +1,3 @@
+include/GL/aux.h
+include/GL/tk.h
+lib/libaux.a