/
Makefile
39 lines (29 loc) · 975 Bytes
/
Makefile
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
PORTNAME= mrboom
PORTVERSION= 5.3
CATEGORIES= games
MASTER_SITES= https://github.com/Javanaise/mrboom-libretro/releases/download/${PORTVERSION}/
DISTNAME= MrBoom-src-${PORTVERSION}
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= 8 players Bomberman clone
WWW= http://mrboom.mumblecore.org/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BROKEN_FreeBSD_14_i386= lld crashes during build
BROKEN_FreeBSD_15_i386= lld crashes during build
LIB_DEPENDS= libmodplug.so:audio/libmodplug
USES= compiler:c++11-lang gmake minizip sdl
USE_SDL= mixer2 sdl2
MAKE_ENV+= LIBSDL2=1
ALL_TARGET= mrboom
CFLAGS+= `sdl2-config --cflags`
LDFLAGS+= `sdl2-config --libs`
PLIST_FILES= bin/mrboom \
man/man6/mrboom.6.gz \
share/applications/mrboom.desktop \
share/pixmaps/mrboom.png
post-install:
${INSTALL_DATA} ${WRKSRC}/Assets/${PORTNAME}.png \
${STAGEDIR}${PREFIX}/share/pixmaps/
${INSTALL_DATA} ${WRKSRC}/Assets/${PORTNAME}.desktop \
${STAGEDIR}${DESKTOPDIR}
.include <bsd.port.mk>