From owner-svn-ports-head@FreeBSD.ORG Thu Nov 28 23:57:54 2013 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 51B10139; Thu, 28 Nov 2013 23:57:54 +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 3D87A1C3E; Thu, 28 Nov 2013 23:57:54 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rASNvs6p071445; Thu, 28 Nov 2013 23:57:54 GMT (envelope-from gerald@svn.freebsd.org) Received: (from gerald@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rASNvsHm071444; Thu, 28 Nov 2013 23:57:54 GMT (envelope-from gerald@svn.freebsd.org) Message-Id: <201311282357.rASNvsHm071444@svn.freebsd.org> From: Gerald Pfeifer Date: Thu, 28 Nov 2013 23:57:54 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r335130 - head/Mk/Uses 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.16 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, 28 Nov 2013 23:57:54 -0000 Author: gerald Date: Thu Nov 28 23:57:53 2013 New Revision: 335130 URL: http://svnweb.freebsd.org/changeset/ports/335130 Log: Extend description of USE=shebangfix. Improve grammar and formatting. Approved by: portmgr (bapt) Modified: head/Mk/Uses/shebangfix.mk Modified: head/Mk/Uses/shebangfix.mk ============================================================================== --- head/Mk/Uses/shebangfix.mk Thu Nov 28 23:27:04 2013 (r335129) +++ head/Mk/Uses/shebangfix.mk Thu Nov 28 23:57:53 2013 (r335130) @@ -1,25 +1,30 @@ # $FreeBSD$ # -# common templates for replacing #! interpreters in scripts file +# Replace #! interpreters in scripts by what we actually have. +# +# Standard templates for bash, perl, python,... are included out of +# the box, others can easily be added per port. # # MAINTAINER: portmgr@FreeBSD.org # # Feature: shebangfix # Usage: USES=shebangfix # -# To define that the file to modify are: ${WRKSRC}/path1/file and all the .pl files in ${WRKSRC}/path2: +# To specify that ${WRKSRC}/path1/file and all .pl files in ${WRKSRC}/path2 +# should be processed: +# +# SHEBANG_FILES= path1/file path2/*.pl # -# SHEBANG_FILES= path1/file path2/*.pl +# To define a new shebang scheme add the following to the port Makefile: # -# To define new shebang scheme, in the port Makefile add: +# SHEBANG_LANG= lua +# lua_OLD_CMD= /usr/bin/lua +# lua_CMD= ${LOCALBASE}/bin/lua # -# SHEBANG_LANG= lua -# lua_OLD_CMD= /usr/bin/lua -# lua_CMD= ${LOCALBASE}/bin/lua +# To override a definition, for example replacing /usr/bin/perl by +# /usr/bin/env perl, add the following: # -# To override a definition for example replacing /usr/bin/perl by /usr/bin/env perl -# add to the port Makefile: -# perl_CMD= ${SETENV} perl +# perl_CMD= ${SETENV} perl # .if !defined(_INCLUDE_USES_SHEBANGFIX_Mk)