From 54bb427e449733936a3c959bd5b2acca508ebd75 Mon Sep 17 00:00:00 2001
From: Carlo Strub <cs@FreeBSD.org>
Date: Thu, 5 Jun 2014 22:15:45 +0000
Subject: - Support Staging - Add LICENSE

PR:		190503
Submitted by:	kheuer@gwdg.de (maintainer)
---
 print/rprint/Makefile | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/print/rprint/Makefile b/print/rprint/Makefile
index 3ab746f38f8c..60d489edd3ab 100644
--- a/print/rprint/Makefile
+++ b/print/rprint/Makefile
@@ -10,12 +10,16 @@ MASTER_SITES=	ftp://gwdu111.gwdg.de/pub/FreeBSD/misc/ \
 MAINTAINER=	kheuer@gwdg.de
 COMMENT=	Remote printing utility using a raw bidirectional tcp connection
 
-MAN1=		rprint.1
+LICENSE=	BSD4CLAUSE
+
 MANCOMPRESSED=	yes
-PLIST_FILES=	bin/rprint
+PLIST_FILES=	bin/rprint man/man1/rprint.1.gz
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e "s/^(CC|CFLAGS).+//g" ${WRKSRC}/Makefile
 
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/bin/rprint ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/man/rprint.1.gz ${STAGEDIR}${PREFIX}/man/man1
+
 .include <bsd.port.mk>
-- 
cgit debian/1.2.3+git2.25.1-1-2-gaceb0