diff options
author | danilo <danilo@FreeBSD.org> | 2013-11-01 21:27:16 +0800 |
---|---|---|
committer | danilo <danilo@FreeBSD.org> | 2013-11-01 21:27:16 +0800 |
commit | 8d7092c6985e2415306600d85445d2870c65a8dc (patch) | |
tree | 98fc43bc331618d9df300eea32a08a8121a83f55 | |
parent | 0ba911306708e35a0e280b94c63fdb599c081899 (diff) | |
download | freebsd-ports-gnome-8d7092c6985e2415306600d85445d2870c65a8dc.tar.gz freebsd-ports-gnome-8d7092c6985e2415306600d85445d2870c65a8dc.tar.zst freebsd-ports-gnome-8d7092c6985e2415306600d85445d2870c65a8dc.zip |
- Add stage support
- Silence MKDIR
- Use shebangfix
-rw-r--r-- | games/exhaust-doc/Makefile | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/games/exhaust-doc/Makefile b/games/exhaust-doc/Makefile index c81e1ffa47ad..65a74ec706e1 100644 --- a/games/exhaust-doc/Makefile +++ b/games/exhaust-doc/Makefile @@ -12,25 +12,27 @@ COMMENT= Redcode simulator easy to embed into applications (docs) 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> |