aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authormva <mva@FreeBSD.org>2014-06-17 02:43:11 +0800
committermva <mva@FreeBSD.org>2014-06-17 02:43:11 +0800
commite08acf39f01d2b376a6a36b45b7eb6f1843dd53f (patch)
treeeedb1784a3b9e481f424fc10f68b22eedcea6c03 /Mk
parent981a982563f76726503532bce430313ebdb83a93 (diff)
downloadfreebsd-ports-gnome-e08acf39f01d2b376a6a36b45b7eb6f1843dd53f.tar.gz
freebsd-ports-gnome-e08acf39f01d2b376a6a36b45b7eb6f1843dd53f.tar.zst
freebsd-ports-gnome-e08acf39f01d2b376a6a36b45b7eb6f1843dd53f.zip
- 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@
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.python.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/bsd.python.mk b/Mk/bsd.python.mk
index e4a92043a695..c89a6b534204 100644
--- a/Mk/bsd.python.mk
+++ b/Mk/bsd.python.mk
@@ -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} | \