1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/devel/hwloc/Makefile
Mark Linimon d7a5223272 Allow building on powerpc64.
Reported by:	Piotr Kubaj
2018-11-02 14:33:29 +00:00

47 lines
1.2 KiB
Makefile

# $FreeBSD$
PORTNAME= hwloc
PORTVERSION= 1.11.11
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
ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 i386 powerpc64
ONLY_FOR_ARCHS_REASON= has not been ported to this architecture
LIB_DEPENDS= libpciaccess.so:devel/libpciaccess
USES= iconv libtool gnome pathfix pkgconfig tar:bzip2
USE_GNOME= libxml2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-static \
--disable-opencl \
--disable-cuda \
--disable-nvml \
--disable-gl
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
PORTDOCS= *
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-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}/html
${INSTALL_DATA} ${WRKSRC}/doc/doxygen-doc/html/* ${STAGEDIR}${DOCSDIR}/html/
.include <bsd.port.mk>