aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2012-08-05 13:03:43 +0800
committermiwi <miwi@FreeBSD.org>2012-08-05 13:03:43 +0800
commitda10ae442d0eccd07defe2e45e2f4cce6ad022ee (patch)
treefb3c2cbed4c91d7afc7d1ab67ff80bbdbb4bdc3b /math
parentb0424cc2acbce58852d91662691debc8d7c3d5c6 (diff)
downloadfreebsd-ports-gnome-da10ae442d0eccd07defe2e45e2f4cce6ad022ee.tar.gz
freebsd-ports-gnome-da10ae442d0eccd07defe2e45e2f4cce6ad022ee.tar.zst
freebsd-ports-gnome-da10ae442d0eccd07defe2e45e2f4cce6ad022ee.zip
- Update to 1.4.3.20110119
PR: 170156 Submitted by: Ports Fury
Diffstat (limited to 'math')
-rw-r--r--math/tetgen/Makefile25
-rw-r--r--math/tetgen/distinfo4
-rw-r--r--math/tetgen/pkg-descr2
-rw-r--r--math/tetgen/pkg-plist5
4 files changed, 18 insertions, 18 deletions
diff --git a/math/tetgen/Makefile b/math/tetgen/Makefile
index fc0aa6f3d921..345b85ed6a69 100644
--- a/math/tetgen/Makefile
+++ b/math/tetgen/Makefile
@@ -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
diff --git a/math/tetgen/distinfo b/math/tetgen/distinfo
index 74d05cd2c385..5828b7318627 100644
--- a/math/tetgen/distinfo
+++ b/math/tetgen/distinfo
@@ -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
diff --git a/math/tetgen/pkg-descr b/math/tetgen/pkg-descr
index 725ae07113e3..91c7cbdf36ec 100644
--- a/math/tetgen/pkg-descr
+++ b/math/tetgen/pkg-descr
@@ -9,4 +9,4 @@ hull as well. The program is written in ANSI C++. It is highly portable,
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/
diff --git a/math/tetgen/pkg-plist b/math/tetgen/pkg-plist
index 205465564120..e69de29bb2d1 100644
--- a/math/tetgen/pkg-plist
+++ b/math/tetgen/pkg-plist
@@ -1,5 +0,0 @@
-bin/tetgen
-include/tetgen.h
-lib/libtet.a
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example.poly
-%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%