[32309] trunk/dports/textproc/pstotext/Portfile

ryandesign at macports.org ryandesign at macports.org
Sun Dec 23 16:45:24 PST 2007


Revision: 32309
          http://trac.macosforge.org/projects/macports/changeset/32309
Author:   ryandesign at macports.org
Date:     2007-12-23 16:45:23 -0800 (Sun, 23 Dec 2007)

Log Message:
-----------
pstotext: update to 1.9; closes #12565

Modified Paths:
--------------
    trunk/dports/textproc/pstotext/Portfile

Modified: trunk/dports/textproc/pstotext/Portfile
===================================================================
--- trunk/dports/textproc/pstotext/Portfile	2007-12-24 00:28:13 UTC (rev 32308)
+++ trunk/dports/textproc/pstotext/Portfile	2007-12-24 00:45:23 UTC (rev 32309)
@@ -1,7 +1,9 @@
 # $Id$
+
 PortSystem 1.0
+
 name		pstotext
-version		1.8g
+version		1.9
 categories	textproc
 maintainers	nomaintainer
 description	Extract ASCII text from a PostScript or PDF file
@@ -10,25 +12,24 @@
 			representation of the plain text that would be \
 			displayed if the PostScript/PDF file were printed.
 
-homepage	http://www.research.compaq.com/SRC/virtualpaper/pstotext.html
-master_sites	http://www.research.compaq.com/SRC/virtualpaper/binaries/
-distfiles	${name}.tar.Z
+homepage	http://pages.cs.wisc.edu/~ghost/doc/pstotext.htm
+master_sites	ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/contrib/ \
+		http://fresh.t-systems-sfr.com/unix/src/misc/
 
 platforms	darwin
-checksums	md5 1be0be028ccc85be1bf55d7e90976b18
+checksums	md5 64576e8a10ff5514e285d98b3898ae78 \
+		sha1 d84732ba42301a8905f6b14f37d8b57ff8b42a3e \
+		rmd160 16dc199d19df64280184d11ccbced7a32770ddad
 
-depends_lib	bin:gs:ghostscript
-extract.cmd	uncompress
-worksrcdir	${name}
+depends_run	bin:gs:ghostscript
 
 use_configure	no
 
 destroot {
-	file mkdir "${destroot}${prefix}/bin"
-	file mkdir "${destroot}${prefix}/share/man/man1"
-	file mkdir "${destroot}${prefix}/share/doc/pstotext"
-	system "install -m 755 ${worksrcpath}/pstotext ${destroot}${prefix}/bin"
-	system "install -m 644 ${worksrcpath}/pstotext.1 ${destroot}${prefix}/share/man/man1"
-	system "install -m 644 ${worksrcpath}/pstotext.txt ${destroot}${prefix}/share/doc/pstotext"
+	xinstall -m 755 ${worksrcpath}/pstotext ${destroot}${prefix}/bin
+	xinstall -m 644 ${worksrcpath}/pstotext.1 ${destroot}${prefix}/share/man/man1
+	
+	set docdir ${destroot}${prefix}/share/doc/${name}-${version}
+	xinstall -d ${docdir}
+	xinstall -m 644 ${worksrcpath}/pstotext.txt ${docdir}
 }
-

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071223/63c6e7c3/attachment.html


More information about the macports-changes mailing list