summaryrefslogtreecommitdiff
path: root/games/fheroes2/Makefile
blob: 24acccbd3e4b2aa595eeb5086d7540b298afe9e6 (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

PORTNAME=	fheroes2
PORTVERSION=	0.9.2
CATEGORIES=	games

MAINTAINER=	pkubaj@FreeBSD.org
COMMENT=	Free implementation of Heroes of Might and Magic II engine

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/LICENSE

LIB_DEPENDS=	libtinyxml.so:textproc/tinyxml

USES=		gettext-tools gmake sdl
USE_GITHUB=	yes
GH_ACCOUNT=	ihhub
USE_SDL=	image2 mixer2 sdl2 ttf2

LDFLAGS+=	-ltinyxml
MAKE_ENV=	WITHOUT_BUNDLED_LIBS=1

PLIST_FILES=	bin/${PORTNAME}

do-install:
	${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} \
		${STAGEDIR}${PREFIX}/bin/${PORTNAME}

.include <bsd.port.mk>