Update textproc/p5-LaTeX-Driver to 0.200.4

+maintainership
This commit is contained in:
afresh1 2015-05-25 17:11:53 +00:00
parent 8fdb26887a
commit 3570860068
4 changed files with 32 additions and 43 deletions

View File

@ -1,24 +1,29 @@
# $OpenBSD: Makefile,v 1.3 2013/04/24 07:58:12 sthen Exp $
# $OpenBSD: Makefile,v 1.4 2015/05/25 17:11:53 afresh1 Exp $
COMMENT= driver to format LaTeX documents
COMMENT = driver to format LaTeX documents
DISTNAME= LaTeX-Driver-0.12
CATEGORIES= textproc
DISTNAME = LaTeX-Driver-0.200.4
CATEGORIES = textproc
MODULES= cpan
MODULES = cpan
MAINTAINER = Andrew Fresh <afresh1@openbsd.org>
# Perl
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_CDROM = Yes
CONFIGURE_ENV+= PREFIX=${PREFIX}
#CONFIGURE_ENV+= PREFIX=${PREFIX}
RUN_DEPENDS= print/texlive/base \
devel/p5-Class-Accessor \
devel/p5-Exception-Class \
devel/p5-File-Slurp \
devel/p5-Readonly
RUN_DEPENDS = print/texlive/base \
devel/p5-Class-Accessor>=0 \
devel/p5-Exception-Class>=0 \
devel/p5-File-Slurp>=0 \
devel/p5-File-pushd>=0 \
devel/p5-Readonly>=0
TEST_DEPENDS= print/texlive/texmf,-full \
devel/p5-Test-Exception
TEST_DEPENDS= print/texlive/texmf,-full
post-install:
rm -f ${PREFIX}/${P5SITE}/LaTeX/Driver.pm.new
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (LaTeX-Driver-0.12.tar.gz) = ggCgsAkXjZj8pxUMCFSR9P9gUoQQfQMhgZBcMuoVxa8=
SIZE (LaTeX-Driver-0.12.tar.gz) = 34850
SHA256 (LaTeX-Driver-0.200.4.tar.gz) = +FNQGEes6DS3hgkLrmMA7fvwINnexxBJekaEykWYt3s=
SIZE (LaTeX-Driver-0.200.4.tar.gz) = 63968

View File

@ -1,26 +1,12 @@
$OpenBSD: patch-Makefile_PL,v 1.1.1.1 2012/06/27 08:54:27 sthen Exp $
--- Makefile.PL.orig Thu Mar 17 19:39:05 2011
+++ Makefile.PL Thu Mar 17 19:52:45 2011
@@ -39,14 +39,14 @@ EOF
$OpenBSD: patch-Makefile_PL,v 1.2 2015/05/25 17:11:53 afresh1 Exp $
--- Makefile.PL.orig Sun May 10 11:04:05 2015
+++ Makefile.PL Sun May 10 11:04:29 2015
@@ -10,7 +10,7 @@ license 'perl';
all_from 'lib/LaTeX/Driver.pm';
readme_from 'lib/LaTeX/Driver.pm';
#------------------------------------------------------------------------
-requires_external_bin 'latex';
+#requires_external_bin 'latex';
-our $LATEX = ttprompt('latex path', find_program($ENV{PATH}, "latex"));
-our $PDFLATEX = ttprompt('pdflatex path', find_program($ENV{PATH}, "pdflatex"));
-our $BIBTEX = ttprompt('bibtex path', find_program($ENV{PATH}, "bibtex"));
-our $MAKEINDEX = ttprompt('makeindex path', find_program($ENV{PATH}, "makeindex"));
-our $DVIPS = ttprompt('dvips path', find_program($ENV{PATH}, "dvips"));
-our $DVIPDFM = ttprompt('dvipdfm path', find_program($ENV{PATH}, "dvipdfm"));
-our $PS2PDF = ttprompt('ps2pdf path', find_program($ENV{PATH}, "ps2pdf"));
-our $PDF2PS = ttprompt('pdf2ps path', find_program($ENV{PATH}, "pdf2ps"));
+our $LATEX = $ENV{PREFIX} . "/bin/latex";
+our $PDFLATEX = $ENV{PREFIX} . "/bin/pdflatex";
+our $BIBTEX = $ENV{PREFIX} . "/bin/bibtex";
+our $MAKEINDEX = $ENV{PREFIX} . "/bin/makeindex";
+our $DVIPS = $ENV{PREFIX} . "/bin/dvips";
+our $DVIPDFM = $ENV{PREFIX} . "/bin/dvipdfm";
+our $PS2PDF = $ENV{PREFIX} . "/bin/ps2pdf";
+our $PDF2PS = $ENV{PREFIX} . "/bin/pdf2ps";
if (!$LATEX and !$PDFLATEX) {
my $continue = ttprompt('You don\'t seem to have LaTeX installed. Continue anyway?', 'N');
requires 'Class::Accessor';
requires 'Cwd';

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2012/06/27 08:54:27 sthen Exp $
@comment $OpenBSD: PLIST,v 1.2 2015/05/25 17:11:53 afresh1 Exp $
bin/latex2dvi
bin/latex2pdf
bin/latex2ps
@ -6,10 +6,8 @@ ${P5SITE}/LaTeX/
${P5SITE}/LaTeX/Driver/
${P5SITE}/LaTeX/Driver.pm
${P5SITE}/LaTeX/Driver/FilterProgram.pm
${P5SITE}/LaTeX/Driver/Paths.pm
@man man/man1/latex2dvi.1
@man man/man1/latex2pdf.1
@man man/man1/latex2ps.1
@man man/man3p/LaTeX::Driver.3p
@man man/man3p/LaTeX::Driver::FilterProgram.3p
@man man/man3p/LaTeX::Driver::Paths.3p