mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-13 03:03:15 +00:00
645b7b7969
- Add stage support - Use options helpers
37 lines
825 B
Makefile
37 lines
825 B
Makefile
# Created by: chinsan
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= kuklomenos
|
|
PORTVERSION= 0.4.5
|
|
PORTREVISION= 2
|
|
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
|
|
|
|
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 ${PTHEAD_CFLAGS}
|
|
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
|
|
|
|
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>
|