47be7a61c9
If the old xorg stack is still needed, it is possible to add WITHOUT_NEW_XORG= to /etc/make.conf to get the old version. Update several xorg related ports, including: x11/libxcb 1.9.1 -> 1.9.3 graphics/libdrm 2.4.46 -> 2.4.50 x11/pixman 0.30.2 -> 0.32.4 x11/xkeyboard-config 2.9 -> 2.10.1 x11-drivers/xf86-input-keyboard 1.7.0 -> 1.8.0 Fix dissapearing cursor in xf86-video-vmware [2] Stagify all x11@-owned ports Bump portrevisions for xf86-* ports due to xserver version change. Fix fallout from updates where needed. Thanks to: all testersi, bdrewery and the FreeBSD x11@ team exp-run by: bdrewery [1] PR: ports/184684 [1], ports/181385 [2] Submitted by: Douglas Carmichael <dcarmich@dcarmichael.net> [2] Approved by: portmgr (bdrewery), core (jhb) [0]
60 lines
1.6 KiB
Makefile
60 lines
1.6 KiB
Makefile
# Created by: thierry@pompo.net
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= freeglut
|
|
PORTVERSION= 2.8.1
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= x11@FreeBSD.org
|
|
COMMENT= An alternative to the OpenGL Utility Toolkit (GLUT) library
|
|
|
|
LICENSE= MIT
|
|
|
|
CONFLICTS= libglut-[0-9].*
|
|
|
|
USE_AUTOTOOLS= libtool
|
|
GNU_CONFIGURE= yes
|
|
USE_LDCONFIG= yes
|
|
USE_XORG= ice xi xxf86vm xrandr
|
|
USE_GL= glu
|
|
CONFIGURE_ARGS= --disable-warnings
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib -lusbhid
|
|
USE_LDCONFIG= yes
|
|
|
|
DOCS= download.html freeglut.html freeglut_logo.png \
|
|
freeglut_user_interface.html index.html ogl_sm.png \
|
|
progress.html structure.html
|
|
BINS= CallbackMaker Fractals Fractals_random Lorenz One shapes
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
pre-configure:
|
|
.for fract in Fractals/fractals.c Fractals_random/fractals_random.c
|
|
@${REINPLACE_CMD} -e "s|/usr/local|${PREFIX}|g" \
|
|
${WRKSRC}/progs/demos/${fract}
|
|
.endfor
|
|
|
|
post-build:
|
|
@${MV} ${WRKSRC}/progs/demos/CallbackMaker/.libs/CallbackMaker \
|
|
${WRKSRC}/progs/demos/CallbackMaker/.libs/callbackmaker
|
|
|
|
post-install:
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for FILE in ${DOCS}
|
|
@${INSTALL_DATA} ${WRKSRC}/doc/${FILE} ${STAGEDIR}${DOCSDIR}
|
|
.endfor
|
|
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
|
|
.endif
|
|
.if ${PORT_OPTIONS:MEXAMPLES}
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
@${INSTALL_DATA} ${WRKSRC}/progs/demos/Fractals/fractals.dat ${STAGEDIR}${EXAMPLESDIR}
|
|
.for prog in ${BINS}
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/progs/demos/${prog}/.libs/${prog:L} ${STAGEDIR}${EXAMPLESDIR}
|
|
.endfor
|
|
@${ECHO_MSG} "===> Examples installed in ${EXAMPLESDIR}."
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|