summaryrefslogtreecommitdiff
path: root/graphics/qslim
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-01-06 15:22:32 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-01-06 15:22:32 +0000
commita7db35c9303854d010acb6e6ef6efab5530a227f (patch)
tree16aaa38224bf589c2522518b0e266759180c5027 /graphics/qslim
parentupgrade to 5.2.14 (diff)
add qslim 2.0
SlimKit Surface Modeling Tools
Notes
Notes: svn path=/head/; revision=52652
Diffstat (limited to 'graphics/qslim')
-rw-r--r--graphics/qslim/Makefile41
-rw-r--r--graphics/qslim/distinfo1
-rw-r--r--graphics/qslim/pkg-comment1
-rw-r--r--graphics/qslim/pkg-descr8
-rw-r--r--graphics/qslim/pkg-plist3
5 files changed, 54 insertions, 0 deletions
diff --git a/graphics/qslim/Makefile b/graphics/qslim/Makefile
new file mode 100644
index 000000000000..defd0183fb44
--- /dev/null
+++ b/graphics/qslim/Makefile
@@ -0,0 +1,41 @@
+# ex:ts=8
+# Ports collection makefile for: qslim
+# Date created: Jan 6, 2001
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= qslim
+PORTVERSION= 2.0
+CATEGORIES= graphics
+MASTER_SITES= http://graphics.cs.uiuc.edu/~garland/dist/
+
+MAINTAINER= ports@FreeBSD.org
+
+LIB_DEPENDS= xforms:${PORTSDIR}/x11-toolkits/xforms \
+ gnugetopt:${PORTSDIR}/devel/libgnugetopt \
+ tiff:${PORTSDIR}/graphics/tiff \
+ png:${PORTSDIR}/graphics/png
+
+USE_MESA= yes
+USE_XLIB= yes
+CONFIGURE_WRKSRC= ${WRKSRC}/mixkit/build
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= \
+ CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}" \
+ LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt -L${X11BASE}/lib ${PTHREAD_LIBS}"
+BUILD_WRKSRC= ${WRKSRC}/mixkit/src
+USE_GMAKE= yes
+ALL_TARGET= # empty
+
+post-build:
+ @(cd ${BUILD_WRKSRC}/../../tools/qslim ; ${GMAKE} all)
+ @(cd ${BUILD_WRKSRC}/../../tools/filters ; ${GMAKE} all)
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/mixkit/src/libmix.a ${PREFIX}/lib
+ ${INSTALL_PROGRAM} ${WRKSRC}/tools/qslim/qslim ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/tools/qslim/qvis ${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/graphics/qslim/distinfo b/graphics/qslim/distinfo
new file mode 100644
index 000000000000..3ef22d7986f6
--- /dev/null
+++ b/graphics/qslim/distinfo
@@ -0,0 +1 @@
+MD5 (qslim-2.0.tar.gz) = 0795b179309df3b890e65b07621b81ca
diff --git a/graphics/qslim/pkg-comment b/graphics/qslim/pkg-comment
new file mode 100644
index 000000000000..77362b861935
--- /dev/null
+++ b/graphics/qslim/pkg-comment
@@ -0,0 +1 @@
+SlimKit Surface Modeling Tools
diff --git a/graphics/qslim/pkg-descr b/graphics/qslim/pkg-descr
new file mode 100644
index 000000000000..9de7277e507a
--- /dev/null
+++ b/graphics/qslim/pkg-descr
@@ -0,0 +1,8 @@
+This is the SlimKit collection of surface modeling tools. Most of the
+programs in this collection simply provide an interface to the
+underlying functionality of the MixKit library.
+
+The primary component of this package is the QSlim 2.0 surface
+simplification tool.
+
+WWW: http://graphics.cs.uiuc.edu/~garland/software/qslim.html
diff --git a/graphics/qslim/pkg-plist b/graphics/qslim/pkg-plist
new file mode 100644
index 000000000000..65107304411e
--- /dev/null
+++ b/graphics/qslim/pkg-plist
@@ -0,0 +1,3 @@
+bin/qslim
+bin/qvis
+lib/libmix.a