diff options
author | Marcus von Appen <mva@FreeBSD.org> | 2013-10-18 16:28:48 +0000 |
---|---|---|
committer | Marcus von Appen <mva@FreeBSD.org> | 2013-10-18 16:28:48 +0000 |
commit | ae868cb7fba5f26de55262e332215e93de7b69c9 (patch) | |
tree | 9091a45ec3b38327e4a903377f337e78101c4653 /Mk | |
parent | devel/pear-PHPUnit, removed, EOLed upstream (diff) |
- Enable proper manpage handling for PYDISTUTILS_AUTOPLIST, if the
manpages are installed by distutils.
Requested by: avg@
Improvements: jhein@symmetricom.com
Notes
Notes:
svn path=/head/; revision=330762
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.python.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Mk/bsd.python.mk b/Mk/bsd.python.mk index b32671b79527..d9317487b978 100644 --- a/Mk/bsd.python.mk +++ b/Mk/bsd.python.mk @@ -528,7 +528,9 @@ add-plist-pymod: ${SED} '/^\.$$/d' > ${WRKDIR}/.localmtree @${ECHO_CMD} "${_RELSITELIBDIR}" >> ${WRKDIR}/.localmtree @${ECHO_CMD} "${_RELLIBDIR}" >> ${WRKDIR}/.localmtree - @${SED} 's|^${PREFIX}/||' ${_PYTHONPKGLIST} | ${SORT} >> ${TMPPLIST} + @${SED} -e 's|^${PREFIX}/||' \ + -e 's|^\(man/man[0-9]\)/\(.*\.[0-9]\)$|\1/\2${MANEXT}|' \ + ${_PYTHONPKGLIST} | ${SORT} >> ${TMPPLIST} @${SED} -e 's|^${PREFIX}/\(.*\)/\(.*\)|\1|' ${_PYTHONPKGLIST} | \ ${AWK} '{ num = split($$0, a, "/"); res=""; \ for(i = 1; i <= num; ++i) { \ |