summaryrefslogtreecommitdiff
path: root/games/starfighter/Makefile
blob: 1fe436ff582392354b357b3a0430ac0faa6e2767 (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
PORTNAME=	starfighter
PORTVERSION=	2.4
DISTVERSIONPREFIX=	v
PORTREVISION=	2
CATEGORIES=	games

MAINTAINER=	alfix86@gmail.com
COMMENT=	Liberate the universe from the evil company WEAPCO
WWW=		https://pr-starfighter.github.io/

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

USES=		autoreconf gettext gnome iconv pkgconfig python:build sdl
USE_SDL=	sdl2 image2 mixer2 ttf2
USE_GNOME=	pango
GNU_CONFIGURE=	yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share

USE_GITHUB=	yes
GH_ACCOUNT=	pr-starfighter

LDFLAGS+=	-L${LOCALBASE}/lib -lintl

OPTIONS_DEFINE=	DOCS

pre-build:
	@cd ${WRKSRC}/locale && ${PYTHON_CMD} build.py

post-install:
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}

.include <bsd.port.mk>