diff options
author | adam <adam@pkgsrc.org> | 2004-01-22 12:58:07 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2004-01-22 12:58:07 +0000 |
commit | ba0b56c0ff95159c22f0d23ad972e8d0fe81e5c3 (patch) | |
tree | f56877f2f408dd9bade2dbf092503b95a5216a0b /graphics/Mesa/Makefile.common | |
parent | 0eeff5f13347e391d59ddc465e243231f737cda7 (diff) | |
download | pkgsrc-ba0b56c0ff95159c22f0d23ad972e8d0fe81e5c3.tar.gz |
Mesa-6.0 packages now use LIBTOOL and finally build
Diffstat (limited to 'graphics/Mesa/Makefile.common')
-rw-r--r-- | graphics/Mesa/Makefile.common | 31 |
1 files changed, 15 insertions, 16 deletions
diff --git a/graphics/Mesa/Makefile.common b/graphics/Mesa/Makefile.common index f4fe30f61a3..a734b858a44 100644 --- a/graphics/Mesa/Makefile.common +++ b/graphics/Mesa/Makefile.common @@ -1,30 +1,29 @@ -# $NetBSD: Makefile.common,v 1.21 2004/01/20 02:48:33 jschauma Exp $ +# $NetBSD: Makefile.common,v 1.22 2004/01/22 12:58:07 adam Exp $ +# -DISTNAME?= MesaLib-${MESA_VERSION} -CATEGORIES?= graphics -MASTER_SITES?= ${MASTER_SITE_SOURCEFORGE:=mesa3d/} -EXTRACT_SUFX?= .tar.bz2 +DISTNAME= MesaLib-${MESA_VERSION} +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} +DISTFILES+= ${DISTNAME:S/MesaLib/MesaDemos/}${EXTRACT_SUFX} +WRKSRC= ${WRKDIR}/${DISTNAME:S/Lib//} +CATEGORIES= graphics +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mesa3d/} +EXTRACT_SUFX= .tar.bz2 -MAINTAINER?= tech-pkg@NetBSD.org -HOMEPAGE?= http://www.mesa3d.org/ +MAINTAINER= tech-pkg@NetBSD.org +HOMEPAGE= http://www.mesa3d.org/ ALL_TARGET= pkgsrc USE_LIBTOOL= yes -LIBTOOL_OVERRIDE= ${WRKSRC}/libtool +USE_X11= yes -NO_CONFIGURE?= yes +NO_CONFIGURE= yes DIST_SUBDIR= Mesa-${MESA_VERSION} PATCHDIR?= ${.CURDIR}/../../graphics/MesaLib/patches DISTINFO_FILE?= ${.CURDIR}/../../graphics/MesaLib/distinfo pre-install: - for lib in ${INSTLIBS}; do \ - ${INSTALL_DATA} ${WRKSRC}/lib/$${lib} ${PREFIX}/lib/; \ - cd ${PREFIX}/lib && ${LN} -s $${lib} $${lib%%.[0-9]}; \ - cd ${PREFIX}/lib && ${LN} -s $${lib%%.[0-9]} \ - $${lib%%.[0-9].[0-9]}; \ - ${INSTALL_DATA} ${WRKSRC}/lib/$${lib%%.*}_pic.a \ - ${PREFIX}/lib/; \ + for lib in ${INSTLIBS}; do \ + ${LIBTOOL} --mode=install ${INSTALL_DATA} $${lib} ${PREFIX}/lib ; \ done; .include "../../graphics/Mesa/version.mk" |