summaryrefslogtreecommitdiff
path: root/games/gargoyle/Makefile
blob: 058a9e95be5840704c1e9388ecd0706045e8cef0 (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
39
40
41
42
43
44
# $NetBSD: Makefile,v 1.9 2019/11/06 23:13:56 wiz Exp $

DISTNAME=	gargoyle-2019.1
CATEGORIES=	games
MASTER_SITES=	${MASTER_SITE_GITHUB:=garglk/}
GITHUB_PROJECT=	garglk
GITHUB_TAG=	${PKGVERSION_NOREV}

MAINTAINER=	wes.frazier@members.fsf.org
HOMEPAGE=	http://ccxvii.net/gargoyle/
COMMENT=	Graphical player for Interactive Fiction games
#LICENSE=	gnu-gpl-v2 AND mit AND original-bsd AND artistic-? AND some font licenses

WRKSRC=		${WRKDIR}/garglk-${PKGVERSION_NOREV}

BUILD_DEPENDS+=	jam-[0-9]*:../../devel/jam

USE_TOOLS+=	pkg-config
USE_LANGUAGES+=	c c++

CHECK_PORTABILITY_SKIP+=	gargoyle_osx.sh

INSTALLATION_DIRS=	bin libexec/gargoyle

do-build:
	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} jam

do-install:
	cd ${WRKSRC} && \
		${SETENV} ${MAKE_ENV} jam install && \
		${INSTALL_PROGRAM} ${WRKSRC}/build/dist/* ${DESTDIR}${PREFIX}/libexec/gargoyle && \
		ln -s -f ${DESTDIR}${PREFIX}/libexec/gargoyle/gargoyle ${DESTDIR}${PREFIX}/bin/gargoyle

.include "../../audio/SDL_mixer/buildlink3.mk"
.include "../../audio/SDL_sound/buildlink3.mk"
.include "../../audio/libvorbis/buildlink3.mk"
.include "../../devel/glib/buildlink3.mk"
.include "../../devel/SDL/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.include "../../multimedia/smpeg/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"