summaryrefslogtreecommitdiff
path: root/games/ecwolf/Makefile
blob: 9901388cc4d1476c54d93639b983ecec5e712bae (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
PORTNAME=	ecwolf
PORTVERSION=	1.3.3
PORTREVISION=	1
DISTVERSIONSUFFIX=	-src
CATEGORIES=	games
MASTER_SITES=	http://maniacsvault.net/ecwolf/files/ecwolf/1.x/

MAINTAINER=	pkubaj@FreeBSD.org
COMMENT=	Source port for Wolfenstein 3D, Spear of Destiny

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/docs/license-gpl.txt

LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
		libfreetype.so:print/freetype2

USES=		cmake compiler:c++11-lang gnome jpeg localbase:ldflags \
		pkgconfig sdl tar:xz
USE_GNOME=	cairo gdkpixbuf2 gtk20
USE_SDL=	mixer sdl

SUB_FILES=	ecwolf pkg-message
SUB_LIST=	PORTNAME=${PORTNAME}

PLIST_FILES=	bin/${PORTNAME} \
		share/${PORTNAME}/${PORTNAME} \
		share/${PORTNAME}/${PORTNAME}.pk3

do-install:
	${MKDIR} ${STAGEDIR}${DATADIR}
	${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} \
		${STAGEDIR}${DATADIR}/
	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} \
		${STAGEDIR}${PREFIX}/bin/
	${INSTALL_DATA} ${BUILD_WRKSRC}/${PORTNAME}.pk3 \
		${STAGEDIR}${DATADIR}

.include <bsd.port.mk>