diff --git a/devel/p5-DateTime-Event-Recurrence/Makefile b/devel/p5-DateTime-Event-Recurrence/Makefile index c556c8a98dd5..f8ca1c05c307 100644 --- a/devel/p5-DateTime-Event-Recurrence/Makefile +++ b/devel/p5-DateTime-Event-Recurrence/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: p5-DateTime-Event-Recurrence -# Date created: 1 july 2003 -# Whom: Mathieu Arnold -# +# Created by: Mathieu Arnold # $FreeBSD$ -# PORTNAME= DateTime-Event-Recurrence DISTVERSION= 0.16 @@ -18,16 +14,19 @@ BUILD_DEPENDS= p5-DateTime>=0:${PORTSDIR}/devel/p5-DateTime \ p5-DateTime-Set>=0:${PORTSDIR}/devel/p5-DateTime-Set RUN_DEPENDS:= ${BUILD_DEPENDS} +OPTIONS_DEFINE= DOCS + PERL_CONFIGURE= yes MAN3= DateTime::Event::Recurrence.3 - -.if !defined(NOPORTDOCS) PORTDOCS= CREDITS Changes README TODO +.include + post-install: - @${MKDIR} ${DOCSDIR} - @${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} +.if ${PORT_OPTIONS:MDOCS} + ${MKDIR} ${DOCSDIR}/ + cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/ @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." .endif