summaryrefslogtreecommitdiff
path: root/graphics/libqglviewer/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/libqglviewer/Makefile')
-rw-r--r--graphics/libqglviewer/Makefile41
1 files changed, 41 insertions, 0 deletions
diff --git a/graphics/libqglviewer/Makefile b/graphics/libqglviewer/Makefile
new file mode 100644
index 000000000000..be9e2e939b9d
--- /dev/null
+++ b/graphics/libqglviewer/Makefile
@@ -0,0 +1,41 @@
+# ex:ts=8
+# Ports collection makefile for: libQGLViewer
+# Date created: Jun 8, 2004
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= libqglviewer
+PORTVERSION= 1.3.7
+CATEGORIES= graphics
+MASTER_SITES= http://artis.imag.fr/Members/Gilles.Debunne/QGLViewer/src/
+DISTNAME= libQGLViewer-${PORTVERSION}
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= A C++ library helps development of 3D applications
+
+USE_BZIP2= yes
+USE_QT_VER= 3
+MAKE_ENV= QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++ \
+ QTDIR=${X11BASE}
+QMAKE= ${LOCALBASE}/bin/qmake
+INSTALLS_SHLIB= yes
+
+DOCSDIR= ${PREFIX}/share/doc/QGLViewer
+PORTDOCS= *
+
+do-build:
+ @(cd ${WRKSRC}/QGLViewer && ${SETENV} ${MAKE_ENV} ${QMAKE} && \
+ ${SETENV} ${MAKE_ENV} ${MAKE})
+
+do-install:
+ @(cd ${WRKSRC}/QGLViewer && ${SETENV} ${MAKE_ENV} ${MAKE} install)
+
+post-install:
+ @${FIND} ${PREFIX}/include/QGLViewer ! -type d | \
+ ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
+ @${FIND} ${PREFIX}/include/QGLViewer -type d | ${SORT} -r | \
+ ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
+
+.include <bsd.port.mk>