From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Sep 25 18:20:14 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 032B81065677 for ; Tue, 25 Sep 2012 18:20:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id CF9898FC27 for ; Tue, 25 Sep 2012 18:20:13 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q8PIKDaV034526 for ; Tue, 25 Sep 2012 18:20:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q8PIKDm5034521; Tue, 25 Sep 2012 18:20:13 GMT (envelope-from gnats) Resent-Date: Tue, 25 Sep 2012 18:20:13 GMT Resent-Message-Id: <201209251820.q8PIKDm5034521@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, KATO Tsuguru Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2F5DF106567C for ; Tue, 25 Sep 2012 18:10:11 +0000 (UTC) (envelope-from tkato432@yahoo.com) Received: from msa106lp.auone-net.jp (msa106lp.auone-net.jp [222.3.140.169]) by mx1.freebsd.org (Postfix) with ESMTP id CB5068FC26 for ; Tue, 25 Sep 2012 18:10:10 +0000 (UTC) Received: from localhost.localdomain (ZT030063.ppp.dion.ne.jp [59.128.30.63]) by msa106lp.auone-net.jp (au one net msa) with ESMTP id 89D7523C031 for ; Wed, 26 Sep 2012 03:10:08 +0900 (JST) Message-Id: <20120926022607.f36fb47817870601b7d58806@yahoo.com> Date: Wed, 26 Sep 2012 02:26:07 +0900 From: KATO Tsuguru To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: ports/172050: print/pstotext: Update MASTER_SITES X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Sep 2012 18:20:14 -0000 >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 -# +# Created by: Oliver Breuninger # $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 + 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: