From owner-svn-ports-head@FreeBSD.ORG Thu May 23 16:36:29 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]) by hub.freebsd.org (Postfix) with ESMTP id 89843190; Thu, 23 May 2013 16:36:29 +0000 (UTC) (envelope-from wg@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 7C03FF47; Thu, 23 May 2013 16:36:29 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r4NGaT5Q082366; Thu, 23 May 2013 16:36:29 GMT (envelope-from wg@svn.freebsd.org) Received: (from wg@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r4NGaTgh082365; Thu, 23 May 2013 16:36:29 GMT (envelope-from wg@svn.freebsd.org) Message-Id: <201305231636.r4NGaTgh082365@svn.freebsd.org> From: William Grzybowski Date: Thu, 23 May 2013 16:36:29 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r318885 - head/sysutils/ansible 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: Thu, 23 May 2013 16:36:29 -0000 Author: wg Date: Thu May 23 16:36:28 2013 New Revision: 318885 URL: http://svnweb.freebsd.org/changeset/ports/318885 Log: - Use shebangfix instead of manual replace PR: ports/178822 Submitted by: Nikolai Lifanov (maintainer) Approved by: culot (mentor) Modified: head/sysutils/ansible/Makefile Modified: head/sysutils/ansible/Makefile ============================================================================== --- head/sysutils/ansible/Makefile Thu May 23 16:33:59 2013 (r318884) +++ head/sysutils/ansible/Makefile Thu May 23 16:36:28 2013 (r318885) @@ -19,6 +19,9 @@ RUN_DEPENDS:= ${BUILD_DEPENDS} USE_PYTHON= -2.7 USE_PYDISTUTILS= yes +USES= shebangfix +SHEBANG_FILES= ${WRKSRC}/library/* + SUB_FILES= pkg-message PORTEXAMPLES= * MAN1= ansible-doc.1 ansible-playbook.1 ansible-pull.1 ansible.1 @@ -40,8 +43,6 @@ post-patch-script: ${WRKSRC}/lib/ansible/constants.py \ ${WRKSRC}/lib/ansible/playbook/__init__.py \ ${WRKSRC}/lib/ansible/runner/__init__.py - @${REINPLACE_CMD} -e "s|/usr/bin/python|/usr/bin/env python|" \ - ${WRKSRC}/library/* pre-install-script: @(cd ${WRKSRC} && ${FIND} . -type f -name '*.bak' -exec ${RM} {} +)