diff options
author | mva <mva@FreeBSD.org> | 2012-05-16 00:23:43 +0800 |
---|---|---|
committer | mva <mva@FreeBSD.org> | 2012-05-16 00:23:43 +0800 |
commit | 442a29c847f38aa513c2160f7ba71d44df4180bd (patch) | |
tree | 010efcabbd3cbf53c0302fe5194dea959ceeaf5e /games | |
parent | 1badf1180ef4dd2d6c710eeb74445da083c63132 (diff) | |
download | freebsd-ports-gnome-442a29c847f38aa513c2160f7ba71d44df4180bd.tar.gz freebsd-ports-gnome-442a29c847f38aa513c2160f7ba71d44df4180bd.tar.zst freebsd-ports-gnome-442a29c847f38aa513c2160f7ba71d44df4180bd.zip |
Kajaani Kombat is a funny multiplayer game... and much more!
It is a rampart-like game (old arcade classic) set in space.
Kajaani Kombat is playable with two to four players, over the internet
or alternatively two players sharing one computer. It is also possible
to play over the internet with, for example, 4 players of which two are
sharing the same computer. Enjoy it with your friends!
WWW: http://kombat.kajaani.net/
PR: ports/167374
Submitted by: nemysis@gmx.ch
Diffstat (limited to 'games')
-rw-r--r-- | games/Makefile | 1 | ||||
-rw-r--r-- | games/kajaani-kombat/Makefile | 69 | ||||
-rw-r--r-- | games/kajaani-kombat/distinfo | 2 | ||||
-rw-r--r-- | games/kajaani-kombat/pkg-descr | 9 |
4 files changed, 81 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile index 5271a477e153..79b5c4131282 100644 --- a/games/Makefile +++ b/games/Makefile @@ -409,6 +409,7 @@ SUBDIR += jvgs SUBDIR += jzip SUBDIR += kaid + SUBDIR += kajaani-kombat SUBDIR += kajongg SUBDIR += kamikaze SUBDIR += kanagram diff --git a/games/kajaani-kombat/Makefile b/games/kajaani-kombat/Makefile new file mode 100644 index 000000000000..d04c5789da43 --- /dev/null +++ b/games/kajaani-kombat/Makefile @@ -0,0 +1,69 @@ +# New Ports collection makefile for: kajaani-kombat +# Date created: 2012-04-27 +# Whom: nemysis@gmx.ch +# +# $FreeBSD$ +# + +PORTNAME= kombat +PORTVERSION= 0.7 +CATEGORIES= games +MASTER_SITES= http://kombat.kajaani.net/dl/ +PKGNAMEPREFIX= kajaani- +DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION} + +MAINTAINER= nemysis@gmx.ch +COMMENT= Kajaani Kombat is a funny multiplayer game... and much more + +LICENSE= GPLv2 + +LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 + +WRKSRC= ${WRKDIR}/${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION} + +USE_GMAKE= yes +USE_SDL= sdl image mixer net ttf +MAKE_JOBS_SAFE= yes + +PLIST_FILES= bin/kajaani-kombat \ + bin/kajaani-kombat-server \ + share/pixmaps/kajaani-kombat.png + +PORTDATA= * +PORTDOCS= AUTHORS ChangeLog README +DATADIR= ${PREFIX}/share/${PKGNAMEPREFIX}${PORTNAME} +DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} + +do-build: + @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE}) + @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} server) + +do-install: +# Scripts + @${PRINTF} "#!/bin/sh\n\ncd ${DATADIR} &&\ + ./kajaani-kombat\n" > ${WRKDIR}/kajaani-kombat.sh + @${INSTALL_SCRIPT} ${WRKDIR}/kajaani-kombat.sh ${PREFIX}/bin/kajaani-kombat + @${PRINTF} "#!/bin/sh\n\ncd ${DATADIR} &&\ + ./kajaani-kombat-server\n" > ${WRKDIR}/kajaani-kombat-server.sh + @${INSTALL_SCRIPT} ${WRKDIR}/kajaani-kombat-server.sh ${PREFIX}/bin/kajaani-kombat-server +# Executable + ${MKDIR} ${DATADIR} + ${INSTALL_PROGRAM} ${WRKSRC}/kajaani-kombat ${DATADIR} + ${INSTALL_PROGRAM} ${WRKSRC}/kajaani-kombat-server ${DATADIR} + +post-install: +# Data +.if !defined (NOPORTDATA) + ${INSTALL_DATA} ${WRKSRC}/*.png ${WRKSRC}/*.ogg ${WRKSRC}/*.ttf ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/logo.png ${PREFIX}/share/pixmaps/${PKGNAMEPREFIX}${PORTNAME}.png +.endif + +# Documentations +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} +. for f in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} +. endfor +.endif + +.include <bsd.port.mk> diff --git a/games/kajaani-kombat/distinfo b/games/kajaani-kombat/distinfo new file mode 100644 index 000000000000..d63442c85b74 --- /dev/null +++ b/games/kajaani-kombat/distinfo @@ -0,0 +1,2 @@ +SHA256 (kajaani-kombat-0.7.tar.gz) = ec67316b8f5823a8b4d2097045be574aae805e40a8d3640e3ad205b073234f83 +SIZE (kajaani-kombat-0.7.tar.gz) = 1805504 diff --git a/games/kajaani-kombat/pkg-descr b/games/kajaani-kombat/pkg-descr new file mode 100644 index 000000000000..4765edba40ff --- /dev/null +++ b/games/kajaani-kombat/pkg-descr @@ -0,0 +1,9 @@ +Kajaani Kombat is a funny multiplayer game... and much more! +It is a rampart-like game (old arcade classic) set in space. + +Kajaani Kombat is playable with two to four players, over the internet +or alternatively two players sharing one computer. It is also possible +to play over the internet with, for example, 4 players of which two are +sharing the same computer. Enjoy it with your friends! + +WWW: http://kombat.kajaani.net/ |