summaryrefslogtreecommitdiff
path: root/print/pstotext/Makefile
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/Makefile
parentUpdate MASTER_SITES and WWW line of pkg-descr (diff)
Support PREFIX properly
Update WWW: line of pkg-descr PR: 21616 Submitted by: Ports Fury (no response from maintainer)
Diffstat (limited to 'print/pstotext/Makefile')
-rw-r--r--print/pstotext/Makefile7
1 files changed, 5 insertions, 2 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>