svn commit: r311730 - head/devel/p5-DateTime-Event-Recurrence
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Tue Feb 5 18:45:14 UTC 2013
Author: sunpoet
Date: Tue Feb 5 18:45:14 2013
New Revision: 311730
URL: http://svnweb.freebsd.org/changeset/ports/311730
Log:
- Convert to new options framework
- Cleanup Makefile header
Modified:
head/devel/p5-DateTime-Event-Recurrence/Makefile (contents, props changed)
Modified: head/devel/p5-DateTime-Event-Recurrence/Makefile
==============================================================================
--- head/devel/p5-DateTime-Event-Recurrence/Makefile Tue Feb 5 18:39:23 2013 (r311729)
+++ head/devel/p5-DateTime-Event-Recurrence/Makefile Tue Feb 5 18:45:14 2013 (r311730)
@@ -1,9 +1,5 @@
-# New ports collection makefile for: p5-DateTime-Event-Recurrence
-# Date created: 1 july 2003
-# Whom: Mathieu Arnold <m at absolight.net>
-#
+# Created by: Mathieu Arnold <m at absolight.net>
# $FreeBSD$
-#
PORTNAME= DateTime-Event-Recurrence
DISTVERSION= 0.16
@@ -18,16 +14,19 @@ BUILD_DEPENDS= p5-DateTime>=0:${PORTSDIR
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
More information about the svn-ports-head
mailing list