freebsd-ports/games/lgeneral/Makefile
Mikhail Teterin 992948dc5f Respect CFLAGS, use sound (unless WITHOUT_SOUND is requested).
Bump PORTREVISION.

Approved by: maintainer
2003-08-27 13:41:38 +00:00

31 lines
720 B
Makefile

# New ports collection makefile for: lgeneral
# Date created: 27 Aug 2002
# Whom: Filippo Natali <filippo@widestore.net>
#
# $FreeBSD$
#
PORTNAME= lgeneral
PORTVERSION= 1.1.1
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= lgeneral
MAINTAINER= filippo@widestore.net
COMMENT= A turn-based strategy engine inspired by Panzer General
LIB_DEPENDS= SDL-1.1.5:${PORTSDIR}/devel/sdl12
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}"
.ifndef (WITHOUT_SOUND)
LIB_DEPENDS+= SDL_mixer:${PORTSDIR}/audio/sdl_mixer
.else
CONFIGURE_ARGS+=--disable-sound
.endif
GNU_CONFIGURE= yes
.include <bsd.port.mk>