pkgsrc/graphics/glu/Makefile
jlam f79573370a Mechanical changes to 375 files to change dependency patterns of the form
foo-* to foo-[0-9]*.  This is to cause the dependencies to match only the
packages whose base package name is "foo", and not those named "foo-bar".
A concrete example is p5-Net-* matching p5-Net-DNS as well as p5-Net.  Also
change dependency examples in Packages.txt to reflect this.
2001-09-27 23:17:41 +00:00

41 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.10 2001/09/27 23:18:11 jlam Exp $
#
.include "../Mesa/Makefile.common"
DISTNAME= MesaLib-${MESA_VERSION}
PKGNAME= ${DISTNAME:C/MesaLib/glu/}
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mesa3d/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= rh@netbsd.org
HOMEPAGE= http://www.mesa3d.org/
COMMENT= GLU polygon tesselation facility for Mesa
CONFLICTS+= Mesa-glx-[0-9]*
CONFLICTS+= Mesa<3.2.1
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"