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