summaryrefslogtreecommitdiff
path: root/net/wmwlmon
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2006-11-26 00:14:17 +0000
committerDoug Barton <dougb@FreeBSD.org>2006-11-26 00:14:17 +0000
commit108cd597efcfcd05fd923e7edf7aa5a204cbe689 (patch)
tree2e8a6b0ccdca5ac7b30136de7c5c5c4b43a7dfdf /net/wmwlmon
parentUSE_X_PREFIX implies USE_XLIB, so remove the redundancy. (diff)
Handle non-traditional LOCALBASE and X11BASE
PR: Submitted by: pointyhat
Notes
Notes: svn path=/head/; revision=178035
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