Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Mar 2006 21:59:09 GMT
From:      "Pedro F. Giffuni" <giffunip@asme.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/94247: update math/tetgen to version 1.4.0
Message-ID:  <200603082159.k28Lx9oA038329@www.freebsd.org>
Resent-Message-ID: <200603082200.k28M0EUc064775@freefall.freebsd.org>

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

>Number:         94247
>Category:       ports
>Synopsis:       update math/tetgen to version 1.4.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 08 22:00:13 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Pedro F. Giffuni
>Release:        6.0 Release (amd64)
>Organization:
>Environment:
FreeBSD etoile.cable.net.co 6.0-RELEASE FreeBSD 6.0-RELEASE #12: Sat Feb 11 13:45:47 COT 2006     root@etoile.cable.net.co:/usr/src/sys/amd64/compile/DIMENSION  amd64

>Description:
New version with performance improvements and new features. See
http://tetgen.berlios.de/relnotes.html
for further details.

The new tarball doesn't include the manual anymore but it can be downloaded from the webpage. OTOH if used as part of gmsh, this manual is not needed.

Also drop the maintainance of the port.


>How-To-Repeat:

>Fix:
diff -ruN tetgen.orig/Makefile tetgen/Makefile
--- tetgen.orig/Makefile	Wed Mar  8 16:14:53 2006
+++ tetgen/Makefile	Wed Mar  8 16:26:27 2006
@@ -6,15 +6,15 @@
 #
 
 PORTNAME=	tetgen
-PORTVERSION=	1.3.4
+PORTVERSION=	1.4.0
 CATEGORIES=	math
 MASTER_SITES=	http://www.wias-berlin.de/people/si/
 DISTNAME=	${PORTNAME}${PORTVERSION}
 
-MAINTAINER=	giffunip@asme.org
+MAINTAINER=	ports@FreeBSD.org
 COMMENT=	A Quality Tetrahedral Mesh Generator and Delaunay Triangulator
 
-NO_CDROM=	"Tetgen is for academic or personal use only"
+NO_CDROM=	Tetgen is for academic or personal use only
 
 WRKSRC=		${WRKDIR}/${PORTNAME}${PORTVERSION}
 MAKEFILE=	makefile
@@ -30,8 +30,6 @@
 	@${INSTALL_DATA} ${WRKSRC}/tetgen.h ${PREFIX}/include
 	@${INSTALL_DATA} ${WRKSRC}/libtet.a ${PREFIX}/lib
 .if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/manual.pdf ${DOCSDIR}
 	@${MKDIR} ${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/example.poly ${EXAMPLESDIR}
 .endif
diff -ruN tetgen.orig/distinfo tetgen/distinfo
--- tetgen.orig/distinfo	Wed Mar  8 16:14:53 2006
+++ tetgen/distinfo	Wed Mar  8 16:15:44 2006
@@ -1,3 +1,3 @@
-MD5 (tetgen1.3.4.tar.gz) = bdc20002e8b871304f3c2889c881c71a
-SHA256 (tetgen1.3.4.tar.gz) = 9e49464d52041241065c7d0defaede7ae8a06a13c9156f85837d652c03392245
-SIZE (tetgen1.3.4.tar.gz) = 776750
+MD5 (tetgen1.4.0.tar.gz) = d37f598dd694327e9f6bbd8d0bce952d
+SHA256 (tetgen1.4.0.tar.gz) = b64f1ee036977bd74fc9b3648f24444154d3edfeae464930473cdee5228f38e1
+SIZE (tetgen1.4.0.tar.gz) = 261901
diff -ruN tetgen.orig/files/patch-makefile tetgen/files/patch-makefile
--- tetgen.orig/files/patch-makefile	Wed Mar  8 16:14:53 2006
+++ tetgen/files/patch-makefile	Wed Mar  8 16:43:02 2006
@@ -1,6 +1,6 @@
---- makefile.orig	Mon Jan  9 11:33:37 2006
-+++ makefile	Mon Jan  9 11:35:33 2006
-@@ -6,7 +6,7 @@
+--- makefile.orig	Fri Jan 13 15:30:08 2006
++++ makefile	Wed Mar  8 16:20:59 2006
+@@ -6,12 +6,12 @@
  
  # CC should be set to the name of your favorite C++ compiler.
  
@@ -9,17 +9,18 @@
  
  # OPT is the level of optimiztion, default is -O. One should try -O2, -O3
  #   ... to find the best optimization level.
-@@ -23,11 +23,11 @@
- #   down the speed of TetGen.  They can be skipped by define the -DNDEBUG
- #   switch.
- 
--CFLAGS = 
-+CFLAGS ?= $(CXXFLAGS)  
  
- # RM should be set to the name of your favorite rm (file deletion program).
+-OPT = -g
++OPT = ${CXXFLAGS}
  
--RM = /bin/rm
-+RM ?= /bin/rm
+ # CFLAGS is a list of switches to compile TetGen.
+ #
+@@ -23,7 +23,7 @@
+ #   down the speed of TetGen.  They can be skipped by define the -DNDEBUG
+ #   switch.
  
- # The action starts here.
+-CFLAGS = -Wall -DSELF_CHECK
++CFLAGS = -DNDEBUG
  
+ #CFLAGS = -funroll-all-loops -fomit-frame-pointer\
+ #         -Wall -Wabi -Wctor-dtor-privacy \
diff -ruN tetgen.orig/pkg-plist tetgen/pkg-plist
--- tetgen.orig/pkg-plist	Wed Mar  8 16:14:53 2006
+++ tetgen/pkg-plist	Wed Mar  8 16:23:58 2006
@@ -1,7 +1,5 @@
 bin/tetgen
 include/tetgen.h
 lib/libtet.a
-%%PORTDOCS%%%%DOCSDIR%%/manual.pdf
 %%PORTDOCS%%%%EXAMPLESDIR%%/example.poly
 %%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
-%%PORTDOCS%%@dirrm %%DOCSDIR%%

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



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