svn commit: r348520 - head/x11-wm/genmenu

Emanuel Haupt ehaupt at FreeBSD.org
Tue Mar 18 07:50:20 UTC 2014


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>


More information about the svn-ports-head mailing list