From owner-svn-ports-head@FreeBSD.ORG Sat Oct 20 15:44:03 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 32270E47; Sat, 20 Oct 2012 15:44:03 +0000 (UTC) (envelope-from eadler@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 1B7878FC08; Sat, 20 Oct 2012 15:44:03 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q9KFi2II058028; Sat, 20 Oct 2012 15:44:02 GMT (envelope-from eadler@svn.freebsd.org) Received: (from eadler@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q9KFi2sm058026; Sat, 20 Oct 2012 15:44:02 GMT (envelope-from eadler@svn.freebsd.org) Message-Id: <201210201544.q9KFi2sm058026@svn.freebsd.org> From: Eitan Adler Date: Sat, 20 Oct 2012 15:44:02 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r306196 - head/devel/p5-File-Append-TempFile 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: Sat, 20 Oct 2012 15:44:03 -0000 Author: eadler Date: Sat Oct 20 15:44:02 2012 New Revision: 306196 URL: http://svn.freebsd.org/changeset/ports/306196 Log: Convert to OptionsNG Use TEST_DEPENDS instead of custom hack Feature safe: yes Modified: head/devel/p5-File-Append-TempFile/Makefile Modified: head/devel/p5-File-Append-TempFile/Makefile ============================================================================== --- head/devel/p5-File-Append-TempFile/Makefile Sat Oct 20 15:40:25 2012 (r306195) +++ head/devel/p5-File-Append-TempFile/Makefile Sat Oct 20 15:44:02 2012 (r306196) @@ -11,9 +11,7 @@ PKGNAMEPREFIX= p5- MAINTAINER= eadler@FreeBSD.org COMMENT= Append data to files using a temporary copy -.if !defined(WITHOUT_TEST_POD_COVERAGE) -BUILD_DEPENDS= p5-Test-Pod-Coverage>=0:${PORTSDIR}/devel/p5-Test-Pod-Coverage -.endif +TEST_DEPENDS= p5-Test-Pod-Coverage>=0:${PORTSDIR}/devel/p5-Test-Pod-Coverage PERL_CONFIGURE= yes @@ -24,7 +22,9 @@ PORTDOCS= Changes README test: build @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} test -.if !defined(NOPORTDOCS) +.include + +.if ${PORT_OPTIONS:MDOCS} post-install: ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}