aboutsummaryrefslogtreecommitdiffstats
path: root/games/adgali/Makefile
blob: 0bd2c10905e77a35a0ebaab9d68be97127a8a1e9 (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
41
42
43
44
45
46
47
48
# ex:ts=8
# New ports collection makefile for:    adgali
# Date created:         Sep 23, 2001
# Whom:             ijliao
#
# $FreeBSD$
#

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

MAINTAINER= gahr@FreeBSD.org
COMMENT=    An open source game library useful for 2D game development

LIB_DEPENDS=    jpeg.9:${PORTSDIR}/graphics/jpeg \
        png.5:${PORTSDIR}/graphics/png \
        tiff.4:${PORTSDIR}/graphics/tiff \
        freetype.9:${PORTSDIR}/print/freetype2 \
        execinfo.1:${PORTSDIR}/devel/libexecinfo

USE_AUTOTOOLS=  libtool:15
USE_BZIP2=  yes
USE_SDL=    sdl
USE_XORG=   xpm
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib -lexecinfo"
CONFIGURE_ARGS= --enable-compile-optim=no
USE_LDCONFIG=   yes

.include <bsd.port.pre.mk>

.if ${ARCH} == "alpha"
BROKEN=     Configure fails
.endif

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

.include <bsd.port.post.mk>