svn commit: r358034 - head/Mk
Marcus von Appen
mva at FreeBSD.org
Mon Jun 16 18:43:12 UTC 2014
Author: mva
Date: Mon Jun 16 18:43:11 2014
New Revision: 358034
URL: http://svnweb.freebsd.org/changeset/ports/358034
QAT: https://qat.redports.org/buildarchive/r358034/
Log:
- 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@
Modified:
head/Mk/bsd.python.mk
Modified: head/Mk/bsd.python.mk
==============================================================================
--- head/Mk/bsd.python.mk Mon Jun 16 18:20:16 2014 (r358033)
+++ head/Mk/bsd.python.mk Mon Jun 16 18:43:11 2014 (r358034)
@@ -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} | \
More information about the svn-ports-head
mailing list