pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

tex-ptex2pdf: Import tex-ptex2pdf-20200520.0 as wip/tex-ptex2pdf



Module Name:	pkgsrc-wip
Committed By:	Atsushi Toyokura <asteria.at%gmail.com@localhost>
Pushed By:	steleto
Date:		Sun Jan 24 11:01:36 2021 +0900
Changeset:	383713378e7f0b9028e488efcfeda72c371fff25

Modified Files:
	Makefile
Added Files:
	tex-ptex2pdf/DESCR
	tex-ptex2pdf/Makefile
	tex-ptex2pdf/PLIST
	tex-ptex2pdf/distinfo

Log Message:
tex-ptex2pdf: Import tex-ptex2pdf-20200520.0 as wip/tex-ptex2pdf

The Lua script provides system-independent support of Japanese
typesetting engines in TeXworks. As TeXworks typesetting setup
does not allow for multistep processing, this script runs one
of the ptex-based programs (ptex, uptex, eptex, platex,
uplatex) followed by dvipdfmx.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=383713378e7f0b9028e488efcfeda72c371fff25

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile              |  1 +
 tex-ptex2pdf/DESCR    |  5 +++++
 tex-ptex2pdf/Makefile | 25 +++++++++++++++++++++++++
 tex-ptex2pdf/PLIST    |  3 +++
 tex-ptex2pdf/distinfo |  6 ++++++
 5 files changed, 40 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 7804a0839c..fc6a938319 100644
--- a/Makefile
+++ b/Makefile
@@ -5300,6 +5300,7 @@ SUBDIR+=	tex-platexcheat-doc
 SUBDIR+=	tex-plautopatch
 SUBDIR+=	tex-plautopatch-doc
 SUBDIR+=	tex-ptex-manual-doc
+SUBDIR+=	tex-ptex2pdf
 SUBDIR+=	tex-pxtatescale
 SUBDIR+=	tex-pxtatescale-doc
 SUBDIR+=	tex-qrcode
diff --git a/tex-ptex2pdf/DESCR b/tex-ptex2pdf/DESCR
new file mode 100644
index 0000000000..ab729f22e4
--- /dev/null
+++ b/tex-ptex2pdf/DESCR
@@ -0,0 +1,5 @@
+The Lua script provides system-independent support of Japanese
+typesetting engines in TeXworks. As TeXworks typesetting setup
+does not allow for multistep processing, this script runs one
+of the ptex-based programs (ptex, uptex, eptex, platex,
+uplatex) followed by dvipdfmx.
diff --git a/tex-ptex2pdf/Makefile b/tex-ptex2pdf/Makefile
new file mode 100644
index 0000000000..92ab17b394
--- /dev/null
+++ b/tex-ptex2pdf/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD$
+
+DISTNAME=	ptex2pdf
+PKGNAME=	tex-${DISTNAME}-20200520.0
+TEXLIVE_REV=	55219
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://ctan.org/pkg/ptex2pdf
+COMMENT=	Convert Japanese TeX documents to PDF
+LICENSE=	gnu-gpl-v2
+
+INSTALLATION_DIRS+=	bin
+
+SUBST_CLASSES+=		shebang
+SUBST_STAGE.shebang=	pre-configure
+SUBST_MESSAGE.shebang=	Fixing shebang.
+SUBST_FILES.shebang=	texmf-dist/scripts/ptex2pdf/ptex2pdf.lua
+SUBST_SED.shebang=	-e "s,^\#!/usr/bin/env texlua$$,\#!/usr/pkg/bin/texlua,"
+
+post-install:
+	${LN} -sf ../share/texmf-dist/scripts/ptex2pdf/ptex2pdf.lua \
+		${DESTDIR}${PREFIX}/bin/ptex2pdf
+
+.include "../../print/texlive/package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/tex-ptex2pdf/PLIST b/tex-ptex2pdf/PLIST
new file mode 100644
index 0000000000..aaa93e28e7
--- /dev/null
+++ b/tex-ptex2pdf/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+bin/ptex2pdf
+share/texmf-dist/scripts/ptex2pdf/ptex2pdf.lua
diff --git a/tex-ptex2pdf/distinfo b/tex-ptex2pdf/distinfo
new file mode 100644
index 0000000000..a9f4db65cb
--- /dev/null
+++ b/tex-ptex2pdf/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (ptex2pdf.r55219.tar.xz) = b2637035be7fd401652d330aafb292e34c4c79d1
+RMD160 (ptex2pdf.r55219.tar.xz) = 10a9b053aaa1d5eb955e41317e197e0a1c4ba7ac
+SHA512 (ptex2pdf.r55219.tar.xz) = 7ec55143e6f4a1824953f73744edb85a4c4c9d6e4f96e2cad5886cf87209d0b2a4bd8d334b51c0ed296441e3ba9a9a870ae3e4dfaa5a7635c2c029181a5e16a8
+Size (ptex2pdf.r55219.tar.xz) = 7832 bytes


Home | Main Index | Thread Index | Old Index