freebsd-ports/games/wesnoth-devel/Makefile
Kirill Ponomarev 24db010a8f Add wesnoth 0.6.1, a fantasy turn-based strategy game.
Battle for Wesnoth is a fantasy turn-based strategy game.
Battle for control of villages, using variety of units which
have advantages and disadvantages in different types of
terrains and against different types of attacks. Units gain
experience and advance levels, and are carried over from one
scenario to the next campaign.

PR:		60531
Submitted by:	Mezz <mezz7@cox.net>
2003-12-23 22:20:16 +00:00

75 lines
1.7 KiB
Makefile

# New ports collection makefile for: wesnoth
# Date created: 22 December 2003
# Whom: Mezz <mezz7@cox.net>
#
# $FreeBSD$
#
PORTNAME= wesnoth
PORTVERSION= 0.6.1
CATEGORIES= games
MASTER_SITES= http://www.wesnoth.org/files/
MAINTAINER= mezz7@cox.net
COMMENT= A fantasy turn-based strategy game
LIB_DEPENDS= SDL_net.0:${PORTSDIR}/net/sdl_net \
SDL_ttf.3:${PORTSDIR}/graphics/sdl_ttf \
SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer \
SDL_image.10:${PORTSDIR}/graphics/sdl_image
USE_SDL= yes
USE_GNOME= gnometarget
USE_X_PREFIX= yes
GNU_CONFIGURE= yes
MAN6= wesnoth.6 wesnothd.6
.if defined(WITH_DEBUG)
CONFIGURE_ARGS+= --enable-debug
.endif
.if defined(WITH_EDITOR) || defined(PACKAGE_BUILDING)
CONFIGURE_ARGS+= --enable-editor
PLIST_SUB+= EDITOR:=""
.else
PLIST_SUB+= EDITOR:="@comment "
.endif
.if defined(WITH_SERVER) || defined(PACKAGE_BUILDING)
CONFIGURE_ARGS+= --enable-server
PLIST_SUB+= SERVER:=""
.else
PLIST_SUB+= SERVER:="@comment "
.endif
.if defined(WITH_TOOLS) || defined(PACKAGE_BUILDING)
CONFIGURE_ARGS+= --enable-tools
PLIST_SUB+= TOOLS:=""
.else
PLIST_SUB+= TOOLS:="@comment "
.endif
pre-everything::
.if !defined(WITH_DEBUG) || !defined(WITH_EDITOR) || !defined(WITH_SERVER) || !defined(WITH_TOOLS)
@${ECHO_MSG} "You may specify the following on the command line:"
@${ECHO_MSG} " "
.endif
.if !defined(WITH_DEBUG)
@${ECHO_MSG} "WITH_DEBUG=yes for enable debug in wesnoth."
.endif
.if !defined(WITH_EDITOR)
@${ECHO_MSG} "WITH_EDITOR=yes for enable compilation editor."
.endif
.if !defined(WITH_SERVER)
@${ECHO_MSG} "WITH_SERVER=yes for enable compilation of server."
.endif
.if !defined(WITH_TOOLS)
@${ECHO_MSG} "WITH_TOOLS=yes for enable compilation of translation tools."
.endif
.include <bsd.port.mk>