aboutsummaryrefslogtreecommitdiff
path: root/games/lbreakouthd/Makefile
blob: bb55b1748e26628dc44f6dcfdd7b4db986780f2d (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
33
34
PORTNAME=	lbreakouthd
PORTVERSION=	1.1.7
CATEGORIES=	games
MASTER_SITES=	SF/lgames/${PORTNAME}/

MAINTAINER=	amdmi3@FreeBSD.org
COMMENT=	Breakout-style arcade game
WWW=		https://lgames.sourceforge.io/LBreakout2/

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

USES=		autoreconf localbase sdl
USE_SDL=	sdl2 mixer2 image2 ttf2
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--localstatedir=/var/games/${PORTNAME}

PORTDOCS=	ChangeLog README
PORTDATA=	*

OPTIONS_DEFINE=	DOCS NLS
OPTIONS_SUB=	yes

NLS_USES=	gettext
NLS_CONFIGURE_ENABLE=	nls

post-install:
	@${MV} ${STAGEDIR}/var/games/${PORTNAME}/${PORTNAME}.hscr ${STAGEDIR}/var/games/${PORTNAME}/${PORTNAME}.hscr.sample

post-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/

.include <bsd.port.mk>