aboutsummaryrefslogtreecommitdiff
path: root/print/pstotext
diff options
context:
space:
mode:
authorAde Lovett <ade@FreeBSD.org>2000-10-13 20:27:52 +0000
committerAde Lovett <ade@FreeBSD.org>2000-10-13 20:27:52 +0000
commit0901d47d005e2fb6c9076f78103995e86f11e7bc (patch)
tree49e0b51b3cb64353e785f3e7d238a8e3f2afed8c /print/pstotext
parent4f8ba96420a393e69948808e166c19077c47a830 (diff)
downloadports-0901d47d005e2fb6c9076f78103995e86f11e7bc.tar.gz
ports-0901d47d005e2fb6c9076f78103995e86f11e7bc.zip
Support PREFIX properly
Update WWW: line of pkg-descr PR: 21616 Submitted by: Ports Fury (no response from maintainer)
Notes
Notes: svn path=/head/; revision=33792
Diffstat (limited to 'print/pstotext')
-rw-r--r--print/pstotext/Makefile7
-rw-r--r--print/pstotext/files/patch-aa9
-rw-r--r--print/pstotext/pkg-descr2
3 files changed, 6 insertions, 12 deletions
diff --git a/print/pstotext/Makefile b/print/pstotext/Makefile
index 44de6744a898..32bf86230cd0 100644
--- a/print/pstotext/Makefile
+++ b/print/pstotext/Makefile
@@ -9,14 +9,17 @@ PORTNAME= pstotext
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 --git a/print/pstotext/files/patch-aa b/print/pstotext/files/patch-aa
index 2fcccc5f9aa8..afe9e3eb9902 100644
--- a/print/pstotext/files/patch-aa
+++ b/print/pstotext/files/patch-aa
@@ -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 --git a/print/pstotext/pkg-descr b/print/pstotext/pkg-descr
index caf558260e62..ff3f83974a31 100644
--- a/print/pstotext/pkg-descr
+++ b/print/pstotext/pkg-descr
@@ -36,4 +36,4 @@ The options -debug and -bboxes are mostly of use for the maintainers of
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