Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Oct 2006 16:47:48 +0200
From:      "Jeroen Schot" <schot@a-eskwadraat.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/104538: Update port: x11-wm/dwm add config knob and fix MASTER_SITE 
Message-ID:  <20061018144738.D2D3558000D@pollux.warande.net>
Resent-Message-ID: <200610181450.k9IEoJGC016048@freefall.freebsd.org>

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

>Number:         104538
>Category:       ports
>Synopsis:       Update port: x11-wm/dwm add config knob and fix MASTER_SITE
>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:   Wed Oct 18 14:50:19 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Jeroen Schot
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD vocal 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May 7 04:32:43 UTC 2006 root@opus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
	
>Description:
Attached diff add a knob for a custom config.h file. (All configuration is done with this file.) Also updates the upstream MASTER_SITE and WWW in pkg-descr.
>How-To-Repeat:
	
>Fix:
diff -ruN dwm.orig/Makefile dwm/Makefile
--- dwm.orig/Makefile	Sun Oct  8 12:33:25 2006
+++ dwm/Makefile	Wed Oct 18 16:34:47 2006
@@ -8,13 +8,20 @@
 PORTNAME=	dwm
 PORTVERSION=	1.9
 CATEGORIES=	x11-wm
-MASTER_SITES=	http://www.shortest.de/download/ \
+MASTER_SITES=	http://suckless.org/download/ \
 		http://schot.a-eskwadraat.nl/files/
 
 MAINTAINER=	schot@a-eskwadraat.nl
 COMMENT=	A dynamic, small, fast and simple window manager
 
 USE_XLIB=	yes
+
+pre-build:
+	@${CAT} ${PKGMESSAGE}
+
+.if defined(DWM_CONF)
+	@${CP} {$DWM_CONF} ${WRKSRC}/config.h
+.endif
 
 MAN1=		dwm.1
 PLIST_FILES=	bin/dwm
diff -ruN dwm.orig/pkg-descr dwm/pkg-descr
--- dwm.orig/pkg-descr	Sun Oct  8 12:33:25 2006
+++ dwm/pkg-descr	Wed Oct 18 16:34:47 2006
@@ -6,4 +6,4 @@
 code, which makes it fast and secure. dwm reads from standard input to print
 arbitrary status text such as the date and/or system load.
 
-WWW: http://www.shortest.de/view/dynamic+window+manager/
+WWW: http://dwm.suckless.org
diff -ruN dwm.orig/pkg-message dwm/pkg-message
--- dwm.orig/pkg-message	Thu Jan  1 01:00:00 1970
+++ dwm/pkg-message	Wed Oct 18 16:34:47 2006
@@ -0,0 +1,2 @@
+You may build dwm with your own config.h, just use DWM_CONF knob:
+make -DDWM_CONF=/path/to/dwm/config.h install clean
>Release-Note:
>Audit-Trail:
>Unformatted:



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