From owner-svn-ports-head@FreeBSD.ORG Fri Feb 28 07:12:58 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4C115964; Fri, 28 Feb 2014 07:12:58 +0000 (UTC) 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 3835E18A1; Fri, 28 Feb 2014 07:12:58 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1S7CwWp042097; Fri, 28 Feb 2014 07:12:58 GMT (envelope-from ehaupt@svn.freebsd.org) Received: (from ehaupt@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1S7Cw5L042096; Fri, 28 Feb 2014 07:12:58 GMT (envelope-from ehaupt@svn.freebsd.org) Message-Id: <201402280712.s1S7Cw5L042096@svn.freebsd.org> From: Emanuel Haupt Date: Fri, 28 Feb 2014 07:12:58 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r346439 - head/misc/metalink-checker 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.17 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: Fri, 28 Feb 2014 07:12:58 -0000 Author: ehaupt Date: Fri Feb 28 07:12:57 2014 New Revision: 346439 URL: http://svnweb.freebsd.org/changeset/ports/346439 QAT: https://qat.redports.org/buildarchive/r346439/ Log: - Support staging - USES -> dos2unix Modified: head/misc/metalink-checker/Makefile Modified: head/misc/metalink-checker/Makefile ============================================================================== --- head/misc/metalink-checker/Makefile Fri Feb 28 07:11:47 2014 (r346438) +++ head/misc/metalink-checker/Makefile Fri Feb 28 07:12:57 2014 (r346439) @@ -13,34 +13,23 @@ COMMENT= Python script to check metalink LICENSE= GPLv2 -USE_DOS2UNIX= yes +USES= dos2unix USE_PYTHON= yes NO_BUILD= yes -# Documents to install -DOC_FILES= \ - README - -.ifndef(NOPORTDOCS) -PORTDOCS= * -.endif - +PORTDOCS= README PLIST_FILES= bin/${PORTNAME}.py -NO_STAGE= yes -do-patch: +post-patch: @${REINPLACE_CMD} -E \ -e "s|#!/usr/bin/env[[:space:]]python|#!${PYTHON_CMD}|" \ ${WRKSRC}/${PORTNAME}.py do-install: -# docs -.ifndef(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} -.for file in ${DOC_FILES} - @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} +.for file in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} .endfor -.endif - @${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.py ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.py ${STAGEDIR}${PREFIX}/bin .include