freebsd-ports/games/adgali/Makefile
Pete Fritchman b4666dc757 Add a dependancy on libgnugetopt
Noticed by:	bento
2001-10-05 01:05:43 +00:00

40 lines
886 B
Makefile

# ex:ts=8
# New ports collection makefile for: adgali
# Date created: Sep 23, 2001
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= adgali
PORTVERSION= 0.1.0
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 \
png:${PORTSDIR}/graphics/png \
gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
USE_FREETYPE= yes
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= SDL_CONFIG=${SDL_CONFIG} \
CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -L/usr/lib -lm"
USE_GMAKE= yes
INSTALLS_SHLIB= yes
.if !defined(NOPORTDOCS)
post-install:
@${MKDIR} ${DOCSDIR}
${CP} -r ${WRKSRC}/doc/html/* ${DOCSDIR}
.endif
.include <bsd.port.mk>