aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Lawrance <lawrance@FreeBSD.org>2006-11-05 12:59:54 +0000
committerSam Lawrance <lawrance@FreeBSD.org>2006-11-05 12:59:54 +0000
commit7ffd32ccb9a9a6f7de6b1edaeca6ae30f3a53158 (patch)
tree666f88252dbdeb610d1be11df6dbf2d0e37930b4
parentf23e7f18f749fd4ad1fb4f942b4104e073aebbfe (diff)
downloadports-7ffd32ccb9a9a6f7de6b1edaeca6ae30f3a53158.tar.gz
ports-7ffd32ccb9a9a6f7de6b1edaeca6ae30f3a53158.zip
Notes
-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/