blob: e2db2acd0681f42febc005e7b333e873609ff6f3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
PORTNAME= cdogs-sdl
PORTVERSION= 1.5.0
CATEGORIES= games
MAINTAINER= bofh@FreeBSD.org
COMMENT= Classic overhead run-and-gun game
WWW= https://github.com/cxong/cdogs-sdl
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}protobuf>=3,1:devel/py-protobuf@${PY_FLAVOR} \
protoc:devel/protobuf
LIB_DEPENDS= libharfbuzz.so:print/harfbuzz
USES= cmake compiler:c++11-lang desktop-file-utils gl gnome localbase:ldflags pkgconfig \
python sdl
USE_SDL= image2 mixer2 sdl2
USE_GNOME= cairo gdkpixbuf2 gtk30
USE_GL= gl
USE_GITHUB= yes
GH_ACCOUNT= cxong
CMAKE_ARGS= -DCDOGS_DATA_DIR=${DATADIR}/
BINARY_ALIAS= python3=${PYTHON_VERSION}
# Fix with clang11
CFLAGS+= -fcommon
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/cdogs-sdl
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/cdogs-sdl-editor
.include <bsd.port.mk>
|