From 2700f77ddb3a3b93e39683f2be92fb3c9a235f85 Mon Sep 17 00:00:00 2001 From: zeising Date: Sat, 13 Apr 2013 13:44:27 +0000 Subject: Sync with ports. git-svn-id: https://trillian.chruetertee.ch/svn/ports/trunk@807 058c260c-8361-11dd-a0ac-aa2bafec7d09 --- graphics/freeglut/Makefile | 25 ++++++++----------------- 1 file changed, 8 insertions(+), 17 deletions(-) (limited to 'graphics') 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 - -.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 +.include -- cgit v1.2.3