aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1995-02-19 18:34:09 +0800
committerjkh <jkh@FreeBSD.org>1995-02-19 18:34:09 +0800
commit6c680ee6e8583af0794f7009305f4ac4f34d4e01 (patch)
tree3c042159b45f5f2e25941149bb50661bf9da5579 /graphics
parent93ab154ffc17c8e2091b390f47cdf74f8503a9bd (diff)
downloadfreebsd-ports-gnome-6c680ee6e8583af0794f7009305f4ac4f34d4e01.tar.gz
freebsd-ports-gnome-6c680ee6e8583af0794f7009305f4ac4f34d4e01.tar.zst
freebsd-ports-gnome-6c680ee6e8583af0794f7009305f4ac4f34d4e01.zip
The Dore' graphics toolkit. This thing is a monster, but the examples
are pretty impressive. This needs a lot more polishing to really do it justice, but this will at least give you the libraries, headers and an example to look at.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/dore/Makefile20
-rw-r--r--graphics/dore/distinfo1
-rw-r--r--graphics/dore/files/patch-aa19
-rw-r--r--graphics/dore/files/patch-ab19
-rw-r--r--graphics/dore/files/patch-ac19
-rw-r--r--graphics/dore/files/patch-ad148
-rw-r--r--graphics/dore/pkg-comment1
-rw-r--r--graphics/dore/pkg-descr13
-rw-r--r--graphics/dore/pkg-plist5
9 files changed, 245 insertions, 0 deletions
diff --git a/graphics/dore/Makefile b/graphics/dore/Makefile
new file mode 100644
index 000000000000..6ac6329cabc8
--- /dev/null
+++ b/graphics/dore/Makefile
@@ -0,0 +1,20 @@
+# New ports collection makefile for: dore
+# Version required: 6.0
+# Date created: 10 February 1995
+# Whom: jkh
+#
+# $Id: Makefile,v 1.1.1.1 1994/11/20 16:00:09 torstenb Exp $
+#
+
+DISTNAME= pdore-6.0
+MASTER_SITES= ftp://freefall.cdrom.com/pub/FreeBSD/LOCAL_PORTS/
+USE_GMAKE= yes
+PREFIX= ${X11BASE}
+EXTRACT_SUFX= .tar.Z
+WRKDIR= ${.CURDIR}/work/dore
+MAKEFILE= mk.stdx
+MAKE_FLAGS= DORE_LOC=${WRKDIR}/.. CFLAGS=-O2 MAKEFLAGS=m -f
+ALL_TARGET=
+NO_WRKSUBDIR= yes
+
+.include <bsd.port.mk>
diff --git a/graphics/dore/distinfo b/graphics/dore/distinfo
new file mode 100644
index 000000000000..1efc97eecbb5
--- /dev/null
+++ b/graphics/dore/distinfo
@@ -0,0 +1 @@
+MD5 (pdore-6.0.tar.Z) = 9264e339206e835b2939729700c2156d
diff --git a/graphics/dore/files/patch-aa b/graphics/dore/files/patch-aa
new file mode 100644
index 000000000000..91aa01e1c468
--- /dev/null
+++ b/graphics/dore/files/patch-aa
@@ -0,0 +1,19 @@
+*** src/device_config/stdx11/makefile.bak Sun Feb 12 21:06:59 1995
+--- src/device_config/stdx11/makefile Sun Feb 12 21:07:20 1995
+***************
+*** 15,21 ****
+ # EXPRESS OR IMPLIED.
+
+ SHELL = /bin/sh
+! CCCOM = $(CC) $(CFLAGS) -DERRCHK -I${DORE_LOC}/dore/include -I${ROOT}/usr/include
+ LDCOM = $(LD) $(LDFLAGS)
+ ARCOM = $(AR) $(ARFLAGS)
+ SRC_PATH = $(DORE_LOC)/dore/src/device_config/stdx11
+--- 15,21 ----
+ # EXPRESS OR IMPLIED.
+
+ SHELL = /bin/sh
+! CCCOM = $(CC) $(CFLAGS) -DERRCHK -I${ROOT}/usr/local/X11 -I${DORE_LOC}/dore/include -I${ROOT}/usr/include
+ LDCOM = $(LD) $(LDFLAGS)
+ ARCOM = $(AR) $(ARFLAGS)
+ SRC_PATH = $(DORE_LOC)/dore/src/device_config/stdx11
diff --git a/graphics/dore/files/patch-ab b/graphics/dore/files/patch-ab
new file mode 100644
index 000000000000..0f3abf7e6303
--- /dev/null
+++ b/graphics/dore/files/patch-ab
@@ -0,0 +1,19 @@
+*** src/device_config/stdx11/prom/makefile.bak Sun Feb 12 22:17:28 1995
+--- src/device_config/stdx11/prom/makefile Sun Feb 12 22:17:47 1995
+***************
+*** 15,21 ****
+ # EXPRESS OR IMPLIED.
+
+ SHELL = /bin/sh
+! CCCOM = $(CC) $(CFLAGS) -DERRCHK -I${DORE_LOC}/dore/include -I${ROOT}/usr/include
+ LDCOM = $(LD) $(LDFLAGS)
+ ARCOM = $(AR) $(ARFLAGS)
+ SRC_PATH = $(DORE_LOC)/dore/src/device_config/stdx11/prom
+--- 15,21 ----
+ # EXPRESS OR IMPLIED.
+
+ SHELL = /bin/sh
+! CCCOM = $(CC) $(CFLAGS) -DERRCHK -I${DORE_LOC}/dore/include -I/usr/local/X11 -I${ROOT}/usr/include
+ LDCOM = $(LD) $(LDFLAGS)
+ ARCOM = $(AR) $(ARFLAGS)
+ SRC_PATH = $(DORE_LOC)/dore/src/device_config/stdx11/prom
diff --git a/graphics/dore/files/patch-ac b/graphics/dore/files/patch-ac
new file mode 100644
index 000000000000..73928dfa9063
--- /dev/null
+++ b/graphics/dore/files/patch-ac
@@ -0,0 +1,19 @@
+*** src/device_config/stdx11/dcm/makefile.orig Mon Feb 13 00:14:44 1995
+--- src/device_config/stdx11/dcm/makefile Mon Feb 13 00:14:53 1995
+***************
+*** 15,21 ****
+ # EXPRESS OR IMPLIED.
+
+ SHELL = /bin/sh
+! CCCOM = $(CC) $(CFLAGS) -DERRCHK -DXLIB_ILLEGAL_ACCESS -I${DORE_LOC}/dore/include -I${ROOT}/usr/local/X11/include -I${ROOT}/usr/include
+ LDCOM = $(LD) $(LDFLAGS)
+ ARCOM = $(AR) $(ARFLAGS)
+ SRC_PATH = $(DORE_LOC)/dore/src/device_config/stdx11/dcm
+--- 15,21 ----
+ # EXPRESS OR IMPLIED.
+
+ SHELL = /bin/sh
+! CCCOM = $(CC) $(CFLAGS) -DERRCHK -DXLIB_ILLEGAL_ACCESS -I${DORE_LOC}/dore/include -I${ROOT}/usr/local/X11 -I${ROOT}/usr/include
+ LDCOM = $(LD) $(LDFLAGS)
+ ARCOM = $(AR) $(ARFLAGS)
+ SRC_PATH = $(DORE_LOC)/dore/src/device_config/stdx11/dcm
diff --git a/graphics/dore/files/patch-ad b/graphics/dore/files/patch-ad
new file mode 100644
index 000000000000..fd0f82d6e8b7
--- /dev/null
+++ b/graphics/dore/files/patch-ad
@@ -0,0 +1,148 @@
+*** mk.stdx.orig Thu Jan 12 14:14:12 1995
+--- mk.stdx Sat Feb 18 20:07:09 1995
+***************
+*** 24,33 ****
+ #
+
+ # DORE_LOC is the full pathname of directory containing the dore directory
+! DORE_LOC=
+
+ # DORE_OBJTYPE is the machine object type
+! DORE_OBJTYPE=
+
+ # DORE_LIB_NAME specifies the name of the library to be created
+ DORE_LIB_NAME=libdore.a
+--- 24,33 ----
+ #
+
+ # DORE_LOC is the full pathname of directory containing the dore directory
+! DORE_LOC= ${PREFIX}/lib
+
+ # DORE_OBJTYPE is the machine object type
+! DORE_OBJTYPE= i386
+
+ # DORE_LIB_NAME specifies the name of the library to be created
+ DORE_LIB_NAME=libdore.a
+***************
+*** 38,51 ****
+
+ # Link options when combining .o's
+ LD=ld
+! LDFLAGS=-r -s
+
+ # Archive options
+ AR=ar
+! ARFLAGS=q
+
+ # DORE_LIBTOC specifies how to create a table of contents for a library
+! DORE_LIBTOC=ar ts
+
+ # Name of system module from doresys_config to be included in build
+ DORE_SYSTEM=stdx
+--- 38,51 ----
+
+ # Link options when combining .o's
+ LD=ld
+! LDFLAGS=-r
+
+ # Archive options
+ AR=ar
+! ARFLAGS=qc
+
+ # DORE_LIBTOC specifies how to create a table of contents for a library
+! DORE_LIBTOC=ranlib
+
+ # Name of system module from doresys_config to be included in build
+ DORE_SYSTEM=stdx
+***************
+*** 70,86 ****
+ DORE_FONTTYPE=default_type
+
+ # Install directory for fonts and error message file used by Dore
+! DORE_DATADIR=/usr/dore/data
+
+ #
+ # Installing Dore
+ #
+
+ # Install directory for Dore library
+! DORE_LIBDIR=/usr/lib
+
+ # Install directory for user include files
+! DORE_INCDIR=/usr/include
+
+ ######################################################################
+ SHELL=/bin/sh
+--- 70,86 ----
+ DORE_FONTTYPE=default_type
+
+ # Install directory for fonts and error message file used by Dore
+! DORE_DATADIR=${PREFIX}/lib/dore/data
+
+ #
+ # Installing Dore
+ #
+
+ # Install directory for Dore library
+! DORE_LIBDIR=${PREFIX}/lib
+
+ # Install directory for user include files
+! DORE_INCDIR=${PREFIX}/include
+
+ ######################################################################
+ SHELL=/bin/sh
+***************
+*** 90,96 ****
+
+ # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
+
+! dore: compile library
+
+ # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
+
+--- 90,103 ----
+
+ # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
+
+! all: dore
+!
+! dore: pre-make compile library data prep-for-examples
+!
+! pre-make:
+! mkdir -p ${DORE_DATADIR}
+! mkdir -p ${DORE_LIBDIR}
+! mkdir -p ${DORE_INCDIR}
+
+ # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
+
+***************
+*** 170,175 ****
+--- 177,184 ----
+
+ # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
+
++ install: install_dore install_data install_example
++
+ install_dore: check_doreloc
+ @ echo "Installing Dore' library and include files..."
+ @ if [ -n "$(DORE_LIBDIR)" ]; then \
+***************
+*** 331,336 ****
+--- 340,356 ----
+
+
+ # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
++
++ prep-for-examples:
++ @( cd examples/generic; ${MAKE} )
++ @( cd examples/util; ${MAKE} )
++ @( cd examples/programs/simple; ${MAKE} )
++
++ install_example:
++ @install -c -m 755 -s examples/programs/simple/render ${PREFIX}/bin/dore_example
++ @echo "Ok, look at ${PREFIX}/bin/dore_example for an example of"
++ @echo "Dore in action. You may also wish to look in the work/dore/examples"
++ @echo "directory for more dore examples."
+
+ FORCE_IT:
+
diff --git a/graphics/dore/pkg-comment b/graphics/dore/pkg-comment
new file mode 100644
index 000000000000..946a31f0db67
--- /dev/null
+++ b/graphics/dore/pkg-comment
@@ -0,0 +1 @@
+Dore - The Dynamic Object Rendering Environment
diff --git a/graphics/dore/pkg-descr b/graphics/dore/pkg-descr
new file mode 100644
index 000000000000..fe484fa80e25
--- /dev/null
+++ b/graphics/dore/pkg-descr
@@ -0,0 +1,13 @@
+Dore is a powerful three-dimensional graphics library that includes such
+features as:
+
+ - a choice of rendering styles, from dynamic to photorealistic
+ - advanced graphics features including shadows, transparency
+ and reflections
+ - ease of use
+ - extendability
+ - portability, platform independence
+ - X11 Window support
+
+See the Docs subdirectory of the unpacked port (make extract; cd work) for
+more information.
diff --git a/graphics/dore/pkg-plist b/graphics/dore/pkg-plist
new file mode 100644
index 000000000000..c0f9ed087f7c
--- /dev/null
+++ b/graphics/dore/pkg-plist
@@ -0,0 +1,5 @@
+lib/libdore.a
+lib/dore
+bin/dore_example
+include/dore.h
+include/dore_develop