ports/175367: [maintainer-update] x11-wm/mcwm maintenance patch

Jakub Lach jakub_lach at mailplus.pl
Thu Jan 17 13:10:01 UTC 2013


>Number:         175367
>Category:       ports
>Synopsis:       [maintainer-update] x11-wm/mcwm maintenance patch
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 17 13:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Jakub Lach
>Release:        FreeBSD 9.1-STABLE #0 r245505 amd64
>Organization:
>Environment:
>Description:
Hopefully no functional changes, just a little cleanup according to new ports style.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -rupN mcwm.orig/Makefile mcwm/Makefile
--- mcwm.orig/Makefile	2013-01-17 00:55:58.000000000 +0100
+++ mcwm/Makefile	2013-01-17 12:21:14.000000000 +0100
@@ -1,9 +1,5 @@
-# New ports collection makefile for:   mcwm
-# Date created:        16 March 2011
-# Whom:                Jakub Lach <jakub_lach at mailplus.pl>
-#
-# $FreeBSD: ports/x11-wm/mcwm/Makefile,v 1.12 2012/12/10 19:28:21 svnexp Exp $
-#
+# Created by: Jakub Lach <jakub_lach at mailplus.pl>
+# $FreeBSD$
 
 PORTNAME=	mcwm
 PORTVERSION=	20111124
@@ -19,7 +15,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 LIB_DEPENDS=	xcb-util:${PORTSDIR}/x11/xcb-util \
 		xcb-keysyms:${PORTSDIR}/x11/xcb-util-keysyms \
-		xcb-icccm:${PORTSDIR}/x11/xcb-util-wm \
+		xcb-icccm:${PORTSDIR}/x11/xcb-util-wm
 
 MAKE_JOBS_SAFE=	yes
 
@@ -28,7 +24,9 @@ USE_BZIP2=	yes
 
 MAN1=		mcwm.1
 PLIST_FILES=	bin/mcwm
-PORTDOCS=	LICENSE README NEWS
+PORTDOCS=	README NEWS
+
+.include <bsd.port.options.mk>
 
 pre-everything::
 		@${ECHO_MSG} "You can build mcwm with your own config.h using the MCWM_CONF knob:"
@@ -50,10 +48,9 @@ do-install:
 		${MAN1PREFIX}/man/man1/${PORTNAME}.1
 
 post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${ECHO_MSG} "installing additional documentation to ${DOCSDIR}"
 	@${MKDIR} ${DOCSDIR}
-	@${INSTALL_MAN} ${WRKSRC}/LICENSE ${DOCSDIR}
 	@${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
 	@${INSTALL_MAN} ${WRKSRC}/NEWS ${DOCSDIR}
 .endif


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


More information about the freebsd-ports-bugs mailing list