summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorzeising <zeising@058c260c-8361-11dd-a0ac-aa2bafec7d09>2013-04-13 21:44:27 +0800
committerzeising <zeising@058c260c-8361-11dd-a0ac-aa2bafec7d09>2013-04-13 21:44:27 +0800
commit2700f77ddb3a3b93e39683f2be92fb3c9a235f85 (patch)
tree97aacbb999591ea5bc0d66478aea935f83e5c172 /graphics
parent69cbd9368ac13d7eee80355fa2fff83e41a30d40 (diff)
downloadxorg-devel-ports-2700f77ddb3a3b93e39683f2be92fb3c9a235f85.tar
xorg-devel-ports-2700f77ddb3a3b93e39683f2be92fb3c9a235f85.tar.gz
xorg-devel-ports-2700f77ddb3a3b93e39683f2be92fb3c9a235f85.tar.bz2
xorg-devel-ports-2700f77ddb3a3b93e39683f2be92fb3c9a235f85.tar.lz
xorg-devel-ports-2700f77ddb3a3b93e39683f2be92fb3c9a235f85.tar.xz
xorg-devel-ports-2700f77ddb3a3b93e39683f2be92fb3c9a235f85.tar.zst
xorg-devel-ports-2700f77ddb3a3b93e39683f2be92fb3c9a235f85.zip
Sync with ports.
git-svn-id: https://trillian.chruetertee.ch/svn/ports/trunk@807 058c260c-8361-11dd-a0ac-aa2bafec7d09
Diffstat (limited to 'graphics')
-rw-r--r--graphics/freeglut/Makefile25
1 files changed, 8 insertions, 17 deletions
diff --git a/graphics/freeglut/Makefile b/graphics/freeglut/Makefile
index 713bed7..ee74da3 100644
--- a/graphics/freeglut/Makefile
+++ b/graphics/freeglut/Makefile
@@ -3,27 +3,29 @@
# Date created: Wed Apr 23 2003
# Whom: thierry@pompo.net
#
-# $FreeBSD: ports/graphics/freeglut/Makefile,v 1.26 2011/09/23 22:23:09 amdmi3 Exp $
+# $FreeBSD: head/graphics/freeglut/Makefile 300896 2012-07-14 13:54:48Z beat $
#
PORTNAME= freeglut
PORTVERSION= 2.8.0
CATEGORIES= graphics
-MASTER_SITES= SF/${PORTNAME:L}/${PORTNAME:L}/${PORTVERSION}
+MASTER_SITES= SF
MAINTAINER= x11@FreeBSD.org
COMMENT= An alternative to the OpenGL Utility Toolkit (GLUT) library
+LICENSE= MIT
+
CONFLICTS= libglut-[0-9].*
-USE_GMAKE= yes
USE_AUTOTOOLS= libtool
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
-USE_XORG= ice xi xrandr
+USE_XORG= ice xi xxf86vm xrandr
USE_GL= glu
CONFIGURE_ARGS= --disable-warnings
-LDFLAGS+= -lusbhid -L${LOCALBASE}/lib
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib -lusbhid
USE_LDCONFIG= yes
DOCS= download.html freeglut.html freeglut_logo.png \
@@ -31,12 +33,6 @@ DOCS= download.html freeglut.html freeglut_logo.png \
progress.html structure.html
BINS= CallbackMaker Fractals Fractals_random Lorenz One shapes
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 800000
-EXTRA_PATCHES= ${FILESDIR}/extra-patch-src__freeglut_joystick.c
-.endif
-
pre-configure:
.for fract in Fractals/fractals.c Fractals_random/fractals_random.c
@${REINPLACE_CMD} -e "s|/usr/local|${PREFIX}|g" \
@@ -63,10 +59,5 @@ post-install:
.endfor
@${ECHO_MSG} "===> Examples installed in ${EXAMPLESDIR}."
.endif
-.if ${OSVERSION} >= 800000
- @${ECHO_MSG}
- @${CAT} ${PKGMESSAGE}
- @${ECHO_MSG}
-.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>