aboutsummaryrefslogtreecommitdiffstats
path: root/devel/hwloc/Makefile
blob: 3104f0fb0a892189530d2917df290df26a1a18c6 (plain) (blame)
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
37
38
39
40
41
42
43
44
45
# $FreeBSD$

PORTNAME=   hwloc
PORTVERSION=    1.11.1
CATEGORIES= devel
MASTER_SITES=   http://www.open-mpi.org/software/hwloc/v${PORTVERSION:R}/downloads/ \
        http://icl.cs.utk.edu/open-mpi/software/hwloc/v${PORTVERSION:R}/downloads/

MAINTAINER= phd_kimberlite@yahoo.co.jp
COMMENT=    Portable Hardware Locality software package

LICENSE=    BSD3CLAUSE
LICENSE_FILE=   ${WRKSRC}/COPYING

LIB_DEPENDS=    libpciaccess.so:devel/libpciaccess

GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --enable-static \
        --disable-opencl \
        --disable-cuda \
        --disable-nvml \
        --disable-gl
INSTALL_TARGET= install-strip
USES=       iconv libtool pathfix pkgconfig tar:bzip2
USE_LDCONFIG=   yes
USE_GNOME=  libxml2

PORTDOCS=   *

ONLY_FOR_ARCHS=     i386 amd64 armv6
ONLY_FOR_ARCHS_REASON=  has not been ported to this architecture

OPTIONS_DEFINE= CAIRO DOCS
OPTIONS_SUB=    yes

CAIRO_CONFIGURE_OFF=    --disable-cairo --without-x
CAIRO_CONFIGURE_ON= --enable-cairo --with-x
CAIRO_LIB_DEPENDS=  libcairo.so:graphics/cairo
CAIRO_USE=      XORG=x11

post-install:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}/html
    ${INSTALL_DATA} ${WRKSRC}/doc/doxygen-doc/html/* ${STAGEDIR}${DOCSDIR}/html/.

.include <bsd.port.mk>