7ec33ac99d
- Do not silence installation message
44 lines
1.4 KiB
Makefile
44 lines
1.4 KiB
Makefile
# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= Devel-MAT
|
|
PORTVERSION= 0.20
|
|
CATEGORIES= devel perl5
|
|
MASTER_SITES= CPAN
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Perl Memory Analysis Tool
|
|
|
|
LICENSE= ART10 GPLv1
|
|
LICENSE_COMB= dual
|
|
|
|
BUILD_DEPENDS= p5-File-ShareDir>=0:${PORTSDIR}/devel/p5-File-ShareDir \
|
|
p5-List-MoreUtils>=0:${PORTSDIR}/lang/p5-List-MoreUtils \
|
|
p5-List-UtilsBy>=0:${PORTSDIR}/devel/p5-List-UtilsBy \
|
|
p5-Struct-Dumb>=0:${PORTSDIR}/devel/p5-Struct-Dumb
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
|
TEST_DEPENDS= p5-Test-Identity>=0:${PORTSDIR}/devel/p5-Test-Identity \
|
|
p5-Test-Pod>=1:${PORTSDIR}/devel/p5-Test-Pod
|
|
|
|
USE_PERL5= modbuild
|
|
USES= perl5
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PERL_LEVEL} < 502000
|
|
BUILD_DEPENDS+= p5-Scalar-List-Utils>=1.29:${PORTSDIR}/lang/p5-Scalar-List-Utils
|
|
RUN_DEPENDS+= p5-Scalar-List-Utils>=1.29:${PORTSDIR}/lang/p5-Scalar-List-Utils
|
|
.else
|
|
BUILD_DEPENDS+= p5-Module-Pluggable>=0:${PORTSDIR}/devel/p5-Module-Pluggable
|
|
RUN_DEPENDS+= p5-Module-Pluggable>=0:${PORTSDIR}/devel/p5-Module-Pluggable
|
|
.endif
|
|
|
|
.if ${PERL_LEVEL} >= 502200
|
|
BROKEN= fails to build with Perl 5.22 or above, see https://rt.cpan.org/Public/Bug/Display.html?id=100458 for further information
|
|
.endif
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Devel/MAT/Dumper/Dumper.so ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Devel/MAT/MAT.so
|
|
|
|
.include <bsd.port.post.mk>
|