aboutsummaryrefslogtreecommitdiffstats
path: root/games/adgali/Makefile
blob: 0ff42135deed357ecb006bd471c5f1c07dbe9018 (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
35
36
37
38
39
40
# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
# $FreeBSD$

PORTNAME=   adgali
PORTVERSION=    0.2.4
PORTREVISION=   15
CATEGORIES= games devel
MASTER_SITES=   http://adgali.apiou.org/download/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Open source game library useful for 2D game development

BROKEN=     unfetchable

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

LIB_DEPENDS=    libpng.so:${PORTSDIR}/graphics/png \
        libtiff.so:${PORTSDIR}/graphics/tiff \
        libfreetype.so:${PORTSDIR}/print/freetype2

USES=       execinfo gmake jpeg libtool tar:bzip2
USE_LDCONFIG=   yes
USE_SDL=    sdl
USE_XORG=   xpm
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --enable-compile-optim=no
INSTALL_TARGET= install-strip

CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib -lexecinfo

OPTIONS_DEFINE= DOCS

post-install:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    (cd ${WRKSRC}/doc/html && ${FIND} . | ${CPIO} -pdm -L -R \
        ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DOCSDIR})

.include <bsd.port.mk>