- Use PORTEXAMPLES - Do not silence installation message Changes: http://search.cpan.org/dist/Pod-Coverage/Changes
44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
# New ports collection makefile for: p5-Pod-Coverage
|
|
# Date created: 10 octobre 2003
|
|
# Whom: mat
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= Pod-Coverage
|
|
PORTVERSION= 0.22
|
|
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>
|