openbsd-ports/games/kobodeluxe/Makefile
ajacoutot a08f3919de Sanitize some @unexec/@extraunexec calls to rm: move them up in the
PLIST and delete everything under the @sample'd directory instead of the
directory itself to prevent a warning from pkg_delete(1) trying to
remove a non existing directory and to help preventing left-over files
and directories.
2011-05-11 06:56:42 +00:00

41 lines
714 B
Makefile

# $OpenBSD: Makefile,v 1.15 2011/05/11 06:56:42 ajacoutot Exp $
COMMENT= sdl port of xkobo
DISTNAME= KoboDeluxe-0.5.1
PKGNAME= ${DISTNAME:L}
CATEGORIES= games x11
MASTER_SITES= ${HOMEPAGE}download/
REVISION= 0
EXTRACT_SUFX= .tar.bz2
HOMEPAGE= http://olofson.net/kobodl/
FLAVORS= harder
FLAVOR?=
.if ${FLAVOR:L:Mharder}
PATCH_LIST=patch-* extra-hard
.endif
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= SDL c m pthread stdc++ SDL_image
LIB_DEPENDS= devel/sdl-image
FAKE= all
CONFIGURE_STYLE=gnu
CONFIGURE_ENV+= sdlconf_args=--prefix=${DEPBASE}
pre-configure:
@cp ${FILESDIR}/missile* ${WRKSRC}/data/gfx/
.include <bsd.port.mk>