Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Apr 2001 15:03:08 -0700 (PDT)
From:      tkato@prontomail.ne.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/26330: Update port: graphics/aero (fix ports/25548)
Message-ID:  <200104032203.f33M38s47507@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         26330
>Category:       ports
>Synopsis:       Update port: graphics/aero (fix ports/25548)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 03 15:10:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.2-RELEASE i386
>Organization:
>Environment:
>Description:
- Fix MASTER_SITES
- Support CC/CFLAGS properly
- Add WWW: line

This PR supersedes ports/25548.

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/graphics/aero/Makefile graphics/aero/Makefile
--- /usr/ports/graphics/aero/Makefile	Thu Aug  3 21:14:40 2000
+++ graphics/aero/Makefile	Sat Feb 24 11:18:32 2001
@@ -1,14 +1,15 @@
-# New ports collection makefile for:    aero
-# Date created:         Mon Aug 28 13:35:31 CDT 1995
-# Whom:                 erich@rrnet.com
+# New ports collection makefile for:	aero
+# Date created:		Mon Aug 28 13:35:31 CDT 1995
+# Whom:			erich@rrnet.com
 #
 # $FreeBSD: ports/graphics/aero/Makefile,v 1.18 2000/08/03 09:24:37 asami Exp $
 #
 
 PORTNAME=	aero
 PORTVERSION=	1.7.0
+PORTREVISION=	1
 CATEGORIES=	graphics
-MASTER_SITES=	ftp://ftp.ee.uwa.edu.au/users/braunl/aero/
+MASTER_SITES=	http://www.ee.uwa.edu.au/~braunl/aero/ftp/
 DISTNAME=	${PORTNAME}_${PORTVERSION}_src
 
 MAINTAINER=	ports@FreeBSD.org
@@ -16,9 +17,10 @@
 BUILD_DEPENDS=	${X11BASE}/lib/libfwf.a:${PORTSDIR}/x11-toolkits/FWF
 RUN_DEPENDS=	povray:${PORTSDIR}/graphics/povray
 
+WRKSRC=		${WRKDIR}/${PORTNAME}/src
+
 USE_X_PREFIX=	yes
 USE_XPM=	yes
-WRKSRC=		${WRKDIR}/aero/src
 MAKEFILE=	Makefile.linux
 
 .include <bsd.port.mk>
diff -urN /usr/ports/graphics/aero/files/patch-aa graphics/aero/files/patch-aa
--- /usr/ports/graphics/aero/files/patch-aa	Mon May 11 12:16:12 1998
+++ graphics/aero/files/patch-aa	Sat Feb 24 11:34:22 2001
@@ -1,5 +1,5 @@
---- Makefile.linux.orig	Fri Aug 30 19:19:25 1996
-+++ Makefile.linux	Thu Apr 16 20:30:53 1998
+--- Makefile.linux.orig	Sat Aug 31 02:19:25 1996
++++ Makefile.linux	Sat Feb 24 11:29:47 2001
 @@ -34,8 +34,8 @@
  # Set path where you want to install xaero and it's application-default
  # resource file.
@@ -11,7 +11,7 @@
  
  
  ###########################################################################
-@@ -43,17 +43,17 @@
+@@ -43,19 +43,19 @@
  # of X11 in parallel on their systems, e.g. X11R5 and X11R6. So here
  # you can choose the one you want.
  
@@ -22,17 +22,21 @@
 +XINCLUDE   = ${PREFIX}/include      
 +XLIB       = ${PREFIX}/lib 
 +FWFINCLUDE = $(XINCLUDE)
-+FWFLIB	   = $(XLIB)
++FWFLIB     = $(XLIB)
  
  
  ###########################################################################
  # Compiler and Linker definitions.
  
- CC       = gcc
+-CC       = gcc
 -COPTS    = -ansi -Wall $(OPTIMIZE) 
-+COPTS    = -ansi -Wall $(OPTIMIZE)
++CC       ?= gcc
++COPTS    = -ansi $(OPTIMIZE)
  DEBUG    = 
- OPTIMIZE = -O2 -DNODEBUG
+-OPTIMIZE = -O2 -DNODEBUG
++OPTIMIZE = -DNODEBUG
+ 
+ LD       = ld
  
 @@ -63,16 +63,16 @@
  #libraries if needed; use -L and -l syntax, e.g.
