diff options
author | mva <mva@FreeBSD.org> | 2014-06-17 02:43:11 +0800 |
---|---|---|
committer | mva <mva@FreeBSD.org> | 2014-06-17 02:43:11 +0800 |
commit | e08acf39f01d2b376a6a36b45b7eb6f1843dd53f (patch) | |
tree | eedb1784a3b9e481f424fc10f68b22eedcea6c03 /Mk | |
parent | 981a982563f76726503532bce430313ebdb83a93 (diff) | |
download | freebsd-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.mk | 2 |
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} | \ |