Revision: 144392 https://trac.macports.org/changeset/144392 Author: aronnax@macports.org Date: 2016-01-07 00:06:27 -0800 (Thu, 07 Jan 2016) Log Message: ----------- htcondor: use absolute path for running latex2html Modified Paths: -------------- trunk/dports/science/htcondor/Portfile Added Paths: ----------- trunk/dports/science/htcondor/files/patch-doc_Makefile.diff Modified: trunk/dports/science/htcondor/Portfile =================================================================== --- trunk/dports/science/htcondor/Portfile 2016-01-07 07:33:32 UTC (rev 144391) +++ trunk/dports/science/htcondor/Portfile 2016-01-07 08:06:27 UTC (rev 144392) @@ -101,13 +101,14 @@ # FIXME: For some reason, Condor uses install_name_tool to have dynamic links # point to @executable_path/../lib/condor/libexpat.1.dylib, etc, instead of # @executable_path/../lib/libexpat.1.dylib, etc. Why? -patchfiles patch-src-condor_scripts-macosx_rewrite_libs.diff \ +patchfiles patch-doc_Makefile.diff \ + patch-src-condor_scripts-macosx_rewrite_libs.diff \ patch-src-condor_utils-condor_config.cpp.diff \ patch-src-python-bindings-CMakeLists.txt.diff \ patch-build-cmake-CondorPackageConfig.cmake.diff post-patch { - reinplace "s|@prefix@|${prefix}|g" ${worksrcpath}/src/condor_utils/condor_config.cpp + reinplace "s|@prefix@|${prefix}|g" ${worksrcpath}/src/condor_utils/condor_config.cpp doc/Makefile reinplace "s|g\+\+|${configure.cxx}|g" ${worksrcpath}/doc/makeman/Makefile } Added: trunk/dports/science/htcondor/files/patch-doc_Makefile.diff =================================================================== --- trunk/dports/science/htcondor/files/patch-doc_Makefile.diff (rev 0) +++ trunk/dports/science/htcondor/files/patch-doc_Makefile.diff 2016-01-07 08:06:27 UTC (rev 144392) @@ -0,0 +1,29 @@ +--- doc/Makefile.orig 2015-12-15 10:20:16.000000000 -0500 ++++ doc/Makefile 2016-01-07 02:54:38.000000000 -0500 +@@ -86,7 +86,7 @@ + latex $(LATEXARGS) ref.tex + makeindex ref + latex $(LATEXARGS) ref.tex +- latex2html -split 4 -link 2 -show_section_numbers -antialias -tmp /tmp -long_titles 3 -toc_depth 2 -local_icons ref.tex ++ @prefix@/bin/latex2html -split 4 -link 2 -show_section_numbers -antialias -tmp /tmp -long_titles 3 -toc_depth 2 -local_icons ref.tex + cd ref && perl -pi.bak -e 's,\<HEAD\>,<HEAD>\n<link rel="canonical" href="http://research.cs.wisc.edu/htcondor/manual/current/$$ARGV">\n,' condor_*.html + rm -f ref.dvi + mv ref condor-$(SUBVER)-Manual +@@ -120,7 +120,7 @@ + latex $(LATEXARGS) ref.tex + makeindex ref + latex $(LATEXARGS) ref.tex +- latex2html -split 4 -link 2 -show_section_numbers -antialias -tmp /tmp -long_titles 3 -toc_depth 2 -local_icons ref.tex ++ @prefix@/bin/latex2html -split 4 -link 2 -show_section_numbers -antialias -tmp /tmp -long_titles 3 -toc_depth 2 -local_icons ref.tex + rm -rf $(LOCALDIR) + mv ref $(LOCALDIR) + touch local.html +@@ -170,7 +170,7 @@ + ln -s symbol-html.tex symbol.tex + ln -s figuresizing-html.tex figuresizing.tex + cd makeman && make clean makeman +- latex2html -split 4 -link 2 -show_section_numbers -antialias -tmp /tmp -long_titles 3 -toc_depth 2 -local_icons just-man-pages.tex ++ @prefix@/bin/latex2html -split 4 -link 2 -show_section_numbers -antialias -tmp /tmp -long_titles 3 -toc_depth 2 -local_icons just-man-pages.tex + for html in $(MANPAGES); do \ + thisfile=just-man-pages/$$html; \ + makeman/makeman -v -i $$thisfile -s 1; \
participants (1)
-
aronnax@macports.org