summaryrefslogtreecommitdiff
path: root/games/crispy-doom/Makefile
blob: 53d3f12dacadd4514f51e8e96aa60586e1c5c4ec (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
PORTNAME=	crispy-doom
PORTVERSION=	5.10.0
DISTVERSIONPREFIX=	${PORTNAME}-
CATEGORIES=	games

MAINTAINER=	danilo@FreeBSD.org
COMMENT=	Enhanced-resolution Doom source port based on Chocolate Doom

LICENSE=	GPLv2

LIB_DEPENDS=	libsamplerate.so:audio/libsamplerate \
		libpng16.so:graphics/png

CONFLICTS_INSTALL=	chocolate-doom

USES=		autoreconf pkgconfig python:build sdl shebangfix
USE_CSTD=	c99
USE_SDL=	mixer2 net2 sdl2
GNU_CONFIGURE=	yes
SHEBANG_FILES=	man/docgen man/simplecpp

OPTIONS_DEFINE=	DOCS

USE_GITHUB=	yes
GH_ACCOUNT=	fabiangreffrath

post-patch:
	${REINPLACE_CMD} "s|python3|${PYTHON_VERSION}|" ${WRKSRC}/configure.ac

post-install:
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/crispy-*

.include <bsd.port.mk>