summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2001-01-26 18:15:28 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2001-01-26 18:15:28 +0000
commitf34ca8f2d442804f92e6c62c3f59a3e045b78aeb (patch)
tree01e4238a907130e0ae04f609c6272bae4570ba14
parentARGL. Change ISPELL_NO to ISPELL_NL. (diff)
Master Site check for new version (0.8 is alpha)
Port changed to new layout. removed old references to PNG move dependency to make portlint happy. Fixed spaces. libaa was renamed to aalib added a patch to compile for 4.1, 4.2 and future 4.3 release. plist improved to clean include/qsys. cleaned plist of empty lines. PR: 20344 Submitted by: n_hibma@qubesoft.com Reviewed by: will
Notes
Notes: svn path=/head/; revision=37606
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/qdraw/Makefile48
-rw-r--r--graphics/qdraw/distinfo1
-rw-r--r--graphics/qdraw/files/patch-unix_gcc.mk21
-rw-r--r--graphics/qdraw/pkg-comment1
-rw-r--r--graphics/qdraw/pkg-descr5
-rw-r--r--graphics/qdraw/pkg-plist99
7 files changed, 176 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index a86614bcabd0..71af24851b9b 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -167,6 +167,7 @@
SUBDIR += py-ming
SUBDIR += py-opengl
SUBDIR += qcread
+ SUBDIR += qdraw
SUBDIR += qiv
SUBDIR += quickpics
SUBDIR += qvplay
diff --git a/graphics/qdraw/Makefile b/graphics/qdraw/Makefile
new file mode 100644
index 000000000000..b1cce4089b66
--- /dev/null
+++ b/graphics/qdraw/Makefile
@@ -0,0 +1,48 @@
+# New ports collection makefile for: QDraw
+# Date created: 1 Aug 2001
+# Whom: Nick Hibma <n_hibma@qubesoft.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= QDraw
+PORTVERSION= 0.7
+CATEGORIES= graphics
+MASTER_SITES= http://qdn.qubesoft.com/QDraw/download/
+DISTNAME= ${PKGNAME}
+
+MAINTAINER= n_hibma@FreeBSD.org
+
+LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg \
+ GL:${PORTSDIR}/graphics/Mesa3
+.if defined(AALIB)
+LIB_DEPENDS+= aa:${PORTSDIR}/graphics/aalib
+.endif
+
+INSTALLS_SHLIB= yes
+USE_GMAKE= yes
+ONLY_FOR_ARCHS= i386
+# GCC 2.95 or later
+USE_NEWGCC= yes
+
+MAKEFILE= makefile
+
+# The all target is 'install' not 'all', due to the layering of
+# libraries (which have to be installed in a final dir before
+# layers above that can be built.
+ALL_TARGET= includes install
+
+# The install target is 'install' with a different prefix.
+INSTALL_TARGET= PREFIX=${PREFIX} SAMPLESDIR=share/examples/qdraw install
+
+# We are not using a standard ./configure script but a handwritten one.
+do-configure:
+ cd ${WRKSRC} && ./configure --defaults
+
+.if !defined(AALIB)
+pre-configure:
+ @echo "You can link against libaa (ASCII art OpenGL renderer) by"
+ @echo "adding 'AALIB=1' to the make command line."
+.endif
+
+.include <bsd.port.mk>
diff --git a/graphics/qdraw/distinfo b/graphics/qdraw/distinfo
new file mode 100644
index 000000000000..b43523d78d2d
--- /dev/null
+++ b/graphics/qdraw/distinfo
@@ -0,0 +1 @@
+MD5 (QDraw-0.7.tar.gz) = e9fe51a83dc1daf21e80c0dc86200cc5
diff --git a/graphics/qdraw/files/patch-unix_gcc.mk b/graphics/qdraw/files/patch-unix_gcc.mk
new file mode 100644
index 000000000000..2214eaceef1f
--- /dev/null
+++ b/graphics/qdraw/files/patch-unix_gcc.mk
@@ -0,0 +1,21 @@
+--- make/unix_gcc.mk.orig Fri Jul 28 20:54:11 2000
++++ make/unix_gcc.mk Fri Jan 26 07:05:06 2001
+@@ -34,12 +34,18 @@
+ GCCPATH= /usr
+ GCC= cc
+ ifneq "${freebsd}" "40"
++ifneq "${freebsd}" "41"
++ifneq "${freebsd}" "42"
++ifneq "${freebsd}" "43"
+ ifneq "${freebsd}" "50"
+ GCCBASE= /usr/local
+ GCCTARGET= i386-unknown-freebsd3.0
+ GCCVER= egcs-2.91.62
+ GCCPATH= ${GCCBASE}/lib/gcc-lib/${GCCTARGET}/${GCCVER}
+ GCC= egcc
++endif
++endif
++endif
+ endif
+ endif
+ endif
diff --git a/graphics/qdraw/pkg-comment b/graphics/qdraw/pkg-comment
new file mode 100644
index 000000000000..b60afc03e4f4
--- /dev/null
+++ b/graphics/qdraw/pkg-comment
@@ -0,0 +1 @@
+Library for hardware accelerated 3D graphics
diff --git a/graphics/qdraw/pkg-descr b/graphics/qdraw/pkg-descr
new file mode 100644
index 000000000000..6b91dc61862e
--- /dev/null
+++ b/graphics/qdraw/pkg-descr
@@ -0,0 +1,5 @@
+The QDraw 3D library provides platform independent hardware accelerated
+3D graphics through a well defined API. It runs on Linux, FreeBSD,
+Windows 98, Windows 2000, and on PlayStation 2.
+
+WWW: http://www.qubesoft.com
diff --git a/graphics/qdraw/pkg-plist b/graphics/qdraw/pkg-plist
new file mode 100644
index 000000000000..6397976baa36
--- /dev/null
+++ b/graphics/qdraw/pkg-plist
@@ -0,0 +1,99 @@
+bin/triangle
+bin/tetra
+bin/varray
+bin/parray
+bin/ripples
+bin/water
+bin/sky.bmp
+bin/primitive
+bin/diff.bmp
+bin/spec.bmp
+bin/spot
+bin/skin
+bin/windowed
+bin/teapot
+bin/utahteapot.txt
+bin/teapot.bmp
+bin/teapot2.bmp
+bin/teapot3.bmp
+lib/libqmaths.so
+lib/libqutils.so
+lib/libqimage.so
+lib/libqsys.so
+lib/libQMemoryUnix.so
+lib/libqdevices.so
+lib/libQOSX11.so
+lib/libQDisplayNull.so
+lib/libQDisplayOpenGL.so
+lib/libQInputNull.so
+lib/libQInputRaw.so
+lib/libqdraw.so
+lib/libpatch.so
+include/linkage.h
+include/maths.h
+include/box2.h
+include/box3.h
+include/color4b.h
+include/matrix3.h
+include/matrix4.h
+include/mout.h
+include/plane4.h
+include/quat4.h
+include/ray.h
+include/vec2.h
+include/vec3.h
+include/vec4.h
+include/affine4.h
+include/sphere3.h
+include/cylinder3.h
+include/qsys/qtdir.h
+include/utils.h
+include/atree.h
+include/vector.h
+include/qarc.h
+include/wtree.h
+include/xdecl.h
+include/image.h
+include/qsys.h
+include/draw.h
+include/draw_os.h
+include/event.h
+include/keysym.h
+include/keysymdef.h
+include/patch.h
+@dirrm include/qsys
+share/examples/qdraw/triangle/triangle.cpp
+share/examples/qdraw/tetra/tetra.cpp
+share/examples/qdraw/varray/varray.cpp
+share/examples/qdraw/parray/parray.cpp
+share/examples/qdraw/ripples/ripples.cpp
+share/examples/qdraw/water/water.cpp
+share/examples/qdraw/primitive/primitive.cpp
+share/examples/qdraw/primitive/primbuilder.cpp
+share/examples/qdraw/primitive/primgen.cpp
+share/examples/qdraw/primitive/texmap.cpp
+share/examples/qdraw/spot/spot.cpp
+share/examples/qdraw/skin/skin.cpp
+share/examples/qdraw/skin/primbuilder.cpp
+share/examples/qdraw/skin/primgen.cpp
+share/examples/qdraw/skin/texmap.cpp
+share/examples/qdraw/windowed/windowed.cpp
+share/examples/qdraw/windowed/windowed_x11.cpp
+share/examples/qdraw/windowed/XtQ.c
+share/examples/qdraw/windowed/XtQ.h
+share/examples/qdraw/windowed/XtQP.h
+share/examples/qdraw/teapot/teapot.cpp
+share/examples/qdraw/teapot/genteapot.cpp
+share/examples/qdraw/teapot/utahteapot.txt
+@dirrm share/examples/qdraw/parray
+@dirrm share/examples/qdraw/primitive
+@dirrm share/examples/qdraw/ripples
+@dirrm share/examples/qdraw/skin
+@dirrm share/examples/qdraw/spot
+@dirrm share/examples/qdraw/teapot
+@dirrm share/examples/qdraw/tetra
+@dirrm share/examples/qdraw/triangle
+@dirrm share/examples/qdraw/varray
+@dirrm share/examples/qdraw/water
+@dirrm share/examples/qdraw/windowed
+@dirrm share/examples/qdraw