Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Sep 2000 08:22:22 -0700 (PDT)
From:      tkato@prontomail.ne.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/21616: Update port: print/pstotext
Message-ID:  <20000928152222.A43BD37B5AF@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         21616
>Category:       ports
>Synopsis:       Update port: print/pstotext
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 28 08:30:02 PDT 2000
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000928152222.A43BD37B5AF>