ports/186598: stage support for x11-wm/dwm
Mikhail
mp39590 at gmail.com
Sun Feb 9 19:10:00 UTC 2014
>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 at 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:
More information about the freebsd-ports-bugs
mailing list