Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Oct 2013 12:14:28 +0200 (CEST)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        ehaupt@FreeBSD.org
Subject:   ports/183194: [PATCH] net-mgmt/cidr: Support staging
Message-ID:  <20131022101429.0D7BF14269C@aragorn.in.absolight.net>
Resent-Message-ID: <201310221020.r9MAK1l3056436@freefall.freebsd.org>

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

>Number:         183194
>Category:       ports
>Synopsis:       [PATCH] net-mgmt/cidr: 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 10:20:01 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 (ehaupt@FreeBSD.org) is cc'd.

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

--- cidr-2.3.2_1.patch begins here ---
diff -ruN /usr/ports/net-mgmt/cidr/Makefile ./Makefile
--- /usr/ports/net-mgmt/cidr/Makefile	2013-09-21 00:24:43.000000000 +0200
+++ ./Makefile	2013-10-22 12:13:39.000000000 +0200
@@ -12,15 +12,13 @@
 
 LICENSE=	GPLv2
 
-MAN1=		cidr.1
-PLIST_FILES=	bin/cidr
+PLIST_FILES=	bin/cidr man/man1/cidr.1.gz
 
-NO_STAGE=	yes
 do-build:
 	${CC} ${CFLAGS} ${WRKSRC}/${PORTNAME}.c -o ${WRKSRC}/${PORTNAME}
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MANPREFIX}/man/man1
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
 
 .include <bsd.port.mk>
--- cidr-2.3.2_1.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?20131022101429.0D7BF14269C>