2011-12-19 04:33:00 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= hwloc
|
2012-12-16 11:27:48 +01:00
|
|
|
PORTVERSION= 1.6
|
2011-12-19 04:33:00 +01:00
|
|
|
CATEGORIES= devel
|
2012-12-16 11:27:48 +01:00
|
|
|
MASTER_SITES= http://www.open-mpi.org/software/hwloc/v1.6/downloads/ \
|
|
|
|
http://icl.cs.utk.edu/open-mpi/software/hwloc/v1.6/downloads/
|
2011-12-19 04:33:00 +01:00
|
|
|
|
|
|
|
MAINTAINER= phd_kimberlite@yahoo.co.jp
|
|
|
|
COMMENT= The Portable Hardware Locality software package
|
|
|
|
|
|
|
|
LICENSE= BSD
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS+= --enable-static \
|
|
|
|
--enable-libxml2
|
|
|
|
USE_BZIP2= yes
|
2012-10-22 15:00:47 +02:00
|
|
|
USE_PKGCONFIG= build
|
2012-12-16 11:27:48 +01:00
|
|
|
USE_ICONV= yes
|
2011-12-19 04:33:00 +01:00
|
|
|
USE_LDCONFIG= yes
|
2012-10-22 15:00:47 +02:00
|
|
|
USE_GNOME= libxml2 gnomehack
|
2011-12-19 04:33:00 +01:00
|
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
|
2012-10-22 15:00:47 +02:00
|
|
|
PORTDOCS= *
|
|
|
|
|
2012-01-28 11:25:57 +01:00
|
|
|
ONLY_FOR_ARCHS= i386 amd64
|
|
|
|
ONLY_FOR_ARCHS_REASON= has not been ported to this architecture
|
|
|
|
|
2012-10-22 15:00:47 +02:00
|
|
|
OPTIONS_DEFINE= CAIRO
|
2011-12-19 04:33:00 +01:00
|
|
|
|
2012-10-22 15:00:47 +02:00
|
|
|
.include "${.CURDIR}/Makefile.man"
|
|
|
|
.include <bsd.port.options.mk>
|
2011-12-19 04:33:00 +01:00
|
|
|
|
2012-10-22 15:00:47 +02:00
|
|
|
.if empty(PORT_OPTIONS:MCAIRO)
|
2011-12-19 04:33:00 +01:00
|
|
|
CONFIGURE_ARGS+= --disable-cairo \
|
|
|
|
--without-x
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --enable-cairo \
|
|
|
|
--with-x
|
2012-08-01 21:22:27 +02:00
|
|
|
LIB_DEPENDS+= cairo:${PORTSDIR}/graphics/cairo
|
2011-12-19 04:33:00 +01:00
|
|
|
USE_XORG= x11
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-patch:
|
2012-10-22 15:00:47 +02:00
|
|
|
.if empty(PORT_OPTIONS:MDOCS)
|
2011-12-19 04:33:00 +01:00
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|^\(install-data-am:\) install-dist_pdfDATA \(install-man\)|\1 \2|g' \
|
|
|
|
${WRKSRC}/doc/Makefile.in
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-install:
|
2012-10-22 15:00:47 +02:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2011-12-19 04:33:00 +01:00
|
|
|
@${MKDIR} ${DOCSDIR}/html
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/doc/doxygen-doc/html/* ${DOCSDIR}/html/.
|
|
|
|
.endif
|
|
|
|
|
2012-10-22 15:00:47 +02:00
|
|
|
.include <bsd.port.mk>
|