aboutsummaryrefslogtreecommitdiffstats
path: root/x11/dmenu
diff options
context:
space:
mode:
Diffstat (limited to 'x11/dmenu')
-rw-r--r--x11/dmenu/Makefile15
-rw-r--r--x11/dmenu/distinfo12
2 files changed, 18 insertions, 9 deletions
diff --git a/x11/dmenu/Makefile b/x11/dmenu/Makefile
index 4e9ae1a929e2..9316b581e7c7 100644
--- a/x11/dmenu/Makefile
+++ b/x11/dmenu/Makefile
@@ -6,10 +6,9 @@
#
PORTNAME= dmenu
-PORTVERSION= 4.0
-PORTREVISION= 1
+PORTVERSION= 4.1.1
CATEGORIES= x11
-MASTER_SITES= http://code.suckless.org/dl/tools/ \
+MASTER_SITES= http://dl.suckless.org/tools/ \
http://schot.a-eskwadraat.nl/files/
PATCH_SITES= http://schot.a-eskwadraat.nl/files/
@@ -31,6 +30,16 @@ PATCH_DIST_STRIP= -p1
USE_XORG+= xft
.endif
+pre-everything::
+ @${ECHO_MSG} "You can build dmenu with your own config.h using the DMENU_CONF knob:"
+ @${ECHO_MSG} "make DMENU_CONF=/path/to/dmenu/config.h install clean"
+
+post-extract:
+.if defined(DMENU_CONF)
+ @${ECHO_MSG} "creating config.h from ${DMENU_CONF}"
+ @${CP} ${DMENU_CONF} ${WRKSRC}/config.h
+.endif
+
post-patch:
@${GREP} -Rl '%%[[:alpha:]]\+%%' ${WRKSRC}|${XARGS} ${REINPLACE_CMD} \
-e "s,%%PREFIX%%,${PREFIX},g" \
diff --git a/x11/dmenu/distinfo b/x11/dmenu/distinfo
index 8cd8f4a522e4..a9a2c022703f 100644
--- a/x11/dmenu/distinfo
+++ b/x11/dmenu/distinfo
@@ -1,6 +1,6 @@
-MD5 (dmenu-4.0.tar.gz) = 66e761a653930cc8a21614ba9fedf903
-SHA256 (dmenu-4.0.tar.gz) = c04508285e21a1fc055b76890ec47e9956d8edc4d460dbcac59f96f061b2e862
-SIZE (dmenu-4.0.tar.gz) = 8576
-MD5 (dmenu-4.0-xft.diff) = e259bf32b4ff15d345581f934ba99e46
-SHA256 (dmenu-4.0-xft.diff) = d7bbc1883453ef2d1025111fec48831f453c586007349a13ba2ab4b54177fd15
-SIZE (dmenu-4.0-xft.diff) = 8596
+MD5 (dmenu-4.1.1.tar.gz) = 931896a199741c23be945e8519a81c1d
+SHA256 (dmenu-4.1.1.tar.gz) = 9e5f775ae62169520aeb5707f72f8a843552becf776abbd7bcb6ba11fd41e60a
+SIZE (dmenu-4.1.1.tar.gz) = 9351
+MD5 (dmenu-4.1.1-xft.diff) = 8547edd9b9e46869e17023eb073a8fac
+SHA256 (dmenu-4.1.1-xft.diff) = f74d68881d3fba05c77a0483f2e9faf1e16b57d526680df36c79262c4eff13e3
+SIZE (dmenu-4.1.1-xft.diff) = 10230