From 434a1673f175817ff7655c03d05ee1660f499279 Mon Sep 17 00:00:00 2001 From: Marcus von Appen Date: Mon, 16 Jun 2014 18:43:11 +0000 Subject: [PATCH] - 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//manX. Some ports feature localized manpages - this change makes additional patches and plist hacks unnecessary. With hat: python@ --- Mk/bsd.python.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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} | \