summaryrefslogtreecommitdiff
path: root/net/wmwlmon
diff options
context:
space:
mode:
Diffstat (limited to 'net/wmwlmon')
-rw-r--r--net/wmwlmon/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/net/wmwlmon/Makefile b/net/wmwlmon/Makefile
index 2ec03f7c4c9e..e326c1493a35 100644
--- a/net/wmwlmon/Makefile
+++ b/net/wmwlmon/Makefile
@@ -7,6 +7,7 @@
PORTNAME= wmwlmon
PORTVERSION= 0.9
+PORTREVISION= 1
CATEGORIES= net windowmaker
MASTER_SITES= http://www.nazgul.ch/dev/ \
http://dougbarton.us/Downloads/
@@ -27,6 +28,12 @@ PLIST_FILES= bin/wmwlmon
BROKEN= Needs WLAN infrastructure from 6.0-RELEASE or newer
.endif
+post-patch:
+ ${CP} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.presed
+ ${SED} -e 's#/usr/X11R6#${X11BASE}#g' \
+ -e 's#/usr/local#${LOCALBASE}#g' \
+ ${WRKSRC}/Makefile.presed > ${WRKSRC}/Makefile
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/wmwlmon ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/wmwlmon.1 ${MANPREFIX}/man/man1