Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Nov 2013 23:57:54 +0000 (UTC)
From:      Gerald Pfeifer <gerald@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r335130 - head/Mk/Uses
Message-ID:  <201311282357.rASNvsHm071444@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311282357.rASNvsHm071444>