From nobody@FreeBSD.org  Wed Mar  8 21:59:10 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 9443616A420
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  8 Mar 2006 21:59:10 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 5A74643D6E
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  8 Mar 2006 21:59:10 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k28LxAU0038330
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 8 Mar 2006 21:59:10 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k28Lx9oA038329;
	Wed, 8 Mar 2006 21:59:09 GMT
	(envelope-from nobody)
Message-Id: <200603082159.k28Lx9oA038329@www.freebsd.org>
Date: Wed, 8 Mar 2006 21:59:09 GMT
From: "Pedro F. Giffuni" <giffunip@asme.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: update math/tetgen to version 1.4.0
X-Send-Pr-Version: www-2.3

>Number:         94247
>Category:       ports
>Synopsis:       update math/tetgen to version 1.4.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    thierry
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 08 22:00:13 GMT 2006
>Closed-Date:    Wed Mar 15 08:16:19 GMT 2006
>Last-Modified:  Wed Mar 15 08:16:19 GMT 2006
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->thierry 
Responsible-Changed-By: thierry 
Responsible-Changed-When: Sat Mar 11 17:38:16 UTC 2006 
Responsible-Changed-Why:  

Take it, since I shall upgrade gmsh. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=94247 
State-Changed-From-To: open->closed 
State-Changed-By: thierry 
State-Changed-When: Wed Mar 15 08:15:31 UTC 2006 
State-Changed-Why:  

Committed, thanks! 


http://www.freebsd.org/cgi/query-pr.cgi?pr=94247 
>Unformatted:
