From nobody@FreeBSD.ORG  Thu Sep 28 08:27:08 2000
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id A43BD37B5AF; Thu, 28 Sep 2000 08:22:22 -0700 (PDT)
Message-Id: <20000928152222.A43BD37B5AF@hub.freebsd.org>
Date: Thu, 28 Sep 2000 08:22:22 -0700 (PDT)
From: tkato@prontomail.ne.jp
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@FreeBSD.org
Subject: Update port: print/pstotext
X-Send-Pr-Version: www-1.0

>Number:         21616
>Category:       ports
>Synopsis:       Update port: print/pstotext
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 28 08:30:02 PDT 2000
>Closed-Date:    Fri Oct 13 13:37:23 PDT 2000
>Last-Modified:  Fri Oct 13 13:37:31 PDT 2000
>Originator:     KATO Tsuguru
>Release:        4.1.1-RELEASE i386
>Organization:
>Environment:
>Description:
- Support PREFIX properly
- Update WWW: line of pkg/DESCR

No response from maintainer.

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/print/pstotext/Makefile print/pstotext/Makefile
--- /usr/ports/print/pstotext/Makefile	Sun May 28 17:13:58 2000
+++ print/pstotext/Makefile	Wed Sep 20 22:03:38 2000
@@ -9,14 +9,17 @@
 PORTVERSION=	1.8g
 CATEGORIES=	print
 MASTER_SITES=	http://www.research.digital.com/SRC/virtualpaper/cgi-bin/nph-download.tcl/pstotext.tar.Z?object=pstotext
-DISTNAME=	pstotext
+DISTNAME=	${PORTNAME}
 EXTRACT_SUFX=	.tar.Z
 
 MAINTAINER=	ob@seicom.NET
 
 RUN_DEPENDS=	gs:${PORTSDIR}/print/ghostscript55
 
-WRKSRC=		${WRKDIR}/${PORTNAME}
 MAN1=		pstotext.1
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/pstotext ${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/pstotext.1 ${PREFIX}/man/man1
 
 .include <bsd.port.mk>
diff -urN /usr/ports/print/pstotext/patches/patch-aa print/pstotext/patches/patch-aa
--- /usr/ports/print/pstotext/patches/patch-aa	Wed Feb  2 16:32:10 2000
+++ print/pstotext/patches/patch-aa	Fri Aug 11 04:17:39 2000
@@ -32,12 +32,3 @@
  
  # "Bundle" an Ascii file.
  .ps.h:
-@@ -42,3 +43,8 @@
- 
- clean:
- 	rm -f pstotext *.o core $(BUNDLE)
-+
-+install:
-+	cp -p pstotext		/usr/local/bin
-+	cp -p pstotext.1	/usr/local/man/man1
-+
diff -urN /usr/ports/print/pstotext/pkg/DESCR print/pstotext/pkg/DESCR
--- /usr/ports/print/pstotext/pkg/DESCR	Wed Dec 29 16:26:54 1999
+++ print/pstotext/pkg/DESCR	Wed Sep 20 21:41:09 2000
@@ -36,4 +36,4 @@
 pstotext.  -debug shows Ghostscript output and error messages.  -bboxes outputs
 one word per line with bounding box information. 
 
-WWW: http://www.research.digital.com/SRC/virtualpaper/manpages/pstotext.1.html
+WWW: http://www.research.digital.com/SRC/virtualpaper/pstotext.html


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: ade 
State-Changed-When: Fri Oct 13 13:37:23 PDT 2000 
State-Changed-Why:  
Update committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=21616 
>Unformatted:
