pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/textproc/odt2tex
Module Name: pkgsrc
Committed By: wiz
Date: Tue Jul 26 12:53:11 UTC 2016
Added Files:
pkgsrc/textproc/odt2tex: DESCR Makefile PLIST distinfo
pkgsrc/textproc/odt2tex/patches: patch-Makefile
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/odt2tex/DESCR \
pkgsrc/textproc/odt2tex/Makefile pkgsrc/textproc/odt2tex/PLIST \
pkgsrc/textproc/odt2tex/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/odt2tex/patches/patch-Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/textproc/odt2tex/DESCR
diff -u /dev/null pkgsrc/textproc/odt2tex/DESCR:1.1
--- /dev/null Tue Jul 26 12:53:11 2016
+++ pkgsrc/textproc/odt2tex/DESCR Tue Jul 26 12:53:11 2016
@@ -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.
Index: pkgsrc/textproc/odt2tex/Makefile
diff -u /dev/null pkgsrc/textproc/odt2tex/Makefile:1.1
--- /dev/null Tue Jul 26 12:53:11 2016
+++ pkgsrc/textproc/odt2tex/Makefile Tue Jul 26 12:53:11 2016
@@ -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"
Index: pkgsrc/textproc/odt2tex/PLIST
diff -u /dev/null pkgsrc/textproc/odt2tex/PLIST:1.1
--- /dev/null Tue Jul 26 12:53:11 2016
+++ pkgsrc/textproc/odt2tex/PLIST Tue Jul 26 12:53:11 2016
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2016/07/26 12:53:11 wiz Exp $
+bin/odt2tex
Index: pkgsrc/textproc/odt2tex/distinfo
diff -u /dev/null pkgsrc/textproc/odt2tex/distinfo:1.1
--- /dev/null Tue Jul 26 12:53:11 2016
+++ pkgsrc/textproc/odt2tex/distinfo Tue Jul 26 12:53:11 2016
@@ -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
Index: pkgsrc/textproc/odt2tex/patches/patch-Makefile
diff -u /dev/null pkgsrc/textproc/odt2tex/patches/patch-Makefile:1.1
--- /dev/null Tue Jul 26 12:53:11 2016
+++ pkgsrc/textproc/odt2tex/patches/patch-Makefile Tue Jul 26 12:53:11 2016
@@ -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