[113077] trunk/dports/textproc

ryandesign at macports.org ryandesign at macports.org
Thu Nov 7 15:26:52 PST 2013


Revision: 113077
          https://trac.macports.org/changeset/113077
Author:   ryandesign at macports.org
Date:     2013-11-07 15:26:52 -0800 (Thu, 07 Nov 2013)
Log Message:
-----------
pdfresurrect: new port, version 0.12 (#41230)

Added Paths:
-----------
    trunk/dports/textproc/pdfresurrect/
    trunk/dports/textproc/pdfresurrect/Portfile
    trunk/dports/textproc/pdfresurrect/files/
    trunk/dports/textproc/pdfresurrect/files/patch-Makefile.in.diff

Added: trunk/dports/textproc/pdfresurrect/Portfile
===================================================================
--- trunk/dports/textproc/pdfresurrect/Portfile	                        (rev 0)
+++ trunk/dports/textproc/pdfresurrect/Portfile	2013-11-07 23:26:52 UTC (rev 113077)
@@ -0,0 +1,41 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem          1.0
+PortGroup           github 1.0
+
+github.setup        enferex pdfresurrect 0.12 v
+categories          textproc
+platforms           darwin
+maintainers         ryandesign openmaintainer
+license             GPL-3+
+
+description         tool for analyzing PDF documents
+
+long_description    PDFResurrect is a tool aimed at analyzing PDF documents. \
+                    The PDF format allows for previous document changes to be \
+                    retained in a more recent version of the document, thereby \
+                    creating a running history of changes for the document. \
+                    This tool attempts to extract all previous versions while \
+                    also producing a summary of changes between versions. This \
+                    tool can also “scrub” or write data over the original \
+                    instances of PDF objects that have been modified or \
+                    deleted, in an effort to disguise information from \
+                    previous versions that might not be intended for anyone \
+                    else to read.
+
+checksums           rmd160  eac86fc1d85491a5d16204f3a902a46802810cbf \
+                    sha256  5dca7ae185750eb5a4bf2bcab62b035a780138f42c75575bff132423ccca7ad0
+
+patchfiles          patch-Makefile.in.diff
+
+post-destroot {
+    set docdir ${prefix}/share/doc/${subport}
+    xinstall -d ${destroot}${docdir}
+    xinstall -m 644 -W ${worksrcpath} \
+        AUTHORS \
+        ChangeLog \
+        LICENSE \
+        README \
+        ${destroot}${docdir}
+}


Property changes on: trunk/dports/textproc/pdfresurrect/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/textproc/pdfresurrect/files/patch-Makefile.in.diff
===================================================================
--- trunk/dports/textproc/pdfresurrect/files/patch-Makefile.in.diff	                        (rev 0)
+++ trunk/dports/textproc/pdfresurrect/files/patch-Makefile.in.diff	2013-11-07 23:26:52 UTC (rev 113077)
@@ -0,0 +1,33 @@
+Fix manpage install location
+https://github.com/enferex/pdfresurrect/pull/1
+--- Makefile.in.orig	2012-11-29 18:14:35.000000000 -0600
++++ Makefile.in	2013-11-07 17:09:49.000000000 -0600
+@@ -4,7 +4,10 @@
+ CC = @CC@
+ CFLAGS = @CFLAGS@ @CPPFLAGS@ $(EXTRA_CFLAGS)
+ LDFLAGS = @LDFLAGS@
+-PREFIX = @prefix@
++prefix = @prefix@
++exec_prefix = @exec_prefix@
++bindir = @bindir@
++mandir = @mandir@
+ 
+ all: $(OBJS) $(APP)
+ 
+@@ -15,12 +18,12 @@
+ 	$(CC) -o $@ -c $< $(CFLAGS)
+ 
+ install:
+-	cp $(APP) $(DESTDIR)$(PREFIX)/bin/
+-	cp $(MANPAGE) $(DESTDIR)$(PREFIX)/man/man1/
++	cp $(APP) $(DESTDIR)$(bindir)
++	cp $(MANPAGE) $(DESTDIR)$(mandir)/man1
+ 
+ uninstall:
+-	rm $(DESTDIR)$(PREFIX)/bin/$(APP)
+-	rm $(DESTDIR)$(PREFIX)/man/man1/$(MANPAGE)
++	rm $(DESTDIR)$(bindir)/$(APP)
++	rm $(DESTDIR)$(mandir)/man1/$(MANPAGE)
+ 
+ clean:
+ 	rm -rfv $(OBJS) $(APP)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131107/dde06643/attachment-0001.html>


More information about the macports-changes mailing list