pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/odt2tex Import odt2tex-0.0.12 as textproc/odt...
details: https://anonhg.NetBSD.org/pkgsrc/rev/312fc2eec291
branches: trunk
changeset: 350369:312fc2eec291
user: wiz <wiz%pkgsrc.org@localhost>
date: Tue Jul 26 12:53:11 2016 +0000
description:
Import odt2tex-0.0.12 as textproc/odt2tex.
odt2tex is a simple command line tool that converts ODT (Libre/OpenOffice
text documents) to LaTeX .tex input files. It is released under the
MIT license and written in plain C depending only on two further
libraries: libzip and expat.
diffstat:
textproc/odt2tex/DESCR | 4 ++++
textproc/odt2tex/Makefile | 16 ++++++++++++++++
textproc/odt2tex/PLIST | 2 ++
textproc/odt2tex/distinfo | 7 +++++++
textproc/odt2tex/patches/patch-Makefile | 31 +++++++++++++++++++++++++++++++
5 files changed, 60 insertions(+), 0 deletions(-)
diffs (80 lines):
diff -r a37def19e093 -r 312fc2eec291 textproc/odt2tex/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/odt2tex/DESCR Tue Jul 26 12:53:11 2016 +0000
@@ -0,0 +1,4 @@
+odt2tex is a simple command line tool that converts ODT (Libre/OpenOffice
+text documents) to LaTeX .tex input files. It is released under the
+MIT license and written in plain C depending only on two further
+libraries: libzip and expat.
diff -r a37def19e093 -r 312fc2eec291 textproc/odt2tex/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/odt2tex/Makefile Tue Jul 26 12:53:11 2016 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2016/07/26 12:53:11 wiz Exp $
+
+DISTNAME= odt2tex-0.0.12
+CATEGORIES= textproc
+MASTER_SITES= ${MASTER_SITE_GITHUB:=simonaw/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://www.chronowerks.de/odt/
+COMMENT= Convert ODT (Libre/OpenOffice text documents) to LaTeX input files
+LICENSE= mit
+
+USE_TOOLS+= pkg-config
+
+.include "../../archivers/libzip/buildlink3.mk"
+.include "../../textproc/expat/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r a37def19e093 -r 312fc2eec291 textproc/odt2tex/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/odt2tex/PLIST Tue Jul 26 12:53:11 2016 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2016/07/26 12:53:11 wiz Exp $
+bin/odt2tex
diff -r a37def19e093 -r 312fc2eec291 textproc/odt2tex/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/odt2tex/distinfo Tue Jul 26 12:53:11 2016 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2016/07/26 12:53:11 wiz Exp $
+
+SHA1 (odt2tex-0.0.12.tar.gz) = a258823a176435a5c630b20c11976d63f6a0c693
+RMD160 (odt2tex-0.0.12.tar.gz) = cfb612594dcc303d0737ba0b3beb955eea6eb593
+SHA512 (odt2tex-0.0.12.tar.gz) = fa51f96f02176927e2f7d6d475c9dc888b874cf0c329e4df22938626e6f01a1206bca751b6712a6adc7bc7213733bc28b60999add2692e3e2725b86251d6e2f9
+Size (odt2tex-0.0.12.tar.gz) = 1018780 bytes
+SHA1 (patch-Makefile) = ba465a5a40f65dc5b16637a172726dcc8568b3c9
diff -r a37def19e093 -r 312fc2eec291 textproc/odt2tex/patches/patch-Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/odt2tex/patches/patch-Makefile Tue Jul 26 12:53:11 2016 +0000
@@ -0,0 +1,31 @@
+$NetBSD: patch-Makefile,v 1.1 2016/07/26 12:53:11 wiz Exp $
+
+Fix include paths and link paths, and fix install target.
+
+--- Makefile.orig 2016-07-26 03:17:27.000000000 +0000
++++ Makefile
+@@ -1,12 +1,12 @@
+ compiler = gcc
+ target = odt2tex
+-incdirs = -Iinc
++incdirs = -Iinc `pkg-config --cflags libzip`
+ src = src
+ rm = rm
+ inc = inc
+ optimize = -O2
+ flags = -pipe -Wall $(optimize)
+-libs = -lexpat -lzip
++libs = -lexpat `pkg-config --libs libzip`
+ strip = -s
+
+ # Objects for Main Binary
+@@ -32,7 +32,8 @@ clean :
+ -@$(rm) $(target) $(src)/*.o 2>/dev/null
+
+ install:
+- install -D $(target) $(DESTDIR)
++ install -d $(DESTDIR)$(PREFIX)/bin
++ install $(target) $(DESTDIR)$(PREFIX)/bin
+
+ test:
+ ./odt2tex in=testdoc.odt out=testdoc-out
Home |
Main Index |
Thread Index |
Old Index