blob: 51c56e68b572cd2297e97acf0cf4350ce60f0035 (
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
|
# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
# $FreeBSD$
PORTNAME= mrboom
PORTVERSION= 4.5
PORTREVISION= 1
CATEGORIES= games
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= 8 players Bomberman clone
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libminizip.so:archivers/minizip \
libmodplug.so:audio/libmodplug
USES= compiler:c++11-lang gmake
USE_GITHUB= yes
USE_SDL= sdl2 mixer2
GH_ACCOUNT= Javanaise
GH_PROJECT= mrboom-libretro
ALL_TARGET= mrboom
CFLAGS+= `sdl2-config --cflags`
LDFLAGS+= `sdl2-config --libs`
MAKE_ENV+= LIBSDL2=1
PLIST_FILES= bin/mrboom man/man6/mrboom.6.gz \
share/applications/mrboom.desktop share/pixmaps/mrboom.png
post-patch:
@${REINPLACE_CMD} -E '/^GIT_VERSION/d' ${WRKSRC}/Makefile
post-install:
${INSTALL_DATA} ${WRKSRC}/Assets/${PORTNAME}.png \
${STAGEDIR}${PREFIX}/share/pixmaps/
${INSTALL_DATA} ${WRKSRC}/Assets/${PORTNAME}.desktop \
${STAGEDIR}${DESKTOPDIR}
.include <bsd.port.mk>
|