45 lines
1012 B
Makefile
45 lines
1012 B
Makefile
# $OpenBSD: Makefile,v 1.3 2018/12/05 20:19:01 naddy Exp $
|
|
|
|
COMMENT = space exploration and combat game similar to Escape Velocity
|
|
CATEGORIES = games x11
|
|
|
|
GH_ACCOUNT = endless-sky
|
|
GH_PROJECT = endless-sky
|
|
GH_TAGNAME = v0.9.8
|
|
REVISION = 1
|
|
|
|
HOMEPAGE = https://endless-sky.github.io/
|
|
MAINTAINER = Brian Callahan <bcallah@openbsd.org>
|
|
|
|
# Game: GPLv3+
|
|
# Assets: Combination of CC-BY-SA 4.0, 3.0, and Public Domain
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
WANTLIB += ${COMPILER_LIBCXX} GL GLEW SDL2 c jpeg m mad openal
|
|
WANTLIB += png
|
|
|
|
# C++11
|
|
COMPILER = base-clang ports-gcc
|
|
|
|
MODULES = devel/scons
|
|
|
|
LIB_DEPENDS = audio/libmad \
|
|
audio/openal \
|
|
devel/sdl2 \
|
|
graphics/glew \
|
|
graphics/jpeg \
|
|
graphics/png
|
|
|
|
RUN_DEPENDS = devel/desktop-file-utils \
|
|
x11/gtk+3,-guic
|
|
|
|
MAKE_ENV = CXXFLAGS="${CXXFLAGS} -I${LOCALBASE}/include -I${X11BASE}/include" \
|
|
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib -L${X11BASE}/lib"
|
|
|
|
NO_TEST = Yes
|
|
|
|
pre-configure:
|
|
sed -i 's,/usr/local,${LOCALBASE},g' ${WRKSRC}/source/Files.cpp
|
|
|
|
.include <bsd.port.mk>
|