aboutsummaryrefslogtreecommitdiff
path: root/games/jfk
diff options
context:
space:
mode:
authorDanilo Egea Gondolfo <danilo@FreeBSD.org>2013-11-02 04:11:17 +0000
committerDanilo Egea Gondolfo <danilo@FreeBSD.org>2013-11-02 04:11:17 +0000
commitc7d6271fd9ef55ddeba588ed4000ab9149dc140b (patch)
tree235569efd0243e250ea94c55e9d00c52d5fa7f56 /games/jfk
parent792a5344abc242f0893f52441b645347483d7e9b (diff)
downloadports-c7d6271fd9ef55ddeba588ed4000ab9149dc140b.tar.gz
ports-c7d6271fd9ef55ddeba588ed4000ab9149dc140b.zip
Notes
Diffstat (limited to 'games/jfk')
-rw-r--r--games/jfk/Makefile22
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>