Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Oct 2013 11:17:16 +0200 (CEST)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        stefan@FreeBSD.org
Subject:   ports/183185: [PATCH] ports-mgmt/pkg_cutleaves: Support staging.
Message-ID:  <20131022091716.385E914269C@aragorn.in.absolight.net>
Resent-Message-ID: <201310220920.r9M9K0CR042652@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         183185
>Category:       ports
>Synopsis:       [PATCH] ports-mgmt/pkg_cutleaves: Support staging.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 22 09:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Mathieu Arnold
>Release:        FreeBSD 9.2-RELEASE i386
>Organization:
Absolight
>Environment:
System: FreeBSD aragorn.in.absolight.net 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Fri Sep 27 03:52:52 UTC
>Description:
Support staging.

Port maintainer (stefan@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_8 (mode: change, diff: ports)
>How-To-Repeat:
>Fix:

--- pkg_cutleaves-20090810.patch begins here ---
diff -ruN /usr/ports/ports-mgmt/pkg_cutleaves/Makefile ./Makefile
--- /usr/ports/ports-mgmt/pkg_cutleaves/Makefile	2013-09-21 00:36:49.000000000 +0200
+++ ./Makefile	2013-10-22 11:01:42.000000000 +0200
@@ -1,5 +1,5 @@
 # Created by: Stefan Walter <sw@gegenunendlich.de>
-# $FreeBSD: ports-mgmt/pkg_cutleaves/Makefile 327762 2013-09-20 22:36:49Z bapt $
+# $FreeBSD: head/ports-mgmt/pkg_cutleaves/Makefile 327762 2013-09-20 22:36:49Z bapt $
 
 PORTNAME=	pkg_cutleaves
 PORTVERSION=	20090810
@@ -15,16 +15,13 @@
 
 WRKSRC=		${WRKDIR}
 
-MAN1=		pkg_cutleaves.1
-
-PLIST_FILES=	sbin/pkg_cutleaves
+PLIST_FILES=	sbin/pkg_cutleaves man/man1/pkg_cutleaves.1.gz
 
 .if defined(WITH_PKGNG)
 EXTRA_PATCHES+=	${FILESDIR}/extra-patch-pkg_cutleaves \
 		${FILESDIR}/extra-patch-pkg_cutleaves.1
 .endif
 
-NO_STAGE=	yes
 do-extract:
 	${MKDIR} ${WRKSRC}
 	${CP} ${FILESDIR}/pkg_cutleaves ${FILESDIR}/pkg_cutleaves.1 ${WRKSRC}
@@ -51,7 +48,7 @@
 .endif
 
 do-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/pkg_cutleaves ${PREFIX}/sbin/pkg_cutleaves
-	${INSTALL_MAN} ${WRKSRC}/pkg_cutleaves.1 ${MAN1PREFIX}/man/man1
+	${INSTALL_SCRIPT} ${WRKSRC}/pkg_cutleaves ${STAGEDIR}${PREFIX}/sbin/pkg_cutleaves
+	${INSTALL_MAN} ${WRKSRC}/pkg_cutleaves.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
 
 .include <bsd.port.mk>
--- pkg_cutleaves-20090810.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131022091716.385E914269C>