diff options
author | danilo <danilo@FreeBSD.org> | 2013-11-02 12:11:17 +0800 |
---|---|---|
committer | danilo <danilo@FreeBSD.org> | 2013-11-02 12:11:17 +0800 |
commit | a3bb082041fc0b4bdd3023010e17c982defab0f8 (patch) | |
tree | 235569efd0243e250ea94c55e9d00c52d5fa7f56 | |
parent | af868cb8c2b569219a0c369ea71aa2655036c04d (diff) | |
download | freebsd-ports-gnome-a3bb082041fc0b4bdd3023010e17c982defab0f8.tar.gz freebsd-ports-gnome-a3bb082041fc0b4bdd3023010e17c982defab0f8.tar.zst freebsd-ports-gnome-a3bb082041fc0b4bdd3023010e17c982defab0f8.zip |
- Remove indefinite article from COMMENT
- Add DOCS option
- Add stage support
-rw-r--r-- | games/jfk/Makefile | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/games/jfk/Makefile b/games/jfk/Makefile index 42b16bf9a708..3044fce413c9 100644 --- a/games/jfk/Makefile +++ b/games/jfk/Makefile @@ -11,30 +11,24 @@ LICENSE= GPLv2 # (or later) LICENSE_FILE= ${WRKSRC}/COPYING MAINTAINER= ports@FreeBSD.org -COMMENT= A multiplayer 2D shoot'em up game +COMMENT= Multiplayer 2D shoot'em up game USE_SDL= image sdl GNU_CONFIGURE= yes SUB_FILES= pkg-message -NO_STAGE= yes -.include <bsd.port.pre.mk> +OPTIONS_DEFINE= DOCS do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/src/client/jfkclient ${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/src/server/jfkserver ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/src/client/jfkclient ${STAGEDIR}${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/src/server/jfkserver ${STAGEDIR}${PREFIX}/bin .for file in art levels - @(cd ${WRKSRC}/${file}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} install) + (cd ${WRKSRC}/${file}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} install) .endfor -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in controls.txt jfkclient.sample jfkserver.sample - ${INSTALL_MAN} ${WRKSRC}/doc/${file} ${DOCSDIR} + ${INSTALL_MAN} ${WRKSRC}/doc/${file} ${STAGEDIR}${DOCSDIR} .endfor -.endif -post-install: - @${CAT} ${PKGMESSAGE} - -.include <bsd.port.post.mk> +.include <bsd.port.mk> |