blob: b6dc025eccc1c2506c2c287fcdda39af36318e4c (
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= 14
CATEGORIES= games devel
MASTER_SITES= http://adgali.apiou.org/download/
MAINTAINER= gahr@FreeBSD.org
COMMENT= Open source game library useful for 2D game development
LICENSE= GPLv2
LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \
libpng15.so:${PORTSDIR}/graphics/png \
libtiff.so:${PORTSDIR}/graphics/tiff \
libfreetype.so:${PORTSDIR}/print/freetype2
.if !exists(/usr/include/execinfo.h)
LIB_DEPENDS+= libexecinfo.so:${PORTSDIR}/devel/libexecinfo
.endif
USES= gmake libtool tar:bzip2
USE_LDCONFIG= yes
USE_SDL= sdl
USE_XORG= xpm
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-compile-optim=no
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>
|