diff options
author | arved <arved@FreeBSD.org> | 2002-11-01 20:58:48 +0000 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2002-11-01 20:58:48 +0000 |
commit | 564f949f8b5848269383d4b6f51da674cef33e6f (patch) | |
tree | 393a37655935c6f82b26bcde854abc186ed0e58f /games/jfk/Makefile | |
parent | ba2c31a2e686fa8658b9f302c57a2db44939f71e (diff) | |
download | FreeBSD-ports-564f949f8b5848269383d4b6f51da674cef33e6f.zip FreeBSD-ports-564f949f8b5848269383d4b6f51da674cef33e6f.tar.gz |
Add jfk, an SDL multiplayer 2D shoot'em up game
PR: 43134
Submitted by: Stefan Farfeleder <e0026813@stud3.tuwien.ac.at>
Approved by: kris (mentor)
Diffstat (limited to 'games/jfk/Makefile')
-rw-r--r-- | games/jfk/Makefile | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/games/jfk/Makefile b/games/jfk/Makefile new file mode 100644 index 0000000..fc86d5f --- /dev/null +++ b/games/jfk/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: jfk +# Date created: 8 September 2002 +# Whom: Stefan Farfeleder <e0026813@stud3.tuwien.ac.at> +# +# $FreeBSD$ +# + +PORTNAME= jfk +PORTVERSION= 0.1.1 +CATEGORIES= games +MASTER_SITES= http://relax.ath.cx/jfk/ + +MAINTAINER= e0026813@stud3.tuwien.ac.at + +LIB_DEPENDS= SDL_image.10:${PORTSDIR}/graphics/sdl_image + +CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +GNU_CONFIGURE= yes +SDL_CONFIG= ${LOCALBASE}/bin/sdl11-config +CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/src/client/jfkclient ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/src/server/jfkserver ${PREFIX}/bin +.for file in art levels + @(cd ${WRKSRC}/${file}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} install) +.endfor +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for file in controls.txt jfkclient.sample jfkserver.sample + ${INSTALL_MAN} ${WRKSRC}/doc/${file} ${DOCSDIR} +.endfor +.endif + +post-install: + @${SED} s-\$${PREFIX}-${PREFIX}-g < ${PKGMESSAGE} + +.include <bsd.port.mk> |