summaryrefslogtreecommitdiff
path: root/graphics/glu/Makefile
diff options
context:
space:
mode:
authorrh <rh>2000-10-15 11:45:21 +0000
committerrh <rh>2000-10-15 11:45:21 +0000
commitf5d0b1ca4accdec4114573c8e816bac07ab6be4a (patch)
tree0d2e3639ccc59765bcdbd1b8763493e4b86631ff /graphics/glu/Makefile
parent57fdc2db29f5aa1c6c6f4a2c90a28b520bccfbb8 (diff)
downloadpkgsrc-f5d0b1ca4accdec4114573c8e816bac07ab6be4a.tar.gz
Initial import of glu-3.2.1, the GLU polygon tesselation facility for the
new split-up Mesa system.
Diffstat (limited to 'graphics/glu/Makefile')
-rw-r--r--graphics/glu/Makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/graphics/glu/Makefile b/graphics/glu/Makefile
new file mode 100644
index 00000000000..5ce07e4e0e0
--- /dev/null
+++ b/graphics/glu/Makefile
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/10/15 11:45:21 rh Exp $
+#
+
+DISTNAME= MesaLib-3.2.1
+PKGNAME= ${DISTNAME:C/MesaLib/glu/}
+CATEGORIES= graphics
+MASTER_SITES= ftp://ftp.mesa3d.org/mesa/ \
+ http://download.sourceforge.net/mesa3d/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= rh@netbsd.org
+HOMEPAGE= http://www.ssec.wisc.edu/~brianp/Mesa.html
+
+WRKSRC= ${WRKDIR}/${DISTNAME:C/Lib//}
+USE_X11BASE= yes
+USE_LIBTOOL= yes
+LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --enable-static
+
+do-build:
+ cd ${WRKSRC}/src-glu && ${SETENV} ${MAKE_ENV} \
+ ${MAKE_PROGRAM} ${MAKE_FLAGS} -f ${MAKEFILE} ${ALL_TARGET}
+
+do-install:
+ cd ${WRKSRC}/src-glu && ${SETENV} ${MAKE_ENV} \
+ ${MAKE_PROGRAM} ${MAKE_FLAGS} -f ${MAKEFILE} ${INSTALL_TARGET}
+
+post-install:
+ ${INSTALL_DATA_DIR} ${X11PREFIX}/include/GL
+.for hdr in glu.h glu_mangle.h
+ ${INSTALL_DATA} ${WRKSRC}/include/GL/${hdr} ${X11PREFIX}/include/GL
+.endfor
+
+.include "../../mk/bsd.pkg.mk"