On 2013/02/03 20:26, Stuart Henderson wrote: > MODPY_BIN_ADJ got turned into an internal variable; this reworks > the part of port-modules(5) which referenced it. any comments/ok?
rpe points out these are relative to WRKSRC, so tweaked again: Index: port-modules.5 =================================================================== RCS file: /cvs/src/share/man/man5/port-modules.5,v retrieving revision 1.149 diff -u -p -r1.149 port-modules.5 --- port-modules.5 13 Jan 2013 17:47:21 -0000 1.149 +++ port-modules.5 3 Feb 2013 20:37:04 -0000 @@ -833,8 +833,7 @@ Sets .Ev MODPY_WANTLIB , .Ev MODPY_LIB_DEPENDS , .Ev MODPY_RUN_DEPENDS , -.Ev MODPY_BUILD_DEPENDS , -.Ev MODPY_BIN_ADJ +.Ev MODPY_BUILD_DEPENDS and .Ev MODPY_ADJ_FILES . Appends to @@ -861,15 +860,11 @@ Extra arguments to the build and install .Ev MODPY_DISTUTILS_BUILDARGS and .Ev MODPY_DISTUTILS_INSTALLARGS . -.Ev MODPY_BIN_ADJ -is a command that takes filename arguments and replaces the python -shebang line with -.Ev MODPY_BIN . -.Ev MODPY_ADJ_FILES -is a list of filenames that will automatically have -.Ev MODPY_BIN_ADJ -called on them at the end of -.Ar pre-configure . +If any files have a python shebang line which needs to be replaced +using MODPY_BIN, list them in +.Ev MODPY_ADJ_FILES . +These are prefixed with WRKSRC and replaced automatically +at the end of .Ar pre-configure . Also affects .Ev CATEGORIES , .Ev MAKE_ENV ,