From owner-svn-ports-all@FreeBSD.ORG Tue Feb 5 18:39:24 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 81F4F6DB; Tue, 5 Feb 2013 18:39:24 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 72DAFF22; Tue, 5 Feb 2013 18:39:24 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r15IdOSB086110; Tue, 5 Feb 2013 18:39:24 GMT (envelope-from sunpoet@svn.freebsd.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id r15IdOrE086109; Tue, 5 Feb 2013 18:39:24 GMT (envelope-from sunpoet@svn.freebsd.org) Message-Id: <201302051839.r15IdOrE086109@svn.freebsd.org> From: Sunpoet Po-Chuan Hsieh Date: Tue, 5 Feb 2013 18:39:24 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r311729 - head/devel/p5-DateTime-Set X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Feb 2013 18:39:24 -0000 Author: sunpoet Date: Tue Feb 5 18:39:23 2013 New Revision: 311729 URL: http://svnweb.freebsd.org/changeset/ports/311729 Log: - Convert to new options framework - Cleanup Makefile header Modified: head/devel/p5-DateTime-Set/Makefile (contents, props changed) Modified: head/devel/p5-DateTime-Set/Makefile ============================================================================== --- head/devel/p5-DateTime-Set/Makefile Tue Feb 5 18:34:50 2013 (r311728) +++ head/devel/p5-DateTime-Set/Makefile Tue Feb 5 18:39:23 2013 (r311729) @@ -1,9 +1,5 @@ -# New ports collection makefile for: p5-DateTime-Set -# Date created: 26 june 2003 -# Whom: Mathieu Arnold -# +# Created by: Mathieu Arnold # $FreeBSD$ -# PORTNAME= DateTime-Set PORTVERSION= 0.31 @@ -16,8 +12,9 @@ COMMENT= Datetime sets and set math BUILD_DEPENDS= p5-DateTime>=0.12:${PORTSDIR}/devel/p5-DateTime \ p5-Set-Infinite>=0.59:${PORTSDIR}/devel/p5-Set-Infinite -RUN_DEPENDS= p5-DateTime>=0.12:${PORTSDIR}/devel/p5-DateTime \ - p5-Set-Infinite>=0.59:${PORTSDIR}/devel/p5-Set-Infinite +RUN_DEPENDS:= ${BUILD_DEPENDS} + +OPTIONS_DEFINE= DOCS PERL_CONFIGURE= yes @@ -25,14 +22,15 @@ MAN3= DateTime::Set.3 \ DateTime::Span.3 \ DateTime::SpanSet.3 \ Set::Infinite::_recurrence.3 - -.if !defined(NOPORTDOCS) PORTDOCS= Changes README TODO +.include + post-install: +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR}/ cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/ - ${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." + @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." .endif .include