blob: ee72792c758937b4bd9256341c21de022cd802a4 (
plain)
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
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# $NetBSD: Makefile,v 1.14 2020/01/18 21:49:31 jperkin Exp $
DISTNAME= teeworlds-0.7.4-src
PKGNAME= ${DISTNAME:S/-src//}
PKGREVISION= 1
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_GITHUB:=teeworlds/}
GITHUB_RELEASE= ${PKGVERSION_NOREV}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://www.teeworlds.com/
COMMENT= Fast-paced retro multiplayer shooter
LICENSE= zlib AND 2-clause-bsd AND modified-bsd AND cc-by-sa-v3.0
USE_LANGUAGES= c c++03
USE_CMAKE= yes
USE_TOOLS+= pkg-config
CMAKE_ARGS+= -Wno-dev
TOOL_DEPENDS+= icoutils-[0-9]*:../../graphics/icoutils
LDFLAGS.SunOS+= -lsocket -lnsl
INSTALLATION_DIRS+= share/appdata
INSTALLATION_DIRS+= share/applications
INSTALLATION_DIRS+= share/pixmaps
PYTHON_FOR_BUILD_ONLY= tool
post-build:
${PREFIX}/bin/icotool -x -i 1 ${WRKSRC}/other/icons/teeworlds.ico -o ${WRKDIR}/teeworlds.png
post-install:
${INSTALL_DATA} ${WRKSRC}/other/teeworlds.desktop ${DESTDIR}${PREFIX}/share/applications
${INSTALL_DATA} ${WRKSRC}/other/teeworlds.appdata.xml ${DESTDIR}${PREFIX}/share/appdata
${INSTALL_DATA} ${WRKDIR}/teeworlds.png ${DESTDIR}${PREFIX}/share/pixmaps
.include "../../audio/wavpack/buildlink3.mk"
.include "../../devel/SDL2/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/glu/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../lang/python/tool.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|