aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/windowlab/Makefile
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2006-11-30 13:20:54 +0000
committerRong-En Fan <rafan@FreeBSD.org>2006-11-30 13:20:54 +0000
commit33e87b83c3028d0bf03834749ef0b6d3d5b0900f (patch)
tree66ecb2f009e61b695a33c25f65d92107a4ff7e29 /x11-wm/windowlab/Makefile
parent3cd04812896def81cd5bec58050c425504477a14 (diff)
downloadports-33e87b83c3028d0bf03834749ef0b6d3d5b0900f.tar.gz
ports-33e87b83c3028d0bf03834749ef0b6d3d5b0900f.zip
Notes
Diffstat (limited to 'x11-wm/windowlab/Makefile')
-rw-r--r--x11-wm/windowlab/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/x11-wm/windowlab/Makefile b/x11-wm/windowlab/Makefile
index 5ceec473ed9d..0ba8b014d4a6 100644
--- a/x11-wm/windowlab/Makefile
+++ b/x11-wm/windowlab/Makefile
@@ -26,9 +26,13 @@ PLIST_DIRS= etc/windowlab
PORTDOCS= CHANGELOG README
+post-patch:
+ @${REINPLACE_CMD} -e 's,^CC =,CC ?=,' \
+ -e 's,/usr/X11R6,${X11BASE},g' ${WRKSRC}/Makefile
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/windowlab ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/windowlab.1x ${PREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/windowlab.1x ${MANPREFIX}/man/man1
${MKDIR} ${PREFIX}/etc/windowlab
${INSTALL_DATA} ${WRKSRC}/windowlab.menurc ${PREFIX}/etc/windowlab/menurc
.if !defined(NOPORTDOCS)