diff options
author | Florent Thoumie <flz@FreeBSD.org> | 2007-08-29 10:33:10 +0000 |
---|---|---|
committer | Florent Thoumie <flz@FreeBSD.org> | 2007-08-29 10:33:10 +0000 |
commit | 971be6f22592b4ac01a288e4392ebaa3390bfea9 (patch) | |
tree | 1096f310a03d7f71fb083797854b3a786ba0e95f /graphics/libGLw/Makefile | |
parent | 0c3fa6d6e39a0674f777f3b690247a752281e0c6 (diff) | |
download | ports-971be6f22592b4ac01a288e4392ebaa3390bfea9.tar.gz ports-971be6f22592b4ac01a288e4392ebaa3390bfea9.zip |
Notes
Diffstat (limited to 'graphics/libGLw/Makefile')
-rw-r--r-- | graphics/libGLw/Makefile | 32 |
1 files changed, 8 insertions, 24 deletions
diff --git a/graphics/libGLw/Makefile b/graphics/libGLw/Makefile index 4d613a062ac3..691d6bb4a341 100644 --- a/graphics/libGLw/Makefile +++ b/graphics/libGLw/Makefile @@ -6,38 +6,22 @@ # PORTNAME= libGLw -PORTVERSION= 6.5.3 +PORTVERSION= ${MESAVERSION} CATEGORIES= graphics -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} -MASTER_SITE_SUBDIR= mesa3d -DISTNAME= MesaLib-${PORTVERSION} -MAINTAINER= x11@FreeBSD.org COMMENT= OpenGL widgets library -CONFLICTS= XFree86-libraries-* xorg-libraries-6.* - +BUILD_DEPENDS+= makedepend:${PORTSDIR}/devel/makedepend LIB_DEPENDS+= Xm.3:${PORTSDIR}/x11-toolkits/open-motif -USE_BZIP2= yes -USE_LDCONFIG= yes -USE_XORG= xt USE_GL= gl +USE_XORG= xt -USE_X_PREFIX= yes -WRKSRC= ${WRKDIR}/Mesa-${PORTVERSION}/src/glw/ - -ALL_TARGET= libGLw.so -GLWHEADERS= GLwDrawA.h GLwDrawAP.h GLwMDrawA.h GLwMDrawAP.h - -post-patch: - ${CP} ${FILESDIR}/config ${WRKDIR}/Mesa-${PORTVERSION}/configs/current +CFLAGS+= -D__GLX_MOTIF=1 +SRCDIR= glw -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/libGLw.so.1 ${PREFIX}/lib - ${LN} -sf libGLw.so.1 ${PREFIX}/lib/libGLw.so -.for i in ${GLWHEADERS} - ${INSTALL_DATA} ${WRKDIR}/Mesa-${PORTVERSION}/src/glw/$i ${PREFIX}/include/GL -.endfor +HEADERS= GLwDrawA.h GLwDrawAP.h GLwMDrawA.h GLwMDrawAP.h +HEADERSDIR= src/glw +.include "${.CURDIR}/../../graphics/libGL/bsd.mesalib.mk" .include <bsd.port.mk> |