2001-09-23 11:51:11 +02:00
|
|
|
# ex:ts=8
|
|
|
|
# New ports collection makefile for: adgali
|
|
|
|
# Date created: Sep 23, 2001
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= adgali
|
|
|
|
PORTVERSION= 0.1.0
|
2002-01-14 22:46:21 +01:00
|
|
|
PORTREVISION= 1
|
2001-09-23 11:51:11 +02:00
|
|
|
CATEGORIES= games devel
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
|
|
|
|
LIB_DEPENDS= SDL-1.1:${PORTSDIR}/devel/sdl12 \
|
|
|
|
jpeg:${PORTSDIR}/graphics/jpeg \
|
|
|
|
tiff:${PORTSDIR}/graphics/tiff \
|
2001-10-05 03:05:43 +02:00
|
|
|
png:${PORTSDIR}/graphics/png \
|
|
|
|
gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
|
2001-09-23 11:51:11 +02:00
|
|
|
|
|
|
|
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
|
2002-01-14 22:46:21 +01:00
|
|
|
|
2001-09-23 11:51:11 +02:00
|
|
|
USE_FREETYPE= yes
|
2002-01-14 22:46:21 +01:00
|
|
|
USE_GMAKE= yes
|
2001-09-23 11:51:11 +02:00
|
|
|
USE_LIBTOOL= yes
|
2002-01-14 22:46:21 +01:00
|
|
|
LIBTOOLFLAGS= --disable-ltlibs --release-ignore
|
2001-09-23 11:51:11 +02:00
|
|
|
CONFIGURE_ENV= SDL_CONFIG=${SDL_CONFIG} \
|
2002-01-14 22:46:21 +01:00
|
|
|
CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
CONFIGURE_ARGS= --enable-compile-type=optim
|
2001-09-23 11:51:11 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
|
2002-01-14 22:46:21 +01:00
|
|
|
post-patch:
|
|
|
|
@${PERL} -pi -e 's|-O3 ||g' ${WRKSRC}/configure
|
|
|
|
|
2001-09-23 11:51:11 +02:00
|
|
|
post-install:
|
2002-01-14 22:46:21 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
2001-09-23 11:51:11 +02:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
2002-01-14 22:46:21 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/html/*.* ${DOCSDIR}
|
2001-09-23 11:51:11 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|