summaryrefslogtreecommitdiff
path: root/games/lordsawar/Makefile
blob: 9a05d41db47a9ae6a15d4e1163cd89c727398d25 (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

PORTNAME=	lordsawar
PORTVERSION=	0.3.2
CATEGORIES=	games
MASTER_SITES=	SAVANNAH

MAINTAINER=	amdmi3@FreeBSD.org
COMMENT=	Warlords II clone

LICENSE=	GPLv3+
LICENSE_FILE=	${WRKSRC}/COPYING

USES=		compiler:c++11-lib gettext gmake gnome libarchive pkgconfig \
		shebangfix
USE_GNOME=	gtkmm30 intltool libxslt
INSTALLS_ICONS=	yes
GNU_CONFIGURE=	yes
SHEBANG_FILES=	create-lw-file
bash_CMD=	/bin/sh

OPTIONS_DEFINE=	SOUND
OPTIONS_DEFAULT=SOUND

SOUND_USE=	GSTREAMER1=mm,good,ogg,vorbis
SOUND_CONFIGURE_ENABLE=	sound

post-patch:
	@${REINPLACE_CMD} -e 's|class SetList<T>::|typename SetList<T>::|' \
		${WRKSRC}/src/setlist.h

.include <bsd.port.mk>