pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/xfpt Add xfpt 0.09



details:   https://anonhg.NetBSD.org/pkgsrc/rev/231ee5948c6b
branches:  trunk
changeset: 309315:231ee5948c6b
user:      prlw1 <prlw1%pkgsrc.org@localhost>
date:      Fri Jun 15 13:08:52 2018 +0000

description:
Add xfpt 0.09

xfpt is a program that reads a marked-up ASCII source file, and
converts it into XML. It was written with DocBook XML in mind, but
can also be used for other forms of XML. Unlike AsciiDoc, xfpt does
not try to produce XML from a document that is also usable as a
freestanding ASCII document. The input for xfpt is very definitely
"marked up". This makes it less ambiguous for large and/or complicated
documents. xfpt is also much faster than AsciiDoc because it is
written in C and does not rely on pattern matching.

diffstat:

 textproc/xfpt/DESCR                     |   8 ++++++
 textproc/xfpt/Makefile                  |  19 +++++++++++++++
 textproc/xfpt/PLIST                     |   5 ++++
 textproc/xfpt/distinfo                  |   7 +++++
 textproc/xfpt/patches/patch-Makefile.in |  41 +++++++++++++++++++++++++++++++++
 5 files changed, 80 insertions(+), 0 deletions(-)

diffs (100 lines):

diff -r e17cde130471 -r 231ee5948c6b textproc/xfpt/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/xfpt/DESCR       Fri Jun 15 13:08:52 2018 +0000
@@ -0,0 +1,8 @@
+xfpt is a program that reads a marked-up ASCII source file, and
+converts it into XML. It was written with DocBook XML in mind, but
+can also be used for other forms of XML. Unlike AsciiDoc, xfpt does
+not try to produce XML from a document that is also usable as a
+freestanding ASCII document. The input for xfpt is very definitely
+"marked up". This makes it less ambiguous for large and/or complicated
+documents. xfpt is also much faster than AsciiDoc because it is
+written in C and does not rely on pattern matching.
diff -r e17cde130471 -r 231ee5948c6b textproc/xfpt/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/xfpt/Makefile    Fri Jun 15 13:08:52 2018 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2018/06/15 13:08:52 prlw1 Exp $
+
+DISTNAME=      xfpt-0.09
+CATEGORIES=    textproc
+MASTER_SITES=  ftp://ftp.csx.cam.ac.uk/pub/software/wordprocessing/unix/xfpt/
+EXTRACT_SUFX=  .tar.bz2
+
+MAINTAINER=    prlw1%cam.ac.uk@localhost
+HOMEPAGE=      https://github.com/Exim/exim/wiki/XpftDocs
+COMMENT=       Converts simple plain text markup into DocBook XML
+LICENSE=       gnu-gpl-v2
+
+GNU_CONFIGURE= yes
+
+MAKE_ENV+=     SHELL=${SH}
+
+BUILD_TARGET=  build
+
+.include "../../mk/bsd.pkg.mk"
diff -r e17cde130471 -r 231ee5948c6b textproc/xfpt/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/xfpt/PLIST       Fri Jun 15 13:08:52 2018 +0000
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1 2018/06/15 13:08:52 prlw1 Exp $
+bin/xfpt
+man/man1/xfpt.1
+share/xfpt/stdflags
+share/xfpt/stdmacs
diff -r e17cde130471 -r 231ee5948c6b textproc/xfpt/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/xfpt/distinfo    Fri Jun 15 13:08:52 2018 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2018/06/15 13:08:52 prlw1 Exp $
+
+SHA1 (xfpt-0.09.tar.bz2) = f556d54b9e4491dedcb5ece7b45244b13c09cce1
+RMD160 (xfpt-0.09.tar.bz2) = 656edeb5fd5126f04260b53d3025826230ea6ccc
+SHA512 (xfpt-0.09.tar.bz2) = 1e38f5708045e90ee89bc014bb065fde65baf8e9146e0d785a73fb679708e5fc9e6be6c3277697f20053706040544ea46dc539efb55bc66f569044e71afc4f2c
+Size (xfpt-0.09.tar.bz2) = 143944 bytes
+SHA1 (patch-Makefile.in) = 468e75cd7d3ba2c5280ee2f65329873fc8a08c13
diff -r e17cde130471 -r 231ee5948c6b textproc/xfpt/patches/patch-Makefile.in
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/xfpt/patches/patch-Makefile.in   Fri Jun 15 13:08:52 2018 +0000
@@ -0,0 +1,41 @@
+$NetBSD: patch-Makefile.in,v 1.1 2018/06/15 13:08:52 prlw1 Exp $
+
+Add destdir support.
+
+--- Makefile.in.orig   2012-05-18 08:15:54.000000000 +0000
++++ Makefile.in
+@@ -13,9 +13,10 @@ LFLAGS=@LFLAGS@
+ INSTALL = @INSTALL@
+ INSTALL_DATA = @INSTALL_DATA@
+ 
+-BINDIR=@prefix@/bin
+-DATADIR=@prefix@/share/xfpt
+-MANDIR=@prefix@/man
++prefix  = @prefix@
++BINDIR  = @prefix@/bin
++DATADIR = @datadir@/xfpt
++MANDIR  = @mandir@
+ 
+ # BINDIR is the directory in which the commands are installed.
+ # DATADIR is the directory in which the include styles are installed.
+@@ -48,13 +49,13 @@ distclean:;     rm Makefile config.cache
+ test:; cd testing; runtest
+ 
+ install:        build
+-              $(mkinstalldirs) $(BINDIR)
+-              $(mkinstalldirs) $(DATADIR)
+-              $(mkinstalldirs) $(MANDIR)
+-              $(mkinstalldirs) $(MANDIR)/man1
+-              $(INSTALL) src/xfpt $(BINDIR)/xfpt
+-              $(INSTALL_DATA) share/* $(DATADIR)
+-              $(INSTALL_DATA) doc/xfpt.1 $(MANDIR)/man1
++              $(mkinstalldirs) $(DESTDIR)$(BINDIR)
++              $(mkinstalldirs) $(DESTDIR)$(DATADIR)
++              $(mkinstalldirs) $(DESTDIR)$(MANDIR)
++              $(mkinstalldirs) $(DESTDIR)$(MANDIR)/man1
++              $(INSTALL) src/xfpt $(DESTDIR)$(BINDIR)/xfpt
++              $(INSTALL_DATA) share/* $(DESTDIR)$(DATADIR)
++              $(INSTALL_DATA) doc/xfpt.1 $(DESTDIR)$(MANDIR)/man1
+ 
+ uninstall:;     rm -rf \
+               $(BINDIR)/xfpt \



Home | Main Index | Thread Index | Old Index