diff --git a/graphics/Makefile b/graphics/Makefile index 046e06ccc085..a52e84d28e9f 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -250,6 +250,7 @@ SUBDIR += qdraw SUBDIR += qglviewer SUBDIR += qiv + SUBDIR += qslim SUBDIR += quickpics SUBDIR += qvplay SUBDIR += ray++ 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 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