Hi ports@,
below is an bugfix update for print/latex-mk. All tests pass.
Cheers,
Fabian
Changelog:
December 28, 2010. LaTeX-Mk version 2.1 has been released. This is a bug fix
release.
Fixed a bug in the quoting of lgrind related variables. The result is that
the clean target didn't quite work right.
Improved quoting in the latex-mk script to better handle the case of a file
name with spaces in it.
April 5, 2010. LaTeX-Mk version 2.0 has been released. This is a bug fix
release.
Added support for the bibunits package.
Fix a bug when exporting xfig figures to pdf (they were exporting to
postscript instead).
No longer install the .dvi or .ps versions of the manual.
Fix a bug where PDFLATEX_FLAGS wasn't being properly used.
Index: Makefile
===================================================================
RCS file: /cvs/ports/print/latex-mk/Makefile,v
retrieving revision 1.8
diff -u -p -r1.8 Makefile
--- Makefile 1 Jul 2013 10:39:18 -0000 1.8
+++ Makefile 25 Nov 2014 15:12:47 -0000
@@ -2,8 +2,7 @@
COMMENT= set of Makefile fragments to manage LaTeX documents
-DISTNAME= latex-mk-1.9.1
-REVISION= 1
+DISTNAME= latex-mk-2.1
CATEGORIES= print
HOMEPAGE= http://latex-mk.sourceforge.net/
@@ -19,11 +18,6 @@ TEST_DEPENDS=print/texlive/base
post-install:
${INSTALL_DATA} ${WRKSRC}/dated_draft.ps ${PREFIX}/share/latex-mk
-
-# workaround for modified dvips behavior
-pre-test:
- @perl -pi -e 's/^(\w+)?dvips/env \1dvips/' \
- ${WRKSRC}/testsuite/bmake_ref/*.ref
do-test:
@cd ${WRKBUILD}/testsuite && ./run_tests.sh --without-gmake
Index: distinfo
===================================================================
RCS file: /cvs/ports/print/latex-mk/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- distinfo 24 Aug 2009 07:03:02 -0000 1.3
+++ distinfo 25 Nov 2014 15:12:47 -0000
@@ -1,5 +1,2 @@
-MD5 (latex-mk-1.9.1.tar.gz) = GKvojOVypSXAXSSaJ3ScwQ==
-RMD160 (latex-mk-1.9.1.tar.gz) = VjanpBJhAFq26fOFiQ0+FfmE430=
-SHA1 (latex-mk-1.9.1.tar.gz) = yOZ9EGPaVVe2wltVM3isKbc0chk=
-SHA256 (latex-mk-1.9.1.tar.gz) = pmzHAjxFYxo8MJkeTjlKILrFXlIoq9iGaQY882W39ao=
-SIZE (latex-mk-1.9.1.tar.gz) = 579556
+SHA256 (latex-mk-2.1.tar.gz) = bp3xxg2v2tzMAMRNyWYzD+MAJW3LgpzRsEZH17eVbd4=
+SIZE (latex-mk-2.1.tar.gz) = 448419
Index: patches/patch-Makefile_in
===================================================================
RCS file: /cvs/ports/print/latex-mk/patches/patch-Makefile_in,v
retrieving revision 1.2
diff -u -p -r1.2 patch-Makefile_in
--- patches/patch-Makefile_in 24 Aug 2009 07:03:02 -0000 1.2
+++ patches/patch-Makefile_in 25 Nov 2014 15:12:47 -0000
@@ -1,7 +1,7 @@
$OpenBSD: patch-Makefile_in,v 1.2 2009/08/24 07:03:02 jasper Exp $
---- Makefile.in.orig Mon Aug 27 18:16:05 2007
-+++ Makefile.in Mon Aug 24 00:46:46 2009
-@@ -196,7 +196,7 @@ MKSRCS = latex.mk.in latex.subdir.mk.in lgrind.mk.in m
+--- Makefile.in.orig Tue Dec 28 23:37:20 2010
++++ Makefile.in Tue Nov 25 15:55:36 2014
+@@ -209,7 +209,7 @@ MKSRCS = latex.mk.in latex.subdir.mk.in lgrind.mk.in m
BMKFILES = ${MKSRCS:.mk.in=.mk}
GMKFILES = ${MKSRCS:.mk.in=.gmk}
PSFILES = dated_draft.ps
Index: patches/patch-doc_Makefile_in
===================================================================
RCS file: /cvs/ports/print/latex-mk/patches/patch-doc_Makefile_in,v
retrieving revision 1.2
diff -u -p -r1.2 patch-doc_Makefile_in
--- patches/patch-doc_Makefile_in 24 Aug 2009 07:03:02 -0000 1.2
+++ patches/patch-doc_Makefile_in 25 Nov 2014 15:12:47 -0000
@@ -1,21 +1,21 @@
$OpenBSD: patch-doc_Makefile_in,v 1.2 2009/08/24 07:03:02 jasper Exp $
---- doc/Makefile.in.orig Mon Aug 27 18:15:54 2007
-+++ doc/Makefile.in Mon Aug 24 00:46:46 2009
-@@ -17,7 +17,7 @@
- srcdir = @srcdir@
- top_srcdir = @top_srcdir@
+--- doc/Makefile.in.orig Tue Nov 25 15:27:34 2014
++++ doc/Makefile.in Tue Nov 25 15:28:38 2014
+@@ -15,7 +15,7 @@
+ @SET_MAKE@
+
VPATH = @srcdir@
-pkgdatadir = $(datadir)/@PACKAGE@
+pkgdatadir = $(datadir)/doc/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
- top_builddir = ..
-@@ -172,7 +172,7 @@ sharedstatedir = @sharedstatedir@
- sysconfdir = @sysconfdir@
- target_alias = @target_alias@
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+@@ -183,7 +183,7 @@ target_alias = @target_alias@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
info_TEXINFOS = latex-mk.texi
--pkgdata_DATA = ${html_docs} ${ps_docs} ${pdf_docs} ${dvi_docs}
-+pkgdata_DATA = ${html_docs}
+-dist_pkgdata_DATA = ${html_docs} ${pdf_docs}
++dist_pkgdata_DATA = ${html_docs}
html_docs = ${info_TEXINFOS:.texi=.html}
- ps_docs = ${info_TEXINFOS:.texi=.ps}
pdf_docs = ${info_TEXINFOS:.texi=.pdf}
+
Index: patches/patch-example_Makefile_in
===================================================================
RCS file: /cvs/ports/print/latex-mk/patches/patch-example_Makefile_in,v
retrieving revision 1.2
diff -u -p -r1.2 patch-example_Makefile_in
--- patches/patch-example_Makefile_in 24 Aug 2009 07:03:02 -0000 1.2
+++ patches/patch-example_Makefile_in 25 Nov 2014 15:12:47 -0000
@@ -1,16 +1,16 @@
$OpenBSD: patch-example_Makefile_in,v 1.2 2009/08/24 07:03:02 jasper Exp $
---- example/Makefile.in.orig Mon Aug 27 18:15:55 2007
-+++ example/Makefile.in Mon Aug 24 00:46:46 2009
-@@ -17,7 +17,7 @@
- srcdir = @srcdir@
- top_srcdir = @top_srcdir@
+--- example/Makefile.in.orig Tue Nov 25 15:30:12 2014
++++ example/Makefile.in Tue Nov 25 15:30:19 2014
+@@ -15,7 +15,7 @@
+ @SET_MAKE@
+
VPATH = @srcdir@
-pkgdatadir = $(datadir)/@PACKAGE@
+pkgdatadir = $(datadir)/examples/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
- top_builddir = ..
-@@ -181,7 +181,7 @@ EXFILES = \
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+@@ -194,7 +194,7 @@ EXFILES = \
BMKFILES = ${MKSRCS:.in=.mk}
GMKFILES = ${MKSRCS:.in=.gmk}
Index: patches/patch-example_tgif_Makefile_in
===================================================================
RCS file: /cvs/ports/print/latex-mk/patches/patch-example_tgif_Makefile_in,v
retrieving revision 1.2
diff -u -p -r1.2 patch-example_tgif_Makefile_in
--- patches/patch-example_tgif_Makefile_in 24 Aug 2009 07:03:02 -0000
1.2
+++ patches/patch-example_tgif_Makefile_in 25 Nov 2014 15:12:47 -0000
@@ -1,18 +1,18 @@
$OpenBSD: patch-example_tgif_Makefile_in,v 1.2 2009/08/24 07:03:02 jasper Exp $
---- example/tgif/Makefile.in.orig Mon Aug 27 18:15:57 2007
-+++ example/tgif/Makefile.in Mon Aug 24 00:46:46 2009
-@@ -17,7 +17,7 @@
- srcdir = @srcdir@
- top_srcdir = @top_srcdir@
+--- example/tgif/Makefile.in.orig Tue Dec 28 23:37:14 2010
++++ example/tgif/Makefile.in Tue Nov 25 15:55:36 2014
+@@ -15,7 +15,7 @@
+ @SET_MAKE@
+
VPATH = @srcdir@
-pkgdatadir = $(datadir)/@PACKAGE@
+pkgdatadir = $(datadir)/examples/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
- top_builddir = ../..
-@@ -160,7 +160,7 @@ sharedstatedir = @sharedstatedir@
- sysconfdir = @sysconfdir@
- target_alias = @target_alias@
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+@@ -170,7 +170,7 @@ target_alias = @target_alias@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
TGIFSRCS = myfig.obj
-pkgexampletgifdir = ${pkgdatadir}/example/tgif
+pkgexampletgifdir = ${pkgdatadir}/tgif
Index: patches/patch-testsuite_bmake_ref_graphic1_dvi1_ref
===================================================================
RCS file: patches/patch-testsuite_bmake_ref_graphic1_dvi1_ref
diff -N patches/patch-testsuite_bmake_ref_graphic1_dvi1_ref
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-testsuite_bmake_ref_graphic1_dvi1_ref 25 Nov 2014 15:12:47
-0000
@@ -0,0 +1,13 @@
+$OpenBSD$
+--- testsuite/bmake_ref/graphic1_dvi1.ref.orig Tue Nov 25 16:01:22 2014
++++ testsuite/bmake_ref/graphic1_dvi1.ref Tue Nov 25 16:01:41 2014
+@@ -1,5 +1,5 @@
+-convert jpg1.jpg jpg1.eps
+-convert jpg2.jpg jpg2.eps
+-convert png1.png png1.eps
+-convert png2.png png2.eps
++convert\ jpg1.jpg jpg1.eps
++convert\ jpg2.jpg jpg2.eps
++convert\ png1.png png1.eps
++convert\ png2.png png2.eps
+ env LATEX=latex LATEX_FLAGS= BIBTEX=bibtex BIBTEX_FLAGS= MAKEIDX=makeindex
MAKEIDX_FLAGS= MAKEGLS=makeindex MAKEGLS_FLAGS= POST_BIBTEX_HOOK= latex-mk
test1.tex
Index: patches/patch-xfig_mk_in_in
===================================================================
RCS file: patches/patch-xfig_mk_in_in
diff -N patches/patch-xfig_mk_in_in
--- patches/patch-xfig_mk_in_in 24 Mar 2010 16:15:06 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,12 +0,0 @@
-$OpenBSD: patch-xfig_mk_in_in,v 1.1 2010/03/24 16:15:06 oga Exp $
---- xfig.mk.in.in.orig Wed Mar 17 18:10:29 2010
-+++ xfig.mk.in.in Wed Mar 17 18:10:36 2010
-@@ -192,6 +192,6 @@ BMK: $(FIG2DEV:Q) $(FIG2DEV_FLAGS)
$(FIG2DEV_EPS_FLAGS
- GMK: $(FIG2DEV) $(FIG2DEV_FLAGS) $(FIG2DEV_EPS_FLAGS) $*.fig $*.eps
-
- .fig.pdf :
--BMK: $(FIG2DEV:Q) $(FIG2DEV_FLAGS) $(FIG2DEV_PDF_FLAGS) $*.fig $*.eps
--GMK: $(FIG2DEV) $(FIG2DEV_FLAGS) $(FIG2DEV_PDF_FLAGS) $*.fig $*.eps
-+BMK: $(FIG2DEV:Q) $(FIG2DEV_FLAGS) $(FIG2DEV_PDF_FLAGS) $*.fig $*.pdf
-+GMK: $(FIG2DEV) $(FIG2DEV_FLAGS) $(FIG2DEV_PDF_FLAGS) $*.fig $*.pdf
-