34 lines
630 B
Makefile

# $OpenBSD: Makefile,v 1.23 2017/07/26 22:45:21 sthen Exp $
COMMENT= sdl port of xkobo
DISTNAME= KoboDeluxe-0.5.1
PKGNAME= ${DISTNAME:L}
CATEGORIES= games x11
MASTER_SITES= ${HOMEPAGE}download/
REVISION= 2
EXTRACT_SUFX= .tar.bz2
HOMEPAGE= http://olofson.net/kobodl/
FLAVORS= harder
FLAVOR?=
.if ${FLAVOR:Mharder}
PATCH_LIST=patch-* extra-hard
.endif
# GPL
PERMIT_PACKAGE_CDROM= Yes
WANTLIB= SDL c m pthread ${COMPILER_LIBCXX} SDL_image
LIB_DEPENDS= devel/sdl-image
CONFIGURE_STYLE=gnu
CONFIGURE_ENV+= sdlconf_args=--prefix=${LOCALBASE}
pre-configure:
@cp ${FILESDIR}/missile* ${WRKSRC}/data/gfx/
.include <bsd.port.mk>