aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.python.mk
diff options
context:
space:
mode:
authormva <mva@FreeBSD.org>2013-10-19 15:49:54 +0800
committermva <mva@FreeBSD.org>2013-10-19 15:49:54 +0800
commit4a5cad7bdb84b65d1661f37be2bf9b9928fad603 (patch)
tree76f8c247850df784c333fd6ddad1a928663198fb /Mk/bsd.python.mk
parent965b1f32780bccdce21940a8d5c6c48be1b0a71e (diff)
downloadfreebsd-ports-gnome-4a5cad7bdb84b65d1661f37be2bf9b9928fad603.tar.gz
freebsd-ports-gnome-4a5cad7bdb84b65d1661f37be2bf9b9928fad603.tar.zst
freebsd-ports-gnome-4a5cad7bdb84b65d1661f37be2bf9b9928fad603.zip
- Fix replacement expressions for manpages, if PYDISTUTILS_AUTOPLIST is set
Diffstat (limited to 'Mk/bsd.python.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 d9317487b978..ff9ec71f90b3 100644
--- a/Mk/bsd.python.mk
+++ b/Mk/bsd.python.mk
@@ -529,7 +529,7 @@ add-plist-pymod:
@${ECHO_CMD} "${_RELSITELIBDIR}" >> ${WRKDIR}/.localmtree
@${ECHO_CMD} "${_RELLIBDIR}" >> ${WRKDIR}/.localmtree
@${SED} -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|^${PREFIX}/\(.*\)/\(.*\)|\1|' ${_PYTHONPKGLIST} | \
${AWK} '{ num = split($$0, a, "/"); res=""; \