Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Aug 2012 05:03:43 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r302057 - head/math/tetgen
Message-ID:  <201208050503.q7553hp8038452@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Sun Aug  5 05:03:43 2012
New Revision: 302057
URL: http://svn.freebsd.org/changeset/ports/302057

Log:
  - Update to 1.4.3.20110119
  
  PR:		170156
  Submitted by:	Ports Fury

Modified:
  head/math/tetgen/Makefile
  head/math/tetgen/distinfo
  head/math/tetgen/pkg-descr
  head/math/tetgen/pkg-plist

Modified: head/math/tetgen/Makefile
==============================================================================
--- head/math/tetgen/Makefile	Sun Aug  5 05:03:39 2012	(r302056)
+++ head/math/tetgen/Makefile	Sun Aug  5 05:03:43 2012	(r302057)
@@ -6,11 +6,11 @@
 #
 
 PORTNAME=	tetgen
-PORTVERSION=	1.4.3
+PORTVERSION=	1.4.3.20110119
 CATEGORIES=	math
-MASTER_SITES=	http://tetgen.berlios.de/files/ \
-		http://www.c-s.li/ports/
-DISTNAME=	${PORTNAME}${PORTVERSION}
+MASTER_SITES=	http://wias-berlin.de/software/tetgen/files/
+DISTNAME=	${PORTNAME}${PORTVERSION:R}
+DIST_SUBDIR=	${PORTNAME}
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	A Quality Tetrahedral Mesh Generator and Delaunay Triangulator
@@ -19,17 +19,22 @@ LICENSE_FILE=	${WRKDIR}/LICENSE
 
 NO_CDROM=	Tetgen is for academic or personal use only
 
-MAKE_JOBS_SAFE=	YES
+OPTIONS_DEFINE=	EXAMPLES
 
-WRKSRC=		${WRKDIR}/${PORTNAME}${PORTVERSION}
 MAKEFILE=	makefile
 ALL_TARGET=	tetgen tetlib
+MAKE_JOBS_SAFE=	yes
+
+PORTEXAMPLES=	example.poly
+PLIST_FILES=	bin/tetgen include/tetgen.h lib/libtet.a
+
+.include <bsd.port.options.mk>
 
 do-install:
-	@${INSTALL_PROGRAM} ${WRKSRC}/tetgen ${PREFIX}/bin
-	@${INSTALL_DATA} ${WRKSRC}/tetgen.h ${PREFIX}/include
-	@${INSTALL_DATA} ${WRKSRC}/libtet.a ${PREFIX}/lib
-.if !defined(NOPORTEXAMPLES)
+	${INSTALL_PROGRAM} ${WRKSRC}/tetgen ${PREFIX}/bin
+	${INSTALL_DATA} ${WRKSRC}/tetgen.h ${PREFIX}/include
+	${INSTALL_DATA} ${WRKSRC}/libtet.a ${PREFIX}/lib
+.if ${PORT_OPTIONS:MEXAMPLES}
 	@${MKDIR} ${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/example.poly ${EXAMPLESDIR}
 .endif

Modified: head/math/tetgen/distinfo
==============================================================================
--- head/math/tetgen/distinfo	Sun Aug  5 05:03:39 2012	(r302056)
+++ head/math/tetgen/distinfo	Sun Aug  5 05:03:43 2012	(r302057)
@@ -1,2 +1,2 @@
-SHA256 (tetgen1.4.3.tar.gz) = 9e0ff248c506e5992d7e5ea7b0a740ec53ec4857877ce6175a4b9d2fdb063195
-SIZE (tetgen1.4.3.tar.gz) = 293157
+SHA256 (tetgen/tetgen1.4.3.tar.gz) = 952711bb06b7f64fd855eb24c33f08e3faf40bdd54764de10bbe5ed5b0dce034
+SIZE (tetgen/tetgen1.4.3.tar.gz) = 298600

Modified: head/math/tetgen/pkg-descr
==============================================================================
--- head/math/tetgen/pkg-descr	Sun Aug  5 05:03:39 2012	(r302056)
+++ head/math/tetgen/pkg-descr	Sun Aug  5 05:03:43 2012	(r302057)
@@ -9,4 +9,4 @@ hull as well. The program is written in 
 it should be very easy to compile and run on all major computer systems. 
 It can be also used as a library embedded into other applications.
 
-WWW:  http://tetgen.berlios.de/
+WWW:  http://tetgen.org/

Modified: head/math/tetgen/pkg-plist
==============================================================================
--- head/math/tetgen/pkg-plist	Sun Aug  5 05:03:39 2012	(r302056)
+++ head/math/tetgen/pkg-plist	Sun Aug  5 05:03:43 2012	(r302057)
@@ -1,5 +0,0 @@
-bin/tetgen
-include/tetgen.h
-lib/libtet.a
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example.poly
-%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%



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