Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Nov 2013 13:27:16 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r332369 - head/games/exhaust-doc
Message-ID:  <201311011327.rA1DRG7v094867@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Fri Nov  1 13:27:16 2013
New Revision: 332369
URL: http://svnweb.freebsd.org/changeset/ports/332369

Log:
  - Add stage support
  - Silence MKDIR
  - Use shebangfix

Modified:
  head/games/exhaust-doc/Makefile

Modified: head/games/exhaust-doc/Makefile
==============================================================================
--- head/games/exhaust-doc/Makefile	Fri Nov  1 13:20:18 2013	(r332368)
+++ head/games/exhaust-doc/Makefile	Fri Nov  1 13:27:16 2013	(r332369)
@@ -12,25 +12,27 @@ COMMENT=	Redcode simulator easy to embed
 
 NO_BUILD=	yes
 
-NO_STAGE=	yes
+USES=		shebangfix
+SHEBANG_FILES=	${WRKSRC}/test.pl
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|./\(exhaust\)|\1|g' ${WRKSRC}/test.pl
 
 do-install:
-	${MKDIR} ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for f in README test.pl
-	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
 .endfor
-	${MKDIR} ${DOCSDIR}/src
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}/src
 .for f in asm.c asm.h exhaust.c exhaust.h insn.h pspace.c pspace.h
-	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/src
+	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/src
 .endfor
-	${MKDIR} ${DOCSDIR}/warriors
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}/warriors
 .for f in	pin1a.rc pin1a.red pin1b.rc pin1b.red pin2a.rc pin2a.red \
 		pin2b.rc pin2b.red ptest1.rc ptest1.red ptest2.rc ptest2.red \
 		ptest3.rc ptest3.red ptest4.rc ptest4.red ptest5.rc \
 		ptest5.red ptest6.rc ptest6.red validate.rc validate.red
-	${INSTALL_DATA} ${WRKSRC}/t/${f} ${DOCSDIR}/warriors
+	${INSTALL_DATA} ${WRKSRC}/t/${f} ${STAGEDIR}${DOCSDIR}/warriors
 .endfor
 
 .include <bsd.port.mk>



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