blob: b9e5b2b615989af2b5dee3089af2fef5702f78e5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# $NetBSD: Makefile.common,v 1.30 2004/04/09 13:05:52 adam Exp $
#
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
MESA_VERSION= 6.0.1
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.mesa3d.org/
ALL_TARGET= pkgsrc
USE_LIBTOOL= yes
USE_X11= yes
BUILDING_MESA= yes
NO_CONFIGURE= yes
DIST_SUBDIR= Mesa-${MESA_VERSION}
PATCHDIR?= ${.CURDIR}/../../graphics/MesaLib/patches
DISTINFO_FILE?= ${.CURDIR}/../../graphics/MesaLib/distinfo
INSTALLATION_DIRS+= lib
pre-install:
@if [ -n "${INSTLIBS}" ]; then \
${ECHO_MSG} "Installing libraries."; \
for lib in ${INSTLIBS}; do \
${LIBTOOL} --mode=install ${INSTALL_DATA} \
$${lib} ${PREFIX}/lib; \
done; \
fi
|