From owner-svn-ports-head@FreeBSD.ORG Wed Aug 21 08:24:33 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 1E90127D; Wed, 21 Aug 2013 08:24:33 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 0C2822341; Wed, 21 Aug 2013 08:24:33 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r7L8OW9U079779; Wed, 21 Aug 2013 08:24:32 GMT (envelope-from sunpoet@svn.freebsd.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r7L8OWrk079778; Wed, 21 Aug 2013 08:24:32 GMT (envelope-from sunpoet@svn.freebsd.org) Message-Id: <201308210824.r7L8OWrk079778@svn.freebsd.org> From: Sunpoet Po-Chuan Hsieh Date: Wed, 21 Aug 2013 08:24:32 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r325096 - head/devel/nant X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Aug 2013 08:24:33 -0000 Author: sunpoet Date: Wed Aug 21 08:24:32 2013 New Revision: 325096 URL: http://svnweb.freebsd.org/changeset/ports/325096 Log: - Convert to new options framework - Remove leading indefinite article from COMMENT - Cleanup Makefile header Modified: head/devel/nant/Makefile (contents, props changed) Modified: head/devel/nant/Makefile ============================================================================== --- head/devel/nant/Makefile Wed Aug 21 08:05:53 2013 (r325095) +++ head/devel/nant/Makefile Wed Aug 21 08:24:32 2013 (r325096) @@ -1,9 +1,5 @@ -# New ports collection makefile for: NAnt -# Date created: 2005-5-21 -# Whom: Christopher Nehren -# +# Created by: Christopher Nehren # $FreeBSD$ -# PORTNAME= nant PORTVERSION= 0.91 @@ -12,10 +8,12 @@ MASTER_SITES= SF DISTNAME= ${PORTNAME}-${PORTVERSION}-src MAINTAINER= sunpoet@FreeBSD.org -COMMENT= A .NET build tool inspired by Ant +COMMENT= .NET build tool inspired by Ant BUILD_DEPENDS= mono:${PORTSDIR}/lang/mono -RUN_DEPENDS= mono:${PORTSDIR}/lang/mono +RUN_DEPENDS:= ${BUILD_DEPENDS} + +OPTIONS_DEFINE= DOCS EXAMPLES BROKEN= fails to build @@ -27,15 +25,17 @@ MAKE_JOBS_UNSAFE= yes USE_GMAKE= yes WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +.include + post-patch: @${REINPLACE_CMD} -e 's|MCS=mcs|MCS=dmcs|' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's|lib/pkgconfig|libdata/pkgconfig|' ${WRKSRC}/NAnt.build -.if defined(NOPORTDOCS) +.if empty(PORT_OPTIONS:MDOCS} @${REINPLACE_CMD} -e '903,910 d' ${WRKSRC}/NAnt.build .endif post-install: -.if !defined(NOPORTEXAMPLES) +.if ${PORT_OPTIONS:MEXAMPLES} ${MKDIR} ${EXAMPLESDIR}/ cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${EXAMPLESDIR}/ .endif