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

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

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

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

USES=       pkgconfig libtool
USE_SDL=    sdl mixer image

USE_LDCONFIG=   yes

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

OPTIONS_DEFINE= DOCS

.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>