summaryrefslogtreecommitdiff
path: root/graphics/aero
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1995-08-28 14:50:52 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1995-08-28 14:50:52 +0000
commit7d81ddcf68ba6058a644dcda68f4bc6df0eb51dc (patch)
tree07d842288b673f844394b81b730f8896189301c8 /graphics/aero
parentAdd apache to SUBDIRS (diff)
A povray modeller. I tweaked the original to also install the examples
since nobody reads man pages anymore. Submitted by: "Eric L. Hernes" <erich@lodgenet.com>
Notes
Notes: svn path=/head/; revision=2125
Diffstat (limited to 'graphics/aero')
-rw-r--r--graphics/aero/Makefile22
-rw-r--r--graphics/aero/distinfo1
-rw-r--r--graphics/aero/files/patch-aa102
-rw-r--r--graphics/aero/pkg-comment1
-rw-r--r--graphics/aero/pkg-descr10
-rw-r--r--graphics/aero/pkg-plist28
6 files changed, 164 insertions, 0 deletions
diff --git a/graphics/aero/Makefile b/graphics/aero/Makefile
new file mode 100644
index 000000000000..fd74e6073c7a
--- /dev/null
+++ b/graphics/aero/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: aero
+# Version required: 1.5.2
+# Date created: Mon Aug 28 13:35:31 CDT 1995
+# Whom: erich@rrnet.com
+#
+# $Id$
+#
+
+DISTNAME= aero_1.5.2_src
+PKGNAME= aero-1.5.2
+CATEGORIES+= x11
+CATEGORIES+= graphics
+MASTER_SITES= ftp://ftp.povray.org/pub/povray/modellers/aero/
+USE_X11= yes
+WRKSRC= work/aero/src
+
+LIB_DEPENDS= fwf:${PORTSDIR}/x11/FWF \
+ Xpm:${PORTSDIR}/graphics/xpm
+
+EXEC_DEPENDS= povray:${PORTSDIR}/graphics/povray
+
+.include <bsd.port.mk>
diff --git a/graphics/aero/distinfo b/graphics/aero/distinfo
new file mode 100644
index 000000000000..cc8262854ddd
--- /dev/null
+++ b/graphics/aero/distinfo
@@ -0,0 +1 @@
+MD5 (aero_1.5.2_src.tar.gz) = c041d6132474b1aea098825e8994172a
diff --git a/graphics/aero/files/patch-aa b/graphics/aero/files/patch-aa
new file mode 100644
index 000000000000..73f80cc51524
--- /dev/null
+++ b/graphics/aero/files/patch-aa
@@ -0,0 +1,102 @@
+*** Makefile.orig Fri Nov 4 06:06:34 1994
+--- Makefile Mon Aug 28 07:34:47 1995
+***************
+*** 21,28 ****
+ # Set path where you want to install xaero and it's application-default
+ # file.
+
+! XAEROBIN = /usr/local/X11R5/bin # or local: $HOME/bin
+! XAEROAPPL = /usr/local/X11R5/lib/app-defaults # or local: $HOME/app-defaults
+
+
+ ###########################################################################
+--- 21,28 ----
+ # Set path where you want to install xaero and it's application-default
+ # file.
+
+! XAEROBIN = ${PREFIX}/bin # or local: $HOME/bin
+! XAEROAPPL = ${PREFIX}/lib/X11/app-defaults # or local: $HOME/app-defaults
+
+
+ ###########################################################################
+***************
+*** 39,55 ****
+ #
+ RM = rm -f
+ ECHO = echo
+! CP = cp -i
+
+
+ ###########################################################################
+ # Path-definitons for X11R5 and FWF
+
+! XINCLUDE = /usr/local/X11R5/include
+! XLIB = /usr/local/X11R5/lib
+! FWFINCLUDE = ../../FWF/FWF/include
+! FWFLIB = ../../FWF/FWF/lib.$(HOSTTYPE)
+! XPMLIB = ../../FWF/xpm-3.4a/lib.$(HOSTTYPE)
+
+
+ ###########################################################################
+--- 39,55 ----
+ #
+ RM = rm -f
+ ECHO = echo
+! CP = cp
+
+
+ ###########################################################################
+ # Path-definitons for X11R5 and FWF
+
+! XINCLUDE = /usr/X11R6/include
+! XLIB = /usr/X11R6/lib
+! FWFINCLUDE = . #../../FWF/FWF/include
+! FWFLIB = -lfwf # ../../FWF/FWF/lib.$(HOSTTYPE)
+! XPMLIB = -lXpm #../../FWF/xpm-3.4a/lib.$(HOSTTYPE)
+
+
+ ###########################################################################
+***************
+*** 92,99 ****
+ xaero: $(EDITOROBJS) $(ANZEIGEOBJS) $(FSBLIBNAME)
+ $(CC) $(STATIC) $(DEBUG) -o xaero $(EDITOROBJS) $(ANZEIGEOBJS) \
+ -L. -L$(FWFLIB) -L$(XPMLIB) -L$(XLIB) \
+! -lfwf -lXaw -lXmu -lXt -lXext -lXpm -lX11 -l$(FSBLIB) -lm
+!
+
+ ###########################################################################
+ # example files generation (optional)
+--- 92,98 ----
+ xaero: $(EDITOROBJS) $(ANZEIGEOBJS) $(FSBLIBNAME)
+ $(CC) $(STATIC) $(DEBUG) -o xaero $(EDITOROBJS) $(ANZEIGEOBJS) \
+ -L. -L$(FWFLIB) -L$(XPMLIB) -L$(XLIB) \
+! -lfwf -lXaw -lXmu -lXt -lXext -lXpm -lX11 -l$(FSBLIB) -lSM -lICE -lm
+
+ ###########################################################################
+ # example files generation (optional)
+***************
+*** 118,124 ****
+--- 117,139 ----
+
+ copyFilesToDestination::
+ $(CP) xaero $(XAEROBIN)
++ strip $(XAEROBIN)/xaero
++ [ -d $(XAEROAPPL) ] || mkdir -p $(XAEROAPPL)
++ [ -d ${PREFIX}/lib/X11/xaero ] || mkdir -p ${PREFIX}/lib/X11/xaero
+ $(CP) ../app-defaults/XAero $(XAEROAPPL)
++ $(CP) ../scripts/povsubst $(XAEROBIN)
++ $(CP) ../scripts/rayclear $(XAEROBIN)
++ $(CP) ../scripts/raystart $(XAEROBIN)
++ $(CP) ../scripts/raystat $(XAEROBIN)
++ sed 's:__XAERO_LIB_PATH__:${PREFIX}/lib/X11/xaero:' ../scripts/raymany >$(XAEROBIN)/raymany
++ chmod +x $(XAEROBIN)/raymany
++ $(CP) ../povray-include/FILELIST.povray-include ${PREFIX}/lib/X11/xaero
++ $(CP) ../povray-include/aeromat2.inc ${PREFIX}/lib/X11/xaero
++ $(CP) ../povray-include/aerop1materials.inc ${PREFIX}/lib/X11/xaero
++ $(CP) ../povray-include/aeropov1.inc ${PREFIX}/lib/X11/xaero
++ $(CP) ../povray-include/aeropov2.inc ${PREFIX}/lib/X11/xaero
++ mkdir -p ${PREFIX}/lib/X11/xaero/examples
++ $(CP) ../examples/* ${PREFIX}/lib/X11/xaero/examples
+
+ all::
+ @make help
diff --git a/graphics/aero/pkg-comment b/graphics/aero/pkg-comment
new file mode 100644
index 000000000000..9d668440fc36
--- /dev/null
+++ b/graphics/aero/pkg-comment
@@ -0,0 +1 @@
+aero 1.5.2 -- is an X11 based modeler for povray
diff --git a/graphics/aero/pkg-descr b/graphics/aero/pkg-descr
new file mode 100644
index 000000000000..6843351f17cc
--- /dev/null
+++ b/graphics/aero/pkg-descr
@@ -0,0 +1,10 @@
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++ XAERO README ++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+
+To render the written raytracer files, POVRAY1.0 or newer should be
+used. The included script files for automatic generation of readable
+picture files out of the raytracer files need the "tgatoppm" command
+out of the PBM+ distribution. A special text file called
+README.raytracer explains how to use AERO's raytracing feature.
+
diff --git a/graphics/aero/pkg-plist b/graphics/aero/pkg-plist
new file mode 100644
index 000000000000..0669bc6d49aa
--- /dev/null
+++ b/graphics/aero/pkg-plist
@@ -0,0 +1,28 @@
+bin/xaero
+bin/povsubst
+bin/rayclear
+bin/raymany
+bin/raystart
+bin/raystat
+lib/X11/app-defaults/XAero
+lib/X11/xaero/aeromat2.inc
+lib/X11/xaero/aerop1materials.inc
+lib/X11/xaero/aeropov1.inc
+lib/X11/xaero/aeropov2.inc
+lib/X11/xaero/examples/Cargo2.world
+lib/X11/xaero/examples/Cargo3.world
+lib/X11/xaero/examples/Kartenhaus.world
+lib/X11/xaero/examples/Karusell.world
+lib/X11/xaero/examples/Schaukel.world
+lib/X11/xaero/examples/can-toss.world
+lib/X11/xaero/examples/car.world
+lib/X11/xaero/examples/chain-1.world
+lib/X11/xaero/examples/chain-2.world
+lib/X11/xaero/examples/chain-3.world
+lib/X11/xaero/examples/cylnew.world
+lib/X11/xaero/examples/house.world
+lib/X11/xaero/examples/leaning-tower.world
+lib/X11/xaero/examples/man.world
+lib/X11/xaero/examples/materials.world
+lib/X11/xaero/examples/pendulum-5.world
+lib/X11/xaero/examples/swing.world