aboutsummaryrefslogtreecommitdiff
path: root/devel/flatzebra/Makefile
blob: 3c3292f55f83a37d39a18c8d26f1bde1da0fc0dc (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
# Created by: Edwin Groothuis <edwin2mavetju.org>
# $FreeBSD$

PORTNAME=	flatzebra
PORTVERSION=	0.1.6
CATEGORIES=	devel games
MASTER_SITES=	http://perso.b2b2c.ca/sarrazip/dev/

MAINTAINER=	edwin@mavetju.org
COMMENT=	A generic game engine for 2D double-buffering animation

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--includedir=${PREFIX}/include

USES=		pkgconfig
USE_AUTOTOOLS=	libtool
USE_SDL=	sdl mixer image

USE_LDCONFIG=	yes

DOCSDIR=	${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION}
PORTDOCS=	AUTHORS COPYING INSTALL NEWS README TODO THANKS

.include <bsd.port.options.mk>

post-patch:
.if empty(PORT_OPTIONS:MDOCS)
	@${REINPLACE_CMD} 's|^install-data-am: .*|install-data-am: install-pkgconfigDATA|' ${WRKSRC}/Makefile.in
.endif

.include <bsd.port.mk>