From owner-svn-ports-all@FreeBSD.ORG Tue Feb 5 09:48:37 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id AA86EA1C; Tue, 5 Feb 2013 09:48:37 +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 8464E8EA; Tue, 5 Feb 2013 09:48:37 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r159mbWS020173; Tue, 5 Feb 2013 09:48:37 GMT (envelope-from sunpoet@svn.freebsd.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id r159mb83020172; Tue, 5 Feb 2013 09:48:37 GMT (envelope-from sunpoet@svn.freebsd.org) Message-Id: <201302050948.r159mb83020172@svn.freebsd.org> From: Sunpoet Po-Chuan Hsieh Date: Tue, 5 Feb 2013 09:48:37 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r311686 - head/devel/p5-DateTime-Format-Builder 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 09:48:37 -0000 Author: sunpoet Date: Tue Feb 5 09:48:36 2013 New Revision: 311686 URL: http://svnweb.freebsd.org/changeset/ports/311686 Log: - Convert to new options framework - Cleanup Makefile header Modified: head/devel/p5-DateTime-Format-Builder/Makefile (contents, props changed) Modified: head/devel/p5-DateTime-Format-Builder/Makefile ============================================================================== --- head/devel/p5-DateTime-Format-Builder/Makefile Tue Feb 5 09:42:31 2013 (r311685) +++ head/devel/p5-DateTime-Format-Builder/Makefile Tue Feb 5 09:48:36 2013 (r311686) @@ -1,9 +1,5 @@ -# New ports collection makefile for: p5-DateTime-Format-Builder -# Date created: 2 july 2003 -# Whom: Mathieu Arnold -# +# Created by: Mathieu Arnold # $FreeBSD$ -# PORTNAME= DateTime-Format-Builder PORTVERSION= 0.80 @@ -20,7 +16,6 @@ BUILD_DEPENDS= p5-Class-Factory-Util>=1. p5-Params-Validate>=0.72:${PORTSDIR}/devel/p5-Params-Validate \ p5-Task-Weaken>=0:${PORTSDIR}/devel/p5-Task-Weaken RUN_DEPENDS:= ${BUILD_DEPENDS} - TEST_DEPENDS= p5-Devel-Cycle>=1.07:${PORTSDIR}/devel/p5-Devel-Cycle \ p5-Test-Memory-Cycle>=0:${PORTSDIR}/devel/p5-Test-Memory-Cycle @@ -37,16 +32,18 @@ MAN3= DateTime::Format::Builder.3 DateT PORTDOCS= CREDITS Changes README PORTEXAMPLES= Apache.pm Fall.pm ICal.pm MySQL.pm Simple.pm Tivoli.pm W3CDTF.pm +.include + post-install: -.if !defined(NOPORTDOCS) +.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 -.if !defined(NOPORTEXAMPLES) +.if ${PORT_OPTIONS:MEXAMPLES} ${MKDIR} ${EXAMPLESDIR}/ cd ${WRKSRC}/examples/ && ${INSTALL_DATA} ${PORTEXAMPLES} ${EXAMPLESDIR}/ - ${ECHO_MSG} "===> Examples installed in ${EXAMPLESDIR}." + @${ECHO_MSG} "===> Examples installed in ${EXAMPLESDIR}." .endif .include