Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Feb 2014 19:05:25 GMT
From:      Mikhail <mp39590@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/186598: stage support for x11-wm/dwm
Message-ID:  <201402091905.s19J5PYD038286@cgiserv.freebsd.org>
Resent-Message-ID: <201402091910.s19JA0Vt053839@freefall.freebsd.org>

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

>Number:         186598
>Category:       ports
>Synopsis:       stage support for x11-wm/dwm
>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:   Sun Feb 09 19:10:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Mikhail
>Release:        10.0-RELEASE
>Organization:
>Environment:
FreeBSD edge 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014     root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
This patch adds stage support.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -urN dwm.orig/Makefile dwm/Makefile
--- dwm.orig/Makefile	2014-02-09 22:44:51.000000000 +0400
+++ dwm/Makefile	2014-02-09 22:56:31.000000000 +0400
@@ -22,11 +22,10 @@
 
 USE_XORG=	x11 xau xcb xdmcp xext
 
-MAN1=		dwm.1
-PLIST_FILES=	bin/dwm
+PLIST_FILES=	bin/dwm \
+		man/man1/dwm.1.gz
 PORTDOCS=	README
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MXINERAMA}
@@ -68,10 +67,8 @@
 
 post-install:
 .if ${PORT_OPTIONS:MDOCS}
-	@${ECHO_MSG} "installing additional documentation to ${DOCSDIR}"
-	@${MKDIR} ${DOCSDIR}
-	@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	@${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
 .endif
-	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.mk>


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



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