Index: lang/python-doc-html/Makefile
===================================================================
--- lang/python-doc-html/Makefile (revision 491451)
+++ lang/python-doc-html/Makefile (working copy)
@@ -32,6 +32,11 @@
WRKSRC= ${WRKDIR}/docs-pdf
.endif
+# Create a distinfo that contains all possible DISTFILES
+makesum:
+ t1=/tmp/makesum.$$$$ && trap 'rm -f $${t1}' exit && \
+ files/gen-makesum.sh >$${t1} && ${MAKE} -f $${t1} makesum
+
pre-install:
@${FIND} ${WRKSRC} -type f | ${SED} -e 's|^${WRKSRC}|%%DOCSDIR%%|' | ${SORT} > ${PLIST}
Index: lang/python-doc-html/files/gen-makesum.sh
===================================================================
--- lang/python-doc-html/files/gen-makesum.sh (nonexistent)
+++ lang/python-doc-html/files/gen-makesum.sh (working copy)
@@ -0,0 +1,32 @@
+#!/bin/sh
+# $FreeBSD$
+#
+# Output a minimal makefile with DISTFILES set to all supported
+# Python versions vs. all doc formats
+#
+
+DOCFORMATS="html pdf-a4 pdf-letter text"
+_PYTHON_VERSIONS=`make -V _PYTHON_VERSIONS`
+
+DISTFILES=""
+for ver in ${_PYTHON_VERSIONS}; do
+ ver2=`make -V PYTHON_PORTVERSION DEFAULT_VERSIONS=python=${ver}`
+ for format in ${DOCFORMATS}; do
+ files=`make -V DISTFILES \
+ PORTVERSION=${ver2} DOCFORMAT=${format}`
+ DISTFILES="${DISTFILES} ${files}"
+ done
+done
+
+#
+# Output the minimal makefile
+#
+echo -n MASTER_SITES=
+make -V MASTER_SITES
+
+echo DISTFILES=${DISTFILES}
+
+echo -n DIST_SUBDIR=
+make -V DIST_SUBDIR
+
+echo ".include "
Property changes on: lang/python-doc-html/files/gen-makesum.sh
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property