svn commit: r335130 - head/Mk/Uses
Gerald Pfeifer
gerald at FreeBSD.org
Thu Nov 28 23:57:54 UTC 2013
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 at 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)
More information about the svn-ports-head
mailing list