Bug 190503 - print/rprint -- staging now correctly implemented
Summary: print/rprint -- staging now correctly implemented
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Carlo Strub
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-02 12:17 UTC by kheuer
Modified: 2014-06-05 22:16 UTC (History)
3 users (show)

See Also:


Attachments
Makefile patch (871 bytes, patch)
2014-06-03 09:12 UTC, kheuer
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description kheuer 2014-06-02 12:17:40 UTC
staging now correctly implemented, NO_STAGE=yes removed from Makefile

Fix:
Index: Makefile
===================================================================
--- Makefile	(revision 356207)
+++ Makefile	(working copy)
@@ -1,5 +1,5 @@
 # Created by: Konrad Heuer
-# $FreeBSD$
+# $FreeBSD: head/print/rprint/Makefile 353581 2014-05-10 17:21:13Z antoine $
 
 PORTNAME=	rprint
 PORTVERSION=	3.2
@@ -10,12 +10,14 @@
 MAINTAINER=	kheuer@gwdg.de
 COMMENT=	Remote printing utility using a raw bidirectional tcp connection
 
-MAN1=		rprint.1
-MANCOMPRESSED=	yes
-PLIST_FILES=	bin/rprint
+PLIST_FILES=	bin/rprint man/man1/rprint.1.gz
+WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
-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>
Comment 1 Martin Wilke freebsd_committer freebsd_triage 2014-06-03 08:37:45 UTC
Hi,

Could you please attache a patch?

Thanks
Comment 2 kheuer 2014-06-03 09:12:10 UTC
Created attachment 143321 [details]
Makefile patch

Makefile ptach to add staging correctly
Comment 3 commit-hook freebsd_committer freebsd_triage 2014-06-05 22:15:54 UTC
A commit references this bug:

Author: cs
Date: Thu Jun  5 22:15:45 UTC 2014
New revision: 356717
URL: http://svnweb.freebsd.org/changeset/ports/356717

Log:
  - Support Staging
  - Add LICENSE

  PR:		190503
  Submitted by:	kheuer@gwdg.de (maintainer)

Changes:
  head/print/rprint/Makefile
Comment 4 Carlo Strub freebsd_committer freebsd_triage 2014-06-05 22:16:29 UTC
Committed. Thank you very much.