aboutsummaryrefslogtreecommitdiff
path: root/games/opentyrian/Makefile
blob: 958a224788d8b4dd38f4dbe5c55386f6b6ee5b8f (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
PORTNAME=	opentyrian
DISTVERSIONPREFIX=	v
DISTVERSION=	2.1.20221123
CATEGORIES=	games

MAINTAINER=	amdmi3@FreeBSD.org
COMMENT=	Arcade-style vertical scrolling shooter
WWW=		https://github.com/opentyrian/opentyrian

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

USES=		gmake pkgconfig sdl
USE_GITHUB=	yes
USE_SDL=	sdl2 net2

MAKE_ENV=	VCS_IDREV="${ECHO_CMD} ${DISTVERSION}" \
		gamesdir="${PREFIX}/share"

DATADIR=	${PREFIX}/share/tyrian
PORTSCOUT=	skipv:11402-phase-0.8
SUB_FILES=	pkg-message

PORTDOCS=	*

OPTIONS_DEFINE=	DOCS

post-install:
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/opentyrian
	@${MKDIR} ${STAGEDIR}${DATADIR}

.include <bsd.port.mk>