aboutsummaryrefslogtreecommitdiff
path: root/games/kuklomenos/Makefile
blob: db414df04afcc5ef7ab2ce31ae90012e968bcd6b (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
# Created by: chinsan
# $FreeBSD$

PORTNAME=	kuklomenos
PORTVERSION=	0.4.5
PORTREVISION=	4
CATEGORIES=	games
MASTER_SITES=	http://mbays.freeshell.org/kuklomenos/src/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Simple but challenging abstract shoot-em-up game

LICENSE=	GPLv3+
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libcurl.so:${PORTSDIR}/ftp/curl

OPTIONS_DEFINE=	VORBIS
OPTIONS_DEFAULT=	VORBIS
OPTIONS_SUB=	yes

USE_SDL=	sdl
GNU_CONFIGURE=	yes

CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-lpthread -L${LOCALBASE}/lib

VORBIS_LIB_DEPENDS=	libvorbis.so:${PORTSDIR}/audio/libvorbis
VORBIS_CONFIGURE_ENABLE=	sound

post-patch:
	@${REINPLACE_CMD} -e \
		's|<SDL/SDL_mixer.h>|"SDL_mixer.h"|g' ${WRKSRC}/SDL_mixer/load_ogg.c
	@${REINPLACE_CMD} -e \
		'/^sounds_DATA/s|Makefile.am||g' ${WRKSRC}/sounds/Makefile.in

.include <bsd.port.mk>