aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/libglut/Makefile
diff options
context:
space:
mode:
authoranholt <anholt@FreeBSD.org>2003-10-24 12:38:20 +0800
committeranholt <anholt@FreeBSD.org>2003-10-24 12:38:20 +0800
commit5f63c0e772f6bad037aed7c6fdbdc18853dc507b (patch)
tree19eca94b03e4437e508121195692b45f6ca0bbbe /graphics/libglut/Makefile
parent814aa775ac0782bbed7513e080d47ea25f967904 (diff)
downloadfreebsd-ports-gnome-5f63c0e772f6bad037aed7c6fdbdc18853dc507b.tar.gz
freebsd-ports-gnome-5f63c0e772f6bad037aed7c6fdbdc18853dc507b.tar.zst
freebsd-ports-gnome-5f63c0e772f6bad037aed7c6fdbdc18853dc507b.zip
Add libglut 5.0.2, a port of libglut from Mesa. libglut will be removed from
mesagl in its upcoming upgrade.
Diffstat (limited to 'graphics/libglut/Makefile')
-rw-r--r--graphics/libglut/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/graphics/libglut/Makefile b/graphics/libglut/Makefile
new file mode 100644
index 000000000000..02be407fa1a9
--- /dev/null
+++ b/graphics/libglut/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: libglut
+# Date created: Tue Feb 7 12:02:49 1995
+# Whom: anholt
+#
+# $FreeBSD$
+#
+
+PORTNAME= libglut
+PORTVERSION= 5.0.2
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= mesa3d
+DISTNAME= MesaDemos-${PORTVERSION}
+
+MAINTAINER= anholt@FreeBSD.org
+COMMENT= A graphics library similar to SGI's OpenGL
+
+USE_BZIP2= yes
+INSTALLS_SHLIB= yes
+
+USE_X_PREFIX= yes
+WRKSRC= ${WRKDIR}/Mesa-${PORTVERSION}/src-glut
+
+pre-patch:
+ ${CP} ${FILESDIR}/Makefile ${WRKSRC}/
+
+.include <bsd.port.pre.mk>
+.if ${XFREE86_VERSION} == 3
+LIB_DEPENDS+= GL.14:${PORTSDIR}/graphics/mesagl
+.endif
+.include <bsd.port.post.mk>