Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Mar 2014 07:50:20 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r348520 - head/x11-wm/genmenu
Message-ID:  <201403180750.s2I7oKO8019407@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Tue Mar 18 07:50:20 2014
New Revision: 348520
URL: http://svnweb.freebsd.org/changeset/ports/348520
QAT: https://qat.redports.org/buildarchive/r348520/

Log:
  - Support staging
  - Use shebangfix

Modified:
  head/x11-wm/genmenu/Makefile

Modified: head/x11-wm/genmenu/Makefile
==============================================================================
--- head/x11-wm/genmenu/Makefile	Tue Mar 18 07:48:43 2014	(r348519)
+++ head/x11-wm/genmenu/Makefile	Tue Mar 18 07:50:20 2014	(r348520)
@@ -12,14 +12,13 @@ COMMENT=	Generating menus for Bbox, Fbox
 
 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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403180750.s2I7oKO8019407>