1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/games/adgali/Makefile

47 lines
1007 B
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= adgali
PORTVERSION= 0.2.4
PORTREVISION= 10
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
LICENSE= GPLv2
LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg \
png15:${PORTSDIR}/graphics/png \
tiff.4:${PORTSDIR}/graphics/tiff \
freetype.9:${PORTSDIR}/print/freetype2 \
execinfo.1:${PORTSDIR}/devel/libexecinfo
USE_AUTOTOOLS= libtool
USE_BZIP2= yes
USE_SDL= sdl
USE_XORG= xpm
USE_GMAKE= yes
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lexecinfo
CONFIGURE_ARGS= --enable-compile-optim=no
USE_LDCONFIG= yes
NO_STAGE= 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>