Date: Tue, 5 Feb 2013 18:45:14 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r311730 - head/devel/p5-DateTime-Event-Recurrence Message-ID: <201302051845.r15IjExS088529@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302051845.r15IjExS088529>