1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/games/adgali/Makefile

41 lines
999 B
Makefile

# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
# $FreeBSD$
PORTNAME= adgali
PORTVERSION= 0.2.4
PORTREVISION= 12
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>