aboutsummaryrefslogtreecommitdiffstats
path: root/games/uhexen/Makefile
blob: 6cb3c9802e56b0b826cbdae6abfd0d6cec3f9c7a (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
34
35
36
37
38
# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
# $FreeBSD$

PORTNAME=   uhexen
PORTVERSION=    0.601
PORTREVISION=   9
CATEGORIES= games
MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}/U-hexen%20version%20${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Yet another port of Hexen, popular game from Raven Software

USE_GMAKE=  yes
USE_SDL=    mixer sdl
MAKE_ENV+=  EXTRA_LIBS=-lm

OPTIONS_DEFINE= MUSIC
OPTIONS_DEFAULT=    MUSIC
MUSIC_DESC= In-game MIDI music support

PLIST_FILES=    bin/uhexen

NO_STAGE=   yes
.include <bsd.port.pre.mk>

.if ${ARCH} == "powerpc"
BROKEN=     Does not compile on ${ARCH}
.endif

.if ${PORT_OPTIONS:MMUSIC}
RUN_DEPENDS=    ${LOCALBASE}/lib/timidity/goemon.cfg:${PORTSDIR}/audio/timidity
.endif

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin

.include "${.CURDIR}/../doom-data/Makefile.include"
.include <bsd.port.post.mk>