1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/games/adgali/Makefile
Edwin Groothuis 07f1d50cbc Chase up new MASTER_SITE_SAVANNAH.
PR:		ports/56970
Submitted by:	Jean-Yves Lefort <jylefort@brutele.be>
2003-10-03 11:04:59 +00:00

44 lines
1005 B
Makefile

# ex:ts=8
# New ports collection makefile for: adgali
# Date created: Sep 23, 2001
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= adgali
PORTVERSION= 0.2.3
CATEGORIES= games devel
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= An open source game library useful for 2D games programmation
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
png.5:${PORTSDIR}/graphics/png \
tiff.4:${PORTSDIR}/graphics/tiff \
freetype.9:${PORTSDIR}/print/freetype2
USE_SDL= yes
USE_GNOME= gnometarget
USE_REINPLACE= yes
USE_GMAKE= yes
USE_LIBTOOL= yes
LIBTOOLFLAGS= --disable-ltlibs --release-ignore
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
INSTALLS_SHLIB= yes
post-patch:
@${REINPLACE_CMD} -e 's|-O3 ||g' ${WRKSRC}/configure
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC}/doc/html && ${FIND} . | \
cpio -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
.endif
.include <bsd.port.mk>