blob: 709b9c61d76e8e7f3e15196d4338872222edd4ad (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
# $FreeBSD$
PORTNAME= kajaani-kombat
PORTVERSION= 0.7
PORTREVISION= 6
CATEGORIES= games
MASTER_SITES= http://kombat.kajaani.net/dl/
MAINTAINER= ports@FreeBSD.org
COMMENT= Funny multiplayer game... and much more
LICENSE= GPLv2 # or later
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2
USES= gmake iconv
USE_SDL= sdl image mixer net ttf
ALL_TARGET= client server
PORTDOCS= AUTHORS ChangeLog README
OPTIONS_DEFINE= DOCS
SUB_FILES= ${PORTNAME}
DESKTOP_ENTRIES="Kajaani Kombat" "" "${PORTNAME}" \
"${PORTNAME}" "Game;ArcadeGame;" ""
post-patch:
@${REINPLACE_CMD} 's|-O||g; s|-Wall $$(DEBUG)|${CXXFLAGS} &|' \
${WRKSRC}/Makefile
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
@${MKDIR} ${STAGEDIR}${DATADIR}
.for f in *.png *.ogg *.ttf
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DATADIR}
.endfor
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${DATADIR}
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}-server ${STAGEDIR}${DATADIR}
${LN} -sf ${DATADIR}/logo.png \
${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.6 ${STAGEDIR}${MAN6PREFIX}/man/man6/
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|