40 lines
1 KiB
Makefile
40 lines
1 KiB
Makefile
# Created by: mat
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= Pod-Coverage
|
|
PORTVERSION= 0.23
|
|
CATEGORIES= devel textproc perl5
|
|
MASTER_SITES= CPAN
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= perl@FreeBSD.org
|
|
COMMENT= Checks if the documentation of a module is comprehensive
|
|
|
|
BUILD_DEPENDS= p5-Devel-Symdump>=2.01:${PORTSDIR}/devel/p5-Devel-Symdump
|
|
RUN_DEPENDS= p5-Devel-Symdump>=2.01:${PORTSDIR}/devel/p5-Devel-Symdump
|
|
|
|
TEST_DEPENDS= p5-Test-Pod>=1:${PORTSDIR}/devel/p5-Test-Pod
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
MAN3= Pod::Coverage.3 \
|
|
Pod::Coverage::CountParents.3 \
|
|
Pod::Coverage::ExportOnly.3 \
|
|
Pod::Coverage::Overloader.3
|
|
|
|
PORTDOCS= Changes
|
|
PORTEXAMPLES= check_installed script-covered
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}/
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}/
|
|
${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
|
|
.endif
|
|
.if !defined(NOPORTEXAMPLES)
|
|
${MKDIR} ${EXAMPLESDIR}/
|
|
${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/examples/|} ${EXAMPLESDIR}/
|
|
${ECHO_MSG} "===> Examples installed in ${EXAMPLESDIR}."
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|