42 lines
1.2 KiB
Makefile
42 lines
1.2 KiB
Makefile
# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= Devel-MAT
|
|
PORTVERSION= 0.34
|
|
CATEGORIES= devel perl5
|
|
MASTER_SITES= CPAN
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Perl Memory Analysis Tool
|
|
|
|
LICENSE= ART10 GPLv1+
|
|
LICENSE_COMB= dual
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= p5-File-ShareDir>=0:devel/p5-File-ShareDir \
|
|
p5-List-UtilsBy>=0:devel/p5-List-UtilsBy \
|
|
p5-Module-Pluggable>=0:devel/p5-Module-Pluggable \
|
|
p5-String-Tagged>=0:textproc/p5-String-Tagged \
|
|
p5-String-Tagged-Terminal>=0:textproc/p5-String-Tagged-Terminal \
|
|
p5-Struct-Dumb>=0.07:devel/p5-Struct-Dumb
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
|
TEST_DEPENDS= p5-Test-Identity>=0:devel/p5-Test-Identity \
|
|
p5-Test-Pod>=1:devel/p5-Test-Pod
|
|
|
|
USE_PERL5= modbuild
|
|
USES= perl5
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Devel/MAT/Dumper/Dumper.so
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Devel/MAT/MAT.so
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PERL_LEVEL} < 502501
|
|
BUILD_DEPENDS+= p5-Scalar-List-Utils>=1.44:lang/p5-Scalar-List-Utils
|
|
RUN_DEPENDS+= p5-Scalar-List-Utils>=1.44:lang/p5-Scalar-List-Utils
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|