diff options
author | agc <agc@pkgsrc.org> | 2007-02-23 21:32:07 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2007-02-23 21:32:07 +0000 |
commit | f42288f1487f96211d659c8f824b7f8f66c7eda2 (patch) | |
tree | cc5ed5e2183288ee297b46f6aa33241e2cb078df | |
parent | 8f6782424fba4bd7379cf7b61466e5c7232abb1e (diff) | |
download | pkgsrc-f42288f1487f96211d659c8f824b7f8f66c7eda2.tar.gz |
Initial import of flpsed-0.3.9 into the Packages Collection. With thanks to
Perry Metzger for the nudge.
flpsed is a WYSIWYG PostScript2 annotator. You can't remove or modify
existing elements of a document, but flpsed lets you add arbitrary
text lines to existing PostScript 2 documents. Added lines can later
be re-edited with flpsed. Using pdftops, which is part of xpdf one can
convert PDF documents to PostScript and also add text to them. flpsed
is useful for filling in forms, adding notes etc. GsWidget is now
part of flpsed. flpsed is released under the GPL.
Features:
* Add arbitrary text to existing PostScript documents.
* Reedit text, that has been added with flpsed.
* The overall structure of the PostScript document is not
modified. flpsed only adds the additional text.
* Batch processing (no X11 required) to modify tagged text lines
that have been entered interactively with flpsed before. This
is very useful for repeatedly filling in forms.
* Text lines can be imported from other flpsed-modified documents.
* Import and export PDF. Therefore it can be used as a PDF editor as well.
-rw-r--r-- | print/flpsed/DESCR | 18 | ||||
-rw-r--r-- | print/flpsed/Makefile | 22 | ||||
-rw-r--r-- | print/flpsed/PLIST | 4 | ||||
-rw-r--r-- | print/flpsed/distinfo | 6 | ||||
-rw-r--r-- | print/flpsed/patches/patch-aa | 13 |
5 files changed, 63 insertions, 0 deletions
diff --git a/print/flpsed/DESCR b/print/flpsed/DESCR new file mode 100644 index 00000000000..fd4efeee85c --- /dev/null +++ b/print/flpsed/DESCR @@ -0,0 +1,18 @@ +flpsed is a WYSIWYG PostScript2 annotator. You can't remove or modify +existing elements of a document, but flpsed lets you add arbitrary +text lines to existing PostScript 2 documents. Added lines can later +be re-edited with flpsed. Using pdftops, which is part of xpdf one can +convert PDF documents to PostScript and also add text to them. flpsed +is useful for filling in forms, adding notes etc. GsWidget is now +part of flpsed. flpsed is released under the GPL. + +Features: + * Add arbitrary text to existing PostScript documents. + * Reedit text, that has been added with flpsed. + * The overall structure of the PostScript document is not + modified. flpsed only adds the additional text. + * Batch processing (no X11 required) to modify tagged text lines + that have been entered interactively with flpsed before. This + is very useful for repeatedly filling in forms. + * Text lines can be imported from other flpsed-modified documents. + * Import and export PDF. Therefore it can be used as a PDF editor as well. diff --git a/print/flpsed/Makefile b/print/flpsed/Makefile new file mode 100644 index 00000000000..54e04c1e0d8 --- /dev/null +++ b/print/flpsed/Makefile @@ -0,0 +1,22 @@ +# $NetBSD: Makefile,v 1.1.1.1 2007/02/23 21:32:07 agc Exp $ + +DISTNAME= flpsed-0.3.9 +CATEGORIES= print +MASTER_SITES= http://www.ecademix.com/JohannesHofmann/ + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://www.ecademix.com/JohannesHofmann/flpsed.html +COMMENT= WYSIWYG PostScript2 annotator + +GNU_CONFIGURE= yes +USE_LANGUAGES+= c c++ +USE_TOOLS+= gmake gs:run + +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/flpsed + ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/flpsed + +.include "../../x11/fltk/buildlink3.mk" + +.include "../../mk/x11.buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/print/flpsed/PLIST b/print/flpsed/PLIST new file mode 100644 index 00000000000..d7482bf6e8c --- /dev/null +++ b/print/flpsed/PLIST @@ -0,0 +1,4 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2007/02/23 21:32:07 agc Exp $ +bin/flpsed +share/doc/flpsed/README +@dirrm share/doc/flpsed diff --git a/print/flpsed/distinfo b/print/flpsed/distinfo new file mode 100644 index 00000000000..8d03e8a3084 --- /dev/null +++ b/print/flpsed/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2007/02/23 21:32:07 agc Exp $ + +SHA1 (flpsed-0.3.9.tar.gz) = b6638b0c0d496a4973eabd7ae74c9aae1d833e00 +RMD160 (flpsed-0.3.9.tar.gz) = a9be5edbd83d5d41b9d04d43be82851405c0e79e +Size (flpsed-0.3.9.tar.gz) = 100555 bytes +SHA1 (patch-aa) = 09da6993bf1ee4f1ce8464ef0421344c1364092e diff --git a/print/flpsed/patches/patch-aa b/print/flpsed/patches/patch-aa new file mode 100644 index 00000000000..be30a42a13b --- /dev/null +++ b/print/flpsed/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2007/02/23 21:32:07 agc Exp $ + +--- src/PostscriptDSC.cxx 2007/02/23 12:17:40 1.1 ++++ src/PostscriptDSC.cxx 2007/02/23 12:17:54 +@@ -127,7 +127,7 @@ + fprintf(stderr, "Page %d already defined\n", p1); + return 1; + } +- if (p1 > 1 && page_off[p1 - 2] == NULL) { ++ if (p1 > 1 && page_off[p1 - 2] == 0) { + fprintf(stderr, "Page %d not yet defined\n", p1 - 1); + return 1; + } |