aboutsummaryrefslogtreecommitdiff
path: root/graphics/gts
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2004-06-09 08:39:20 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2004-06-09 08:39:20 +0000
commit0fa70818c63339d1db56ef095c4d6e8b7bdec411 (patch)
treed84f8ab3cfcea1719e71551fe7e6d53597e13471 /graphics/gts
parente93827245f1b8cf40d5be92486f48b856d705129 (diff)
downloadports-0fa70818c63339d1db56ef095c4d6e8b7bdec411.tar.gz
ports-0fa70818c63339d1db56ef095c4d6e8b7bdec411.zip
Notes
Diffstat (limited to 'graphics/gts')
-rw-r--r--graphics/gts/Makefile11
-rw-r--r--graphics/gts/distinfo4
-rw-r--r--graphics/gts/files/patch-ltmain.sh34
-rw-r--r--graphics/gts/pkg-plist69
4 files changed, 16 insertions, 102 deletions
diff --git a/graphics/gts/Makefile b/graphics/gts/Makefile
index 1045ed78a3d7..2635334e9779 100644
--- a/graphics/gts/Makefile
+++ b/graphics/gts/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= gts
-PORTVERSION= 0.7.1
+PORTVERSION= 0.7.2
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -15,23 +15,26 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= GNU Triangulated Surface Library
-USE_GNOME= glib12
+USE_GNOME= glib12 gnometarget
USE_GETOPT_LONG= yes
USE_REINPLACE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
INSTALLS_SHLIB= yes
CPPFLAGS= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
+.if !defined(NOPORTDOCS)
+PORTDOCS= *
+.endif
+
post-patch:
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
's|-release \$$(LT_RELEASE)||g'
-post-install:
.if !defined(NOPORTDOCS)
+post-install:
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/html/* ${DOCSDIR}
.endif
diff --git a/graphics/gts/distinfo b/graphics/gts/distinfo
index 645f979b7d7a..b3a5ef31b043 100644
--- a/graphics/gts/distinfo
+++ b/graphics/gts/distinfo
@@ -1,2 +1,2 @@
-MD5 (gts-0.7.1.tar.gz) = bce972e7172399385628b8e50e45be12
-SIZE (gts-0.7.1.tar.gz) = 798446
+MD5 (gts-0.7.2.tar.gz) = 2724a8ad6843b3d491d336b13e685720
+SIZE (gts-0.7.2.tar.gz) = 944499
diff --git a/graphics/gts/files/patch-ltmain.sh b/graphics/gts/files/patch-ltmain.sh
index 5e96702f11f5..27961553cad4 100644
--- a/graphics/gts/files/patch-ltmain.sh
+++ b/graphics/gts/files/patch-ltmain.sh
@@ -1,36 +1,10 @@
---- ltmain.sh.orig Wed Dec 18 17:59:18 2002
-+++ ltmain.sh Thu Apr 24 02:59:06 2003
-@@ -1043,14 +1043,14 @@
- # These systems don't actually have a C library (as such)
- test "X$arg" = "X-lc" && continue
- ;;
-- *-*-openbsd*)
-+ *-*-openbsd* | *-*-freebsd*)
- # Do not include libc due to us having libc/libc_r.
- test "X$arg" = "X-lc" && continue
- ;;
- esac
- elif test "X$arg" = "X-lc_r"; then
- case $host in
-- *-*-openbsd*)
-+ *-*-openbsd* | *-*-freebsd*)
- # Do not include libc_r directly, use -pthread flag.
- continue
- ;;
-@@ -2441,7 +2441,7 @@
- *-*-netbsd*)
- # Don't link with libc until the a.out ld.so is fixed.
- ;;
-- *-*-openbsd*)
-+ *-*-openbsd* | *-*-freebsd*)
- # Do not include libc due to us having libc/libc_r.
- ;;
- *)
-@@ -4210,10 +4210,12 @@
+--- ltmain.sh.orig Wed Jun 9 16:34:57 2004
++++ ltmain.sh Wed Jun 9 16:35:11 2004
+@@ -5457,10 +5457,12 @@
fi
# Install the pseudo-library for information purposes.
-+ if /usr/bin/false; then
++ if /usr/bin/false ; then
name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
instname="$dir/$name"i
$show "$install_prog $instname $destdir/$name"
diff --git a/graphics/gts/pkg-plist b/graphics/gts/pkg-plist
index 0f1e14767fd3..022313b829aa 100644
--- a/graphics/gts/pkg-plist
+++ b/graphics/gts/pkg-plist
@@ -1,5 +1,7 @@
bin/gts-config
+bin/gts2dxf
bin/gts2oogl
+bin/gts2stl
bin/gtscheck
bin/gtscompare
bin/gtstemplate
@@ -9,70 +11,5 @@ include/gts.h
include/gtsconfig.h
lib/libgts.a
lib/libgts.so
-lib/libgts.so.1
+lib/libgts.so.2
share/aclocal/gts.m4
-%%PORTDOCS%%share/doc/gts/book1.html
-%%PORTDOCS%%share/doc/gts/c10143.html
-%%PORTDOCS%%share/doc/gts/c10165.html
-%%PORTDOCS%%share/doc/gts/c10178.html
-%%PORTDOCS%%share/doc/gts/c10298.html
-%%PORTDOCS%%share/doc/gts/c11561.html
-%%PORTDOCS%%share/doc/gts/c12040.html
-%%PORTDOCS%%share/doc/gts/c12337.html
-%%PORTDOCS%%share/doc/gts/c12388.html
-%%PORTDOCS%%share/doc/gts/c12401.html
-%%PORTDOCS%%share/doc/gts/c12849.html
-%%PORTDOCS%%share/doc/gts/c13060.html
-%%PORTDOCS%%share/doc/gts/c13676.html
-%%PORTDOCS%%share/doc/gts/c13971.html
-%%PORTDOCS%%share/doc/gts/c14022.html
-%%PORTDOCS%%share/doc/gts/c14035.html
-%%PORTDOCS%%share/doc/gts/c14483.html
-%%PORTDOCS%%share/doc/gts/c1865.html
-%%PORTDOCS%%share/doc/gts/c1908.html
-%%PORTDOCS%%share/doc/gts/c2195.html
-%%PORTDOCS%%share/doc/gts/c2230.html
-%%PORTDOCS%%share/doc/gts/c2245.html
-%%PORTDOCS%%share/doc/gts/c4.html
-%%PORTDOCS%%share/doc/gts/c8089.html
-%%PORTDOCS%%share/doc/gts/c8393.html
-%%PORTDOCS%%share/doc/gts/c8683.html
-%%PORTDOCS%%share/doc/gts/c8718.html
-%%PORTDOCS%%share/doc/gts/c8851.html
-%%PORTDOCS%%share/doc/gts/c9511.html
-%%PORTDOCS%%share/doc/gts/c9853.html
-%%PORTDOCS%%share/doc/gts/dummy.html
-%%PORTDOCS%%share/doc/gts/gts-binary-heaps.html
-%%PORTDOCS%%share/doc/gts/gts-boolean-operations.html
-%%PORTDOCS%%share/doc/gts/gts-bounding-boxes-trees.html
-%%PORTDOCS%%share/doc/gts/gts-containee-classes.html
-%%PORTDOCS%%share/doc/gts/gts-container-classes.html
-%%PORTDOCS%%share/doc/gts/gts-delaunay-and-constrained-delaunay-triangulations.html
-%%PORTDOCS%%share/doc/gts/gts-differential-geometry-operators.html
-%%PORTDOCS%%share/doc/gts/gts-edges.html
-%%PORTDOCS%%share/doc/gts/gts-extended-binary-heaps.html
-%%PORTDOCS%%share/doc/gts/gts-faces.html
-%%PORTDOCS%%share/doc/gts/gts-first-in-first-out-heaps.html
-%%PORTDOCS%%share/doc/gts/gts-graph-class.html
-%%PORTDOCS%%share/doc/gts/gts-graph-partitioning.html
-%%PORTDOCS%%share/doc/gts/gts-hierarchical-surfaces.html
-%%PORTDOCS%%share/doc/gts/gts-hierarchical-vertex-split.html
-%%PORTDOCS%%share/doc/gts/gts-isosurfaces-from-3d-functions.html
-%%PORTDOCS%%share/doc/gts/gts-kd-trees.html
-%%PORTDOCS%%share/doc/gts/gts-miscellaneous-macros-and-functions.html
-%%PORTDOCS%%share/doc/gts/gts-object-class.html
-%%PORTDOCS%%share/doc/gts/gts-out-of-core-simplification.html
-%%PORTDOCS%%share/doc/gts/gts-points.html
-%%PORTDOCS%%share/doc/gts/gts-progressive-graph.html
-%%PORTDOCS%%share/doc/gts/gts-progressive-surfaces.html
-%%PORTDOCS%%share/doc/gts/gts-segments.html
-%%PORTDOCS%%share/doc/gts/gts-simple-statistics.html
-%%PORTDOCS%%share/doc/gts/gts-surface-simplification-and-refinement.html
-%%PORTDOCS%%share/doc/gts/gts-surfaces.html
-%%PORTDOCS%%share/doc/gts/gts-triangles.html
-%%PORTDOCS%%share/doc/gts/gts-vectors-and-matrices.html
-%%PORTDOCS%%share/doc/gts/gts-vertex-split.html
-%%PORTDOCS%%share/doc/gts/gts-vertices.html
-%%PORTDOCS%%share/doc/gts/gts-weighted-graph.html
-%%PORTDOCS%%share/doc/gts/index.sgml
-%%PORTDOCS%%@dirrm share/doc/gts