Date: Wed, 26 Sep 2012 02:26:07 +0900 From: KATO Tsuguru <tkato432@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/172050: print/pstotext: Update MASTER_SITES Message-ID: <20120926022607.f36fb47817870601b7d58806@yahoo.com> Resent-Message-ID: <201209251820.q8PIKDm5034521@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 172050 >Category: ports >Synopsis: print/pstotext: Update MASTER_SITES >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Sep 25 18:20:13 UTC 2012 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 7.4-RELEASE-p10 i386 >Organization: >Environment: >Description: - Update MASTER_SITES and WWW: line >How-To-Repeat: >Fix: diff -urN /usr/ports/print/pstotext/Makefile print/pstotext/Makefile --- /usr/ports/print/pstotext/Makefile 2012-09-21 19:07:33.000000000 +0900 +++ print/pstotext/Makefile 2012-09-25 03:40:28.000000000 +0900 @@ -1,21 +1,18 @@ -# New ports collection makefile for: pstotext -# Date created: December 6, 1999 -# Whom: Oliver Breuninger <ob@seicom.NET> -# +# Created by: Oliver Breuninger <ob@seicom.NET> # $FreeBSD: ports/print/pstotext/Makefile,v 1.21 2012/09/21 10:07:33 bapt Exp $ -# PORTNAME= pstotext PORTVERSION= 1.9 PORTREVISION= 3 CATEGORIES= print -MASTER_SITES= http://mirror.cs.wisc.edu/pub/mirrors/ghost/contrib/ +#MASTER_SITES= http://mirror.cs.wisc.edu/pub/mirrors/ghost/contrib/ +MASTER_SITES= ${MASTER_SITE_TEX_CTAN} +MASTER_SITE_SUBDIR= support/ghostscript/contrib MAINTAINER= ports@FreeBSD.org COMMENT= A PostScript to Text converter -DEPRECATED= No more public distfiles -EXPIRATION_DATE= 2012-10-20 +OPTIONS_DEFINE= DOCS USE_GHOSTSCRIPT_RUN= yes @@ -23,6 +20,8 @@ PLIST_FILES= bin/pstotext PORTDOCS= copyright +.include <bsd.port.options.mk> + post-patch: ${REINPLACE_CMD} -e 's;%%LOCALBASE%%;${LOCALBASE};g' ${WRKSRC}/main.c ${REINPLACE_CMD} -e 's;%%PREFIX%%;${PREFIX};g' ${WRKSRC}/pstotext.1 @@ -30,7 +29,7 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/pstotext ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/pstotext.1 ${MAN1PREFIX}/man/man1 -.ifndef(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/pstotext.txt ${DOCSDIR}/copyright .endif diff -urN /usr/ports/print/pstotext/pkg-descr print/pstotext/pkg-descr --- /usr/ports/print/pstotext/pkg-descr 2008-09-03 04:06:45.000000000 +0900 +++ print/pstotext/pkg-descr 2012-07-01 05:51:53.000000000 +0900 @@ -1,23 +1,6 @@ -pstotext reads one or more PostScript or PDF files, and writes to standard -output a representation of the plain text that would be displayed if the -PostScript file were printed. As is described in the DETAILS section below, -this representation is only an approximation. Nevertheless, it is often -useful for information retrieval (e.g., running grep(1) or building a -full-text index) or to recover the text from a PostScript file whose source -you have lost. - -pstotext calls Ghostscript, and requires Aladdin Ghostscript version 3.51 or -newer. Ghostscript must be invokable on the current search path as gs. -Alternatively, you can use the -gs option to specify the command (pathname -and options) to run Ghostscript. For example, on Windows you might use -gs -"c:\gs\gswin32c.exe -Ic:\gs;c:\gs\fonts". - -pstotext reads and processes its command line from left to right, ignoring -the case of options. When it encounters a pathname, it opens the file and -expects to find a PostScript job or PDF document to process. The option - -means to read and process a PostScript job from standard input. If no - or -pathname arguments are encountered, pstotext reads a PostScript job from -standard input. (PDF documents require random access, hence cannot be read -from standard input.) You can use the -output option to specify an output file -(remember to invoke it before the input file); otherwise pstotext writes to -standard output. +A Unix program that extracts ASCII text from PostScript and PDF files. +pstotext uses Ghostscript, but does a more careful job with kerned +characters and nonstandard font encodings than Ghostscript's ps2ascii +utility. + +WWW: http://pages.cs.wisc.edu/~ghost/doc/pstotext.htm >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120926022607.f36fb47817870601b7d58806>