diff options
author | Danilo Egea Gondolfo <danilo@FreeBSD.org> | 2013-11-02 03:35:24 +0000 |
---|---|---|
committer | Danilo Egea Gondolfo <danilo@FreeBSD.org> | 2013-11-02 03:35:24 +0000 |
commit | d33d5cb53ec0828cb967dae8208d582789e3b2e3 (patch) | |
tree | 6ba0a113c6096e6fef136559044c64825f5d2ba8 /games/hex | |
parent | 9dea9d26655afcd5470b612e706141563684a7b2 (diff) | |
download | ports-d33d5cb53ec0828cb967dae8208d582789e3b2e3.tar.gz ports-d33d5cb53ec0828cb967dae8208d582789e3b2e3.zip |
Notes
Diffstat (limited to 'games/hex')
-rw-r--r-- | games/hex/Makefile | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/games/hex/Makefile b/games/hex/Makefile index 260666863820..b3b827132352 100644 --- a/games/hex/Makefile +++ b/games/hex/Makefile @@ -16,18 +16,17 @@ MAKE_ENV= GRAPHICPATH="${GRAPHICPATH}" LEVELPATH="${LEVELPATH}" GRAPHICPATH= ${PREFIX}/share/hex/graphics LEVELPATH= ${PREFIX}/share/hex/levels -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/hex ${PREFIX}/bin - @${MKDIR} ${GRAPHICPATH} - ${INSTALL_DATA} ${WRKSRC}/graphics/*.png ${GRAPHICPATH} - @${MKDIR} ${LEVELPATH} - ${INSTALL_DATA} ${WRKSRC}/levels/Level1 ${LEVELPATH} -.if !defined(NOPORTDOCS) - @${MKDIR} ${PREFIX}/share/doc/hex + ${INSTALL_PROGRAM} ${WRKSRC}/hex ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${GRAPHICPATH} + ${INSTALL_DATA} ${WRKSRC}/graphics/*.png ${STAGEDIR}${GRAPHICPATH} + @${MKDIR} ${STAGEDIR}${LEVELPATH} + ${INSTALL_DATA} ${WRKSRC}/levels/Level1 ${STAGEDIR}${LEVELPATH} + @${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in HISTORY README TODO - ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/hex + ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} .endfor -.endif .include <bsd.port.mk> |