aboutsummaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2014-03-18 07:50:20 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2014-03-18 07:50:20 +0000
commit1a418c214f9d5d8b30dedf92a27b1d1e3ac6a312 (patch)
treebf4cf3ed2e0b46908dee34f0b813c05333e150be /x11-wm
parent883c832ead09d033dbb530b4834100ea9b9697bf (diff)
Notes
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/genmenu/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/x11-wm/genmenu/Makefile b/x11-wm/genmenu/Makefile
index 184295526e48..c633f52234d8 100644
--- a/x11-wm/genmenu/Makefile
+++ b/x11-wm/genmenu/Makefile
@@ -12,14 +12,13 @@ COMMENT= Generating menus for Bbox, Fbox, Obox, WM and E
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
-PLIST_FILES= bin/genmenu
+USES= shebangfix
NO_BUILD= yes
-NO_STAGE= yes
-post-patch:
- @${REINPLACE_CMD} -e "s|^#!/bin/bash|#!${LOCALBASE}/bin/bash|" ${WRKSRC}/genmenu
+PLIST_FILES= bin/genmenu
+SHEBANG_FILES= genmenu
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/genmenu ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/genmenu ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>