diff options
author | danilo <danilo@FreeBSD.org> | 2013-11-03 11:28:16 +0800 |
---|---|---|
committer | danilo <danilo@FreeBSD.org> | 2013-11-03 11:28:16 +0800 |
commit | afea39e5d8fc996fdbb708f00677c5997a4c7194 (patch) | |
tree | 0a6c59bca5f302971e12c0026d4de16615502ee5 /games/mindguard/Makefile | |
parent | 0c66c376fcf4cf8aabb9f84e52016691a6df5116 (diff) | |
download | freebsd-ports-gnome-afea39e5d8fc996fdbb708f00677c5997a4c7194.tar.gz freebsd-ports-gnome-afea39e5d8fc996fdbb708f00677c5997a4c7194.tar.zst freebsd-ports-gnome-afea39e5d8fc996fdbb708f00677c5997a4c7194.zip |
- Add stage support
- Add DOCS option
Diffstat (limited to 'games/mindguard/Makefile')
-rw-r--r-- | games/mindguard/Makefile | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/games/mindguard/Makefile b/games/mindguard/Makefile index 822816b43550..cf04c49888fb 100644 --- a/games/mindguard/Makefile +++ b/games/mindguard/Makefile @@ -35,18 +35,17 @@ DOCS= algorithms.html antarctic.html author.html \ tikiroom.html un.html usage.html \ versions.html -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/mindguard ${PREFIX}/bin/mindguard - ${MKDIR} ${PREFIX}/share/mindguard + ${INSTALL_PROGRAM} ${WRKSRC}/mindguard ${STAGEDIR}${PREFIX}/bin/mindguard + ${MKDIR} ${STAGEDIR}${PREFIX}/share/mindguard .for i in ${CARRIERS} - ${INSTALL_DATA} ${WRKSRC}/carriers/$i ${PREFIX}/share/mindguard + ${INSTALL_DATA} ${WRKSRC}/carriers/$i ${STAGEDIR}${PREFIX}/share/mindguard .endfor -.if !defined(NOPORTDOCS) - ${MKDIR} ${PREFIX}/share/doc/mindguard + ${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/mindguard .for i in ${DOCS} - ${INSTALL_DATA} ${WRKSRC}/docs/$i ${PREFIX}/share/doc/mindguard + ${INSTALL_DATA} ${WRKSRC}/docs/$i ${STAGEDIR}${PREFIX}/share/doc/mindguard .endfor -.endif .include <bsd.port.mk> |