- Support relative paths below man/ for manpages, when using

PYDISTUTILS_AUTOPLIST. This is necessary for localized manpages, which do
  not install into the standard path man/manX, but into a locale-specific
  directory matching form man/<locale_subdirs>/manX.
  Some ports feature localized manpages - this change makes additional patches
  and plist hacks unnecessary.

With hat:	python@
This commit is contained in:
Marcus von Appen 2014-06-16 18:43:11 +00:00
parent 5014db0fe3
commit 434a1673f1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=358034

View file

@ -599,7 +599,7 @@ add-plist-pymod:
@${ECHO_CMD} "${_RELLIBDIR}" >> ${WRKDIR}/.localmtree
@${SED} -e 's|^${STAGEDIR}${PREFIX}/||' \
-e 's|^${PREFIX}/||' \
-e 's|^\(man/man[0-9]\)/\(.*\.[0-9]\)$$|\1/\2${MANEXT}|' \
-e 's|^\(man/.*man[0-9]\)/\(.*\.[0-9]\)$$|\1/\2${MANEXT}|' \
${_PYTHONPKGLIST} | ${SORT} >> ${TMPPLIST}
@${SED} -e 's|^${STAGEDIR}${PREFIX}/\(.*\)/\(.*\)|\1|' \
-e 's|^${PREFIX}/\(.*\)/\(.*\)|\1|' ${_PYTHONPKGLIST} | \