From d31f519f623ff26738753d87192404dffac30226 Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Sun, 25 May 1997 04:35:44 +0000 Subject: [PATCH] Cleaned up install output. --- print/lprps-letter/Makefile | 43 ++++++++++++++++++++----------------- 1 file changed, 23 insertions(+), 20 deletions(-) diff --git a/print/lprps-letter/Makefile b/print/lprps-letter/Makefile index 98d62a0b3d10..1b1381045eba 100644 --- a/print/lprps-letter/Makefile +++ b/print/lprps-letter/Makefile @@ -4,7 +4,7 @@ # Date created: Sat Aug 3, 1996 # Whom: David O'Brien (obrien@cs.ucdavis.edu) # -# $Id: Makefile,v 1.1.1.1 1996/08/16 07:23:00 asami Exp $ +# $Id: Makefile,v 1.1.1.1 1996/11/25 01:04:52 obrien Exp $ # DISTNAME= lprps-2.5 @@ -55,29 +55,32 @@ pre-fetch: @/usr/bin/false .endif -pre-install: - -test -d ${PREFIX}/share/lprps || ${MKDIR} ${PREFIX}/share/lprps - do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/psif ${PREFIX}/libexec - ${INSTALL_PROGRAM} ${WRKSRC}/lprps ${PREFIX}/libexec - ${INSTALL_PROGRAM} ${WRKSRC}/psof ${PREFIX}/libexec - ${INSTALL_PROGRAM} ${WRKSRC}/textps ${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/psrev ${PREFIX}/bin - ${INSTALL_SCRIPT} ${WRKSRC}/psif-text ${PREFIX}/libexec - ${INSTALL_SCRIPT} ${WRKSRC}/psif-ps ${PREFIX}/libexec - ${INSTALL_DATA} ${WRKSRC}/banner.ps ${PREFIX}/share/lprps - ${INSTALL_MAN} ${WRKSRC}/textps.n ${PREFIX}/man/man1/textps.1 - ${INSTALL_MAN} ${WRKSRC}/psrev.n ${PREFIX}/man/man1/psrev.1 - ${INSTALL_MAN} ${WRKSRC}/lprps.n ${PREFIX}/man/man8/lprps.8 - ${INSTALL_MAN} ${WRKSRC}/psif.n ${PREFIX}/man/man8/psif.8 - ${INSTALL_MAN} ${WRKSRC}/psof.n ${PREFIX}/man/man8/psof.8 - @${ECHO} Now edit /etc/printcap +.for f in textps psrev + @${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/bin +.endfor +.for f in psif lprps psof + @${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/libexec +.endfor +.for f in psif-text psif-ps + @${INSTALL_SCRIPT} ${WRKSRC}/${f} ${PREFIX}/libexec + +.endfor + @-test -d ${PREFIX}/share/lprps || ${MKDIR} ${PREFIX}/share/lprps + @${INSTALL_DATA} ${WRKSRC}/banner.ps ${PREFIX}/share/lprps + @${INSTALL_MAN} ${WRKSRC}/textps.n ${PREFIX}/man/man1/textps.1 + @${INSTALL_MAN} ${WRKSRC}/psrev.n ${PREFIX}/man/man1/psrev.1 + @${INSTALL_MAN} ${WRKSRC}/lprps.n ${PREFIX}/man/man8/lprps.8 + @${INSTALL_MAN} ${WRKSRC}/psif.n ${PREFIX}/man/man8/psif.8 + @${INSTALL_MAN} ${WRKSRC}/psof.n ${PREFIX}/man/man8/psof.8 + @${ECHO} "" + @${ECHO} Now edit your /etc/printcap + @${ECHO} "" post-install: .if !defined(NOPORTDOCS) - ${MKDIR} ${PREFIX}/share/doc/lprps - ${INSTALL_DATA} ${WRKSRC}/INSTALL ${PREFIX}/share/doc/lprps + @${MKDIR} ${PREFIX}/share/doc/lprps + @${INSTALL_DATA} ${WRKSRC}/INSTALL ${PREFIX}/share/doc/lprps .endif .include