diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2013-02-05 18:45:14 +0000 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2013-02-05 18:45:14 +0000 |
commit | a92f2f85fab1459727db39aafbd2b2776ea75de6 (patch) | |
tree | 78f6f3606b5d2d904466d9b3011142fd3b060a47 | |
parent | 91433be99d0f90d6903e1cbb989222e43c1c8785 (diff) | |
download | FreeBSD-ports-a92f2f85fab1459727db39aafbd2b2776ea75de6.zip FreeBSD-ports-a92f2f85fab1459727db39aafbd2b2776ea75de6.tar.gz |
- Convert to new options framework
- Cleanup Makefile header
-rw-r--r-- | devel/p5-DateTime-Event-Recurrence/Makefile | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/devel/p5-DateTime-Event-Recurrence/Makefile b/devel/p5-DateTime-Event-Recurrence/Makefile index c556c8a..f8ca1c0 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 <m@absolight.net> -# +# Created by: Mathieu Arnold <m@absolight.net> # $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 <bsd.port.options.mk> + 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 |