aboutsummaryrefslogtreecommitdiff
path: root/games/crispy-doom/Makefile
blob: b702536ba5381b1f175a8c5479c669e854e4c762 (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
PORTNAME=	crispy-doom
PORTVERSION=	5.10.1
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 \
		libpng.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>