diff -ruN flpsed.orig/Makefile flpsed/Makefile --- flpsed.orig/Makefile 2008-03-23 12:44:05.000000000 -0400 +++ flpsed/Makefile 2008-07-01 07:58:17.401272103 -0400 @@ -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 diff -ruN flpsed.orig/distinfo flpsed/distinfo --- flpsed.orig/distinfo 2007-10-05 17:54:19.000000000 -0400 +++ flpsed/distinfo 2008-06-29 12:24:14.371034000 -0400 @@ -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 -ruN flpsed.orig/pkg-descr flpsed/pkg-descr --- flpsed.orig/pkg-descr 2005-05-25 07:30:36.000000000 -0400 +++ flpsed/pkg-descr 2008-07-01 06:53:39.715183000 -0400 @@ -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 @@ * 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