@@ -54,6 +58,15 @@
  
  
  ###########################################################################
+@@ -101,7 +101,7 @@
+ ###########################################################################
+ # compiler-options
+ 
+-CFLAGS = $(COPTS) $(DEBUG) -I$(XINCLUDE) -I$(FWFINCLUDE)
++CFLAGS += $(COPTS) $(DEBUG) -I$(XINCLUDE) -I$(FWFINCLUDE)
+ 
+ 
+ ###########################################################################
 @@ -134,7 +134,7 @@
  # The default rule for compiling .o files from .c files
  
@@ -63,27 +76,30 @@
  
  
  ###########################################################################
-@@ -158,7 +158,23 @@
+@@ -157,8 +157,24 @@
+ # to compile this application type 'make all'. For infos type 'make help'.
  
  copyFilesToDestination::
- 	$(CP) xaero $(XAEROBIN)
-+	strip $(XAEROBIN)/xaero
+-	$(CP) xaero $(XAEROBIN)
+-	$(CP) ../app-defaults/XAero $(XAEROAPPL)
++	${BSD_INSTALL_PROGRAM} xaero $(XAEROBIN)
 +	[ -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
++	${BSD_INSTALL_DATA} ../app-defaults/XAero $(XAEROAPPL)
++	${BSD_INSTALL_SCRIPT} ../scripts/povsubst $(XAEROBIN)
++	${BSD_INSTALL_SCRIPT} ../scripts/rayclear $(XAEROBIN)
++	${BSD_INSTALL_SCRIPT} ../scripts/raystart $(XAEROBIN)
++	${BSD_INSTALL_SCRIPT} ../scripts/raystat $(XAEROBIN)
 +	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
++	sed 's:__XAERO_LIB_PATH__:${PREFIX}/lib/X11/xaero:' ../scripts/raymany > ../scripts/raymany.in
++	${BSD_INSTALL_SCRIPT} ../scripts/raymany.in $(XAEROBIN)/raymany
++	${BSD_INSTALL_DATA} ../povray-include/FILELIST.povray-include ${PREFIX}/lib/X11/xaero
++	${BSD_INSTALL_DATA} ../povray-include/aeromat2.inc ${PREFIX}/lib/X11/xaero
++	${BSD_INSTALL_DATA} ../povray-include/aerop1materials.inc ${PREFIX}/lib/X11/xaero
++	${BSD_INSTALL_DATA} ../povray-include/aeropov1.inc ${PREFIX}/lib/X11/xaero
++	${BSD_INSTALL_DATA} ../povray-include/aeropov2.inc ${PREFIX}/lib/X11/xaero
 +	mkdir -p ${PREFIX}/lib/X11/xaero/examples
-+	$(CP) ../examples/* ${PREFIX}/lib/X11/xaero/examples
++	${BSD_INSTALL_DATA} ../examples/* ${PREFIX}/lib/X11/xaero/examples
  
  all:: xaero
  	strip xaero
diff -urN /usr/ports/graphics/aero/pkg-descr graphics/aero/pkg-descr
--- /usr/ports/graphics/aero/pkg-descr	Mon May 11 12:16:14 1998
+++ graphics/aero/pkg-descr	Tue Apr  3 19:50:57 2001
@@ -1,9 +1,18 @@
-+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-++                         XAERO README       				 ++
-+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+AERO is a simulation program based on rigid body systems. With the
+built-in 3D editor you can create a virtual scene consisting of
+spheres, boxes (cuboids), cylinders and plains. These objects may be
+connected with links like spring, damper, rod and joint.
 
-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.
+Now the simulation can be started and all objects obey to the laws of
+physics. That means gravitation, air resistance, friction and all
+additonal user defined forces are taken into account and set the scene
+into motion. You can watch this sequence similar to watching a video
+tape: play the scene or step back to memory positions and replay or
+you can "wind" back to the beginning or forward to the end of the
+scene.
+
+In addition AERO is capable of creating scene files for the raytracing
+program POV-Ray out of these sequences. This means you can create
+fully rendered animation sequences, e.g. MPEG videos.
+
+WWW: http://www.aero-simulation.de/

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104032203.f33M38s47507>