Changeset View
Changeset View
Standalone View
Standalone View
head/devel/valgrind/Makefile
# Created by: Simon Barner <barner@gmx.de> | # Created by: Simon Barner <barner@gmx.de> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= valgrind | PORTNAME= valgrind | ||||
PORTVERSION= 3.10.1.20160113 | PORTVERSION= 3.10.1.20160113 | ||||
DISTVERSIONPREFIX= freebsd- | DISTVERSIONPREFIX= freebsd- | ||||
PORTREVISION= 0 | PORTREVISION= 1 | ||||
PORTEPOCH= 1 | PORTEPOCH= 1 | ||||
CATEGORIES= devel | CATEGORIES= devel | ||||
MASTER_SITES= https://bitbucket.org/${BB_ACCOUNT}/${BB_PROJECT}/get/${BB_COMMIT}.tar.gz?dummy=/ \ | MASTER_SITES= https://bitbucket.org/${BB_ACCOUNT}/${BB_PROJECT}/get/${BB_COMMIT}.tar.gz?dummy=/ \ | ||||
http://mirror.shatow.net/freebsd/${PORTNAME}/ | http://mirror.shatow.net/freebsd/${PORTNAME}/ | ||||
MAINTAINER= bdrewery@FreeBSD.org | MAINTAINER= bdrewery@FreeBSD.org | ||||
COMMENT= Memory debugging and profiling tool | COMMENT= Memory debugging and profiling tool | ||||
BB_COMMIT= ce1acb28953f | BB_COMMIT= ce1acb28953f | ||||
BB_ACCOUNT= stass | BB_ACCOUNT= stass | ||||
BB_PROJECT= valgrind-freebsd | BB_PROJECT= valgrind-freebsd | ||||
LICENSE= GPLv2 | LICENSE= GPLv2 | ||||
CONFLICTS= valgrind-devel-[0-9]* | CONFLICTS= valgrind-devel-[0-9]* | ||||
ONLY_FOR_ARCHS= i386 amd64 | ONLY_FOR_ARCHS= i386 amd64 | ||||
LIB32_PATH?= ${DESTDIR}/usr/lib32/libc.so | LIB32_PATH?= ${DESTDIR}/usr/lib32/libc.so | ||||
BUILD_DEPENDS+= docbook-xsl>=0:textproc/docbook-xsl \ | OPTIONS_DEFINE= DOCS MANPAGES MPI | ||||
xsltproc:textproc/libxslt | |||||
OPTIONS_DEFINE= MPI DOCS | |||||
OPTIONS_DEFINE_amd64= 32BIT | OPTIONS_DEFINE_amd64= 32BIT | ||||
OPTIONS_DEFAULT= MANPAGES | |||||
.if exists(${LIB32_PATH}) | .if exists(${LIB32_PATH}) | ||||
OPTIONS_DEFAULT_amd64= 32BIT | OPTIONS_DEFAULT_amd64= 32BIT | ||||
.endif | .endif | ||||
32BIT_DESC= Enable debugging of 32-bit programs (requires lib32) | 32BIT_DESC= Enable debugging of 32-bit programs (requires lib32) | ||||
MPI_DESC= Enable build of MPI wrappers | MPI_DESC= Enable build of MPI wrappers | ||||
DOCS_BUILD_DEPENDS= docbook-xsl>=0:textproc/docbook-xsl \ | |||||
xsltproc:textproc/libxslt | |||||
MANPAGES_BUILD_DEPENDS= docbook-xsl>=0:textproc/docbook-xsl \ | |||||
xsltproc:textproc/libxslt | |||||
MPI_LIB_DEPENDS= libmpich.so:net/mpich2 | MPI_LIB_DEPENDS= libmpich.so:net/mpich2 | ||||
OPTIONS_SUB= yes | OPTIONS_SUB= yes | ||||
USES= pathfix pkgconfig gmake perl5 shebangfix autoreconf | USES= pathfix pkgconfig gmake perl5 shebangfix autoreconf | ||||
PATHFIX_MAKEFILEIN= Makefile.am | PATHFIX_MAKEFILEIN= Makefile.am | ||||
USE_PERL5= build | USE_PERL5= build | ||||
GNU_CONFIGURE= yes | GNU_CONFIGURE= yes | ||||
USE_LDCONFIG= yes | USE_LDCONFIG= yes | ||||
Show All 33 Lines | |||||
.endif | .endif | ||||
.if !${PORT_OPTIONS:MDOCS} | .if !${PORT_OPTIONS:MDOCS} | ||||
post-patch: | post-patch: | ||||
@${RM} -rf ${WRKSRC}/docs/html | @${RM} -rf ${WRKSRC}/docs/html | ||||
.endif | .endif | ||||
post-build: | post-build: | ||||
.if ${PORT_OPTIONS:MMANPAGES} | |||||
cd ${WRKSRC}/docs && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} man-pages | cd ${WRKSRC}/docs && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} man-pages | ||||
.endif | |||||
.if ${PORT_OPTIONS:MDOCS} | .if ${PORT_OPTIONS:MDOCS} | ||||
cd ${WRKSRC}/docs && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} html-docs | cd ${WRKSRC}/docs && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} html-docs | ||||
.endif | .endif | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |