ports/183194: [PATCH] net-mgmt/cidr: Support staging

Mathieu Arnold mat at FreeBSD.org
Tue Oct 22 10:20:02 UTC 2013


>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 at 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:


More information about the freebsd-ports-bugs mailing list