Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Nov 2013 04:11:18 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r332452 - head/games/jfk
Message-ID:  <201311020411.rA24BIpA002074@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Sat Nov  2 04:11:17 2013
New Revision: 332452
URL: http://svnweb.freebsd.org/changeset/ports/332452

Log:
  - Remove indefinite article from COMMENT
  - Add DOCS option
  - Add stage support

Modified:
  head/games/jfk/Makefile

Modified: head/games/jfk/Makefile
==============================================================================
--- head/games/jfk/Makefile	Sat Nov  2 03:47:37 2013	(r332451)
+++ head/games/jfk/Makefile	Sat Nov  2 04:11:17 2013	(r332452)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311020411.rA24BIpA002074>