36 lines
728 B
Makefile

# $OpenBSD: Makefile,v 1.9 2017/07/26 22:45:22 sthen Exp $
COMMENT = overhead shooting game
V = 1.30
DISTNAME = orbital_eunuchs_sniper-${V}
PKGNAME = snipe2d-${V}
REVISION = 1
CATEGORIES = games
HOMEPAGE = http://icculus.org/oes/
MAINTAINER = Edd Barrett <edd@openbsd.org>
# zlib-a-like - see COPYING in sources
PERMIT_PACKAGE_CDROM = Yes
WANTLIB += SDL c m pthread ${COMPILER_LIBCXX} SDL_image>=2 SDL_mixer>=3
MASTER_SITES = http://icculus.org/oes/
LIB_DEPENDS = devel/sdl-image \
devel/sdl-mixer
CONFIGURE_STYLE = gnu
CONFIGURE_ENV += LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib \
-pthread" CPPFLAGS=-I${LOCALBASE}/include
post-extract:
rm ${WRKDIST}/Makefile.orig
.include <bsd.port.mk>