1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-18 08:02:48 +00:00
freebsd-ports/devel/hwloc/Makefile
Marcus von Appen 821843ca06 - Convert USE_ICONV=yes to USES=iconv
- Change USE_GNOME=pkgconfig|gnomehack to USES=pathfix|pkgconfig while here

Reviewed by:	bapt, kwm
2013-04-27 08:50:46 +00:00

60 lines
1.3 KiB
Makefile

# $FreeBSD$
PORTNAME= hwloc
PORTVERSION= 1.6.2
CATEGORIES= devel
MASTER_SITES= http://www.open-mpi.org/software/hwloc/v1.6/downloads/ \
http://icl.cs.utk.edu/open-mpi/software/hwloc/v1.6/downloads/
MAINTAINER= phd_kimberlite@yahoo.co.jp
COMMENT= The Portable Hardware Locality software package
LICENSE= BSD
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= pciaccess:${PORTSDIR}/devel/libpciaccess
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-static \
--enable-libxml2
USES= pkgconfig pathfix iconv
USE_BZIP2= yes
USE_LDCONFIG= yes
USE_GNOME= libxml2
MAKE_JOBS_SAFE= yes
PORTDOCS= *
ONLY_FOR_ARCHS= i386 amd64
ONLY_FOR_ARCHS_REASON= has not been ported to this architecture
OPTIONS_DEFINE= CAIRO
.include "${.CURDIR}/Makefile.man"
.include <bsd.port.options.mk>
.if empty(PORT_OPTIONS:MCAIRO)
CONFIGURE_ARGS+= --disable-cairo \
--without-x
.else
CONFIGURE_ARGS+= --enable-cairo \
--with-x
LIB_DEPENDS+= cairo:${PORTSDIR}/graphics/cairo
USE_XORG= x11
.endif
post-patch:
.if empty(PORT_OPTIONS:MDOCS)
@${REINPLACE_CMD} -e \
's|^\(install-data-am:\) install-dist_pdfDATA \(install-man\)|\1 \2|g' \
${WRKSRC}/doc/Makefile.in
.endif
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}/html
@${INSTALL_DATA} ${WRKSRC}/doc/doxygen-doc/html/* ${DOCSDIR}/html/.
.endif
.include <bsd.port.mk>