aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/dwm
diff options
context:
space:
mode:
authorlawrance <lawrance@FreeBSD.org>2006-11-05 20:59:54 +0800
committerlawrance <lawrance@FreeBSD.org>2006-11-05 20:59:54 +0800
commit9bd548066345fe8f016beb5c32e0ddf1c94e26a0 (patch)
tree6fc7f84833f0a226903cc0be0141559a28ace948 /x11-wm/dwm
parenta0bd290a1d43a78b64bef275fafdf8e6961f070a (diff)
downloadfreebsd-ports-gnome-9bd548066345fe8f016beb5c32e0ddf1c94e26a0.tar.gz
freebsd-ports-gnome-9bd548066345fe8f016beb5c32e0ddf1c94e26a0.tar.zst
freebsd-ports-gnome-9bd548066345fe8f016beb5c32e0ddf1c94e26a0.zip
Update master sites and add a config knob.
PR: ports/104538 Submitted by: Jeroen Schot <schot@a-eskwadraat.nl> (maintainer)
Diffstat (limited to 'x11-wm/dwm')
-rw-r--r--x11-wm/dwm/Makefile12
-rw-r--r--x11-wm/dwm/pkg-descr2
2 files changed, 12 insertions, 2 deletions
diff --git a/x11-wm/dwm/Makefile b/x11-wm/dwm/Makefile
index ce6fc3207d32..cac8c4dfc825 100644
--- a/x11-wm/dwm/Makefile
+++ b/x11-wm/dwm/Makefile
@@ -8,7 +8,7 @@
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
@@ -16,6 +16,16 @@ COMMENT= A dynamic, small, fast and simple window manager
USE_XLIB= yes
+pre-everything::
+ @${ECHO} ==================================================================
+ @${ECHO} You may build dwm with your own config.h, just use DWM_CONF knob:
+ @${ECHO} make DWM_CONF=/path/to/dwm/config.h install clean
+ @${ECHO} ==================================================================
+
+.if defined(DWM_CONF)
+ @${CP} {$DWM_CONF} ${WRKSRC}/config.h
+.endif
+
MAN1= dwm.1
PLIST_FILES= bin/dwm
diff --git a/x11-wm/dwm/pkg-descr b/x11-wm/dwm/pkg-descr
index da346dd6214b..c6e14b511279 100644
--- a/x11-wm/dwm/pkg-descr
+++ b/x11-wm/dwm/pkg-descr
@@ -6,4 +6,4 @@ It consists of a single binary and configuration is done by editing the source
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/