diff options
author | Doug Barton <dougb@FreeBSD.org> | 2006-11-26 00:14:17 +0000 |
---|---|---|
committer | Doug Barton <dougb@FreeBSD.org> | 2006-11-26 00:14:17 +0000 |
commit | 108cd597efcfcd05fd923e7edf7aa5a204cbe689 (patch) | |
tree | 2e8a6b0ccdca5ac7b30136de7c5c5c4b43a7dfdf | |
parent | a94460a1abab54d3206090764598ff3d98b28570 (diff) | |
download | ports-108cd597efcfcd05fd923e7edf7aa5a204cbe689.tar.gz ports-108cd597efcfcd05fd923e7edf7aa5a204cbe689.zip |
Handle non-traditional LOCALBASE and X11BASE
PR:
Submitted by: pointyhat
Notes
Notes:
svn path=/head/; revision=178035
-rw-r--r-- | net/wmwlmon/Makefile | 7 |
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 |