Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jun 2014 18:43:12 +0000 (UTC)
From:      Marcus von Appen <mva@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r358034 - head/Mk
Message-ID:  <201406161843.s5GIhCNE060050@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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} | \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406161843.s5GIhCNE060050>