aboutsummaryrefslogtreecommitdiff
path: root/print/flpsed
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-07-19 13:25:22 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-07-19 13:25:22 +0000
commitdaff8bb61cea3e3cd3210c8d325954b379cb37e9 (patch)
tree9daed26d499553b7094a7754cd4636c7316bcca6 /print/flpsed
parent960798b5bfc5cb1b55aadad077051a7ddda14c7c (diff)
downloadports-daff8bb61cea3e3cd3210c8d325954b379cb37e9.tar.gz
ports-daff8bb61cea3e3cd3210c8d325954b379cb37e9.zip
- Update to 0.6.1
- Fix dependencys - Fix grammer - Update WWW PR: 125144 Submitted by: bf <bf2006a@yahoo.com> Approved by: maintainer timeout
Notes
Notes: svn path=/head/; revision=217089
Diffstat (limited to 'print/flpsed')
-rw-r--r--print/flpsed/Makefile25
-rw-r--r--print/flpsed/distinfo6
-rw-r--r--print/flpsed/pkg-descr12
3 files changed, 30 insertions, 13 deletions
diff --git a/print/flpsed/Makefile b/print/flpsed/Makefile
index f7be3765b3be..c633be7c5f62 100644
--- a/print/flpsed/Makefile
+++ b/print/flpsed/Makefile
@@ -6,28 +6,45 @@
#
PORTNAME= flpsed
-PORTVERSION= 0.3.9
-PORTREVISION= 1
+PORTVERSION= 0.6.1
CATEGORIES= print
MASTER_SITES= http://www.ecademix.com/JohannesHofmann/
MAINTAINER= fernan@iib.unsam.edu.ar
-COMMENT= WYSIWYG pseudo Postscript editor
+COMMENT= WYSIWYG Postscript pseudo-editor
-LIB_DEPENDS= fltk.1:${PORTSDIR}/x11-toolkits/fltk
+BUILD_DEPENDS+= ${LOCALBASE}/lib/libfltk2.a:${PORTSDIR}/x11-toolkits/fltk2
+RUN_DEPENDS+= ${LOCALBASE}/lib/libfltk2.a:${PORTSDIR}/x11-toolkits/fltk2
GNU_CONFIGURE= yes
USE_GHOSTSCRIPT=yes
USE_GMAKE= yes
PLIST_FILES= bin/flpsed
+MAN1= flpsed.1
PORTDOCS= README
+post-configure:
+ @${FIND} -X ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -e \
+ "s|-lpthread|${PTHREAD_LIBS}|g"
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/flpsed ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/flpsed.1 ${MANPREFIX}/man/man1
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
+post-install:
+.if !exists(${LOCALBASE}/bin/pdftops)
+ @${ECHO_CMD} ""
+ @${ECHO_CMD} " Consider installing graphics/xpdf, to take full advantage of "
+ @${ECHO_CMD} " flpsed's ability to edit PDF files by first converting them "
+ @${ECHO_CMD} " to PostScript via xpdf's pdftops(1) before editing, and then "
+ @${ECHO_CMD} " transforming the edited Postscript files back to PDF via "
+ @${ECHO_CMD} " Ghostscript's ps2pdf(1). "
+ @${ECHO_CMD} ""
+.endif
+
.include <bsd.port.mk>
diff --git a/print/flpsed/distinfo b/print/flpsed/distinfo
index 29a66625893b..31f52ab8a918 100644
--- a/print/flpsed/distinfo
+++ b/print/flpsed/distinfo
@@ -1,3 +1,3 @@
-MD5 (flpsed-0.3.9.tar.gz) = 3e55de75a203880f2f70c88b9eca5403
-SHA256 (flpsed-0.3.9.tar.gz) = 505aaff7adce228098c850a2aad21628fad4fcca5192a725424337213c1fd7d7
-SIZE (flpsed-0.3.9.tar.gz) = 100555
+MD5 (flpsed-0.6.1.tar.gz) = 5377fe7e80d677c794e013ce07627d6a
+SHA256 (flpsed-0.6.1.tar.gz) = f5ff37f8d87ccdcd8c019047c84a29bc38eec78883feccf60f8fd892616def01
+SIZE (flpsed-0.6.1.tar.gz) = 102349
diff --git a/print/flpsed/pkg-descr b/print/flpsed/pkg-descr
index 3a2d1d579068..0a6d40df3e19 100644
--- a/print/flpsed/pkg-descr
+++ b/print/flpsed/pkg-descr
@@ -1,16 +1,16 @@
-flpsed is a WYSIWYG pseudo PostScript editor. "Pseudo", because you
-can't remove or modify existing elements of a document. But flpsed lets
-you add arbitrary text lines to existing PostScript documents. Added
+flpsed is a WYSIWYG PostScript pseudo-editor. "Pseudo", because you
+can't remove or modify existing elements of a document, only add
+arbitrary text lines to existing PostScript documents. Added
lines can later be reedited with flpsed.
-Using pdftops, which is part of xpdf one can convert PDF documents to
+Using pdftops, which is part of xpdf, one can convert PDF documents to
PostScript and then add text to them using flpsed. flpsed is thus useful
for filling in forms, adding notes, etc.
Features:
* Add arbitrary text to existing PostScript documents.
- * Reedit text, that has been added with flpsed.
+ * 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
@@ -19,4 +19,4 @@ Features:
* Text lines can be imported from other flpsed-modified documents.
* Import and export PDF. Therefore it can be used as a PDF editor.
-WWW: http://www.ecademix.com/JohannesHofmann/#flpsed
+WWW: http://www.ecademix.com/JohannesHofmann/flpsed.html