2013-05-23 11:59:49 +02:00
|
|
|
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
|
Each player controls a team of several hedgehogs. During the course
of the game, players take turns with one of their hedgehogs. They
then use whatever tools and weapons are available to attack and
kill the opponents' hedgehogs, thereby winning the game. Hedgehogs
may move around the terrain in a variety of ways, normally by walking
and jumping but also by using particular tools such as the "Rope"
or "Parachute", to move to otherwise inaccessible areas. Each turn
is time-limited to ensure that players do not hold up the game with
excessive thinking or moving.
A large variety of tools and weapons are available for players
during the game: Grenade, Cluster Bomb, Bazooka, UFO, Shotgun,
Desert Eagle, Fire Punch, Baseball Bat, Dynamite, Mine, Rope,
Pneumatic pick, Parachute. Most weapons, when used, cause explosions
that deform the terrain, removing circular chunks. The landscape
is an island floating on a body of water, or a restricted cave with
water at the bottom. A hedgehog dies when it enters the water (either
by falling off the island, or through a hole in the bottom of it),
it is thrown off either side of the arena or when its health is
reduced, typically from contact with explosions, to zero (the damage
dealt to the attacked hedgehog or hedgehogs after a player's or CPU
turn is shown only when all movement on the battlefield has ceased).
WWW: http://www.hedgewars.org
Approved by: miwi (mentor)
2008-06-24 23:50:31 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= hedgewars
|
2014-01-12 21:51:40 +01:00
|
|
|
PORTVERSION= 0.9.20.5
|
2014-07-09 21:06:34 +02:00
|
|
|
PORTREVISION= 2
|
Each player controls a team of several hedgehogs. During the course
of the game, players take turns with one of their hedgehogs. They
then use whatever tools and weapons are available to attack and
kill the opponents' hedgehogs, thereby winning the game. Hedgehogs
may move around the terrain in a variety of ways, normally by walking
and jumping but also by using particular tools such as the "Rope"
or "Parachute", to move to otherwise inaccessible areas. Each turn
is time-limited to ensure that players do not hold up the game with
excessive thinking or moving.
A large variety of tools and weapons are available for players
during the game: Grenade, Cluster Bomb, Bazooka, UFO, Shotgun,
Desert Eagle, Fire Punch, Baseball Bat, Dynamite, Mine, Rope,
Pneumatic pick, Parachute. Most weapons, when used, cause explosions
that deform the terrain, removing circular chunks. The landscape
is an island floating on a body of water, or a restricted cave with
water at the bottom. A hedgehog dies when it enters the water (either
by falling off the island, or through a hole in the bottom of it),
it is thrown off either side of the arena or when its health is
reduced, typically from contact with explosions, to zero (the damage
dealt to the attacked hedgehog or hedgehogs after a player's or CPU
turn is shown only when all movement on the battlefield has ceased).
WWW: http://www.hedgewars.org
Approved by: miwi (mentor)
2008-06-24 23:50:31 +02:00
|
|
|
CATEGORIES= games
|
2010-04-05 16:43:33 +02:00
|
|
|
MASTER_SITES= http://download.gna.org/hedgewars/ \
|
2009-07-28 18:34:36 +02:00
|
|
|
http://mirror.amdmi3.ru/distfiles/
|
2013-05-23 11:59:49 +02:00
|
|
|
DISTNAME= ${PORTNAME}-src-${DISTVERSION}
|
Each player controls a team of several hedgehogs. During the course
of the game, players take turns with one of their hedgehogs. They
then use whatever tools and weapons are available to attack and
kill the opponents' hedgehogs, thereby winning the game. Hedgehogs
may move around the terrain in a variety of ways, normally by walking
and jumping but also by using particular tools such as the "Rope"
or "Parachute", to move to otherwise inaccessible areas. Each turn
is time-limited to ensure that players do not hold up the game with
excessive thinking or moving.
A large variety of tools and weapons are available for players
during the game: Grenade, Cluster Bomb, Bazooka, UFO, Shotgun,
Desert Eagle, Fire Punch, Baseball Bat, Dynamite, Mine, Rope,
Pneumatic pick, Parachute. Most weapons, when used, cause explosions
that deform the terrain, removing circular chunks. The landscape
is an island floating on a body of water, or a restricted cave with
water at the bottom. A hedgehog dies when it enters the water (either
by falling off the island, or through a hole in the bottom of it),
it is thrown off either side of the arena or when its health is
reduced, typically from contact with explosions, to zero (the damage
dealt to the attacked hedgehog or hedgehogs after a player's or CPU
turn is shown only when all movement on the battlefield has ceased).
WWW: http://www.hedgewars.org
Approved by: miwi (mentor)
2008-06-24 23:50:31 +02:00
|
|
|
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
|
|
|
COMMENT= Free Worms-like turn based strategy game
|
|
|
|
|
2014-01-12 21:51:40 +01:00
|
|
|
LICENSE= GPLv2 GFDL
|
|
|
|
LICENSE_COMB= multi
|
|
|
|
|
2010-08-16 20:46:23 +02:00
|
|
|
ONLY_FOR_ARCHS= i386 amd64
|
|
|
|
ONLY_FOR_ARCHS_REASON= depends on fpc which is only available for i386 and amd64
|
2008-11-04 12:41:04 +01:00
|
|
|
|
2014-05-26 17:28:28 +02:00
|
|
|
USES= tar:bzip2 cmake lua:51
|
Each player controls a team of several hedgehogs. During the course
of the game, players take turns with one of their hedgehogs. They
then use whatever tools and weapons are available to attack and
kill the opponents' hedgehogs, thereby winning the game. Hedgehogs
may move around the terrain in a variety of ways, normally by walking
and jumping but also by using particular tools such as the "Rope"
or "Parachute", to move to otherwise inaccessible areas. Each turn
is time-limited to ensure that players do not hold up the game with
excessive thinking or moving.
A large variety of tools and weapons are available for players
during the game: Grenade, Cluster Bomb, Bazooka, UFO, Shotgun,
Desert Eagle, Fire Punch, Baseball Bat, Dynamite, Mine, Rope,
Pneumatic pick, Parachute. Most weapons, when used, cause explosions
that deform the terrain, removing circular chunks. The landscape
is an island floating on a body of water, or a restricted cave with
water at the bottom. A hedgehog dies when it enters the water (either
by falling off the island, or through a hole in the bottom of it),
it is thrown off either side of the arena or when its health is
reduced, typically from contact with explosions, to zero (the damage
dealt to the attacked hedgehog or hedgehogs after a player's or CPU
turn is shown only when all movement on the battlefield has ceased).
WWW: http://www.hedgewars.org
Approved by: miwi (mentor)
2008-06-24 23:50:31 +02:00
|
|
|
USE_SDL= sdl mixer image ttf net
|
2013-05-23 11:59:49 +02:00
|
|
|
USE_FPC= opengl libpng
|
2012-06-06 08:44:37 +02:00
|
|
|
USE_QT4= corelib gui moc_build network \
|
2009-08-06 20:48:36 +02:00
|
|
|
qmake_build rcc_build svg xml \
|
2010-11-18 16:34:05 +01:00
|
|
|
uic_build linguist_build
|
2013-12-17 23:47:29 +01:00
|
|
|
CMAKE_ARGS= -DNOVIDEOREC=1
|
2014-01-12 21:51:40 +01:00
|
|
|
USE_LDCONFIG= yes
|
Each player controls a team of several hedgehogs. During the course
of the game, players take turns with one of their hedgehogs. They
then use whatever tools and weapons are available to attack and
kill the opponents' hedgehogs, thereby winning the game. Hedgehogs
may move around the terrain in a variety of ways, normally by walking
and jumping but also by using particular tools such as the "Rope"
or "Parachute", to move to otherwise inaccessible areas. Each turn
is time-limited to ensure that players do not hold up the game with
excessive thinking or moving.
A large variety of tools and weapons are available for players
during the game: Grenade, Cluster Bomb, Bazooka, UFO, Shotgun,
Desert Eagle, Fire Punch, Baseball Bat, Dynamite, Mine, Rope,
Pneumatic pick, Parachute. Most weapons, when used, cause explosions
that deform the terrain, removing circular chunks. The landscape
is an island floating on a body of water, or a restricted cave with
water at the bottom. A hedgehog dies when it enters the water (either
by falling off the island, or through a hole in the bottom of it),
it is thrown off either side of the arena or when its health is
reduced, typically from contact with explosions, to zero (the damage
dealt to the attacked hedgehog or hedgehogs after a player's or CPU
turn is shown only when all movement on the battlefield has ceased).
WWW: http://www.hedgewars.org
Approved by: miwi (mentor)
2008-06-24 23:50:31 +02:00
|
|
|
|
2014-01-12 21:51:40 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME:C/\.[0-9]$//}
|
2013-05-23 11:59:49 +02:00
|
|
|
|
2013-12-17 23:47:29 +01:00
|
|
|
PLIST_FILES= bin/${PORTNAME} bin/hwengine \
|
|
|
|
share/applications/${PORTNAME}.desktop \
|
2014-01-12 21:51:40 +01:00
|
|
|
share/pixmaps/${PORTNAME}.png \
|
|
|
|
lib/libhwphysfs.so \
|
|
|
|
lib/libhwphysfs.so.1 \
|
|
|
|
lib/libhwphysfs.so.2.1.0 \
|
|
|
|
lib/libphyslayer.so
|
2011-09-24 16:20:06 +02:00
|
|
|
PORTDATA= *
|
|
|
|
|
2013-12-17 23:47:29 +01:00
|
|
|
# VIDEOREC - broken with recent ffmpeg
|
|
|
|
OPTIONS_DEFINE= SERVER # VIDEOREC
|
2014-01-12 21:51:40 +01:00
|
|
|
OPTIONS_DEFAULT=SERVER
|
2013-06-17 03:50:01 +02:00
|
|
|
|
2013-12-17 23:47:29 +01:00
|
|
|
SERVER_DESC= Build server (requires haskell)
|
|
|
|
#VIDEOREC_DESC= Enable video recording (requires ffmpeg)
|
2013-06-17 03:50:01 +02:00
|
|
|
|
2013-12-17 23:47:29 +01:00
|
|
|
#VIDEOREC_LIB_DEPENDS=libavcodec0.so:${PORTSDIR}/multimedia/ffmpeg0
|
|
|
|
#VIDEOREC_CMAKE_OFF=-DNOVIDEOREC=1
|
2013-06-17 03:50:01 +02:00
|
|
|
|
2014-01-12 21:51:40 +01:00
|
|
|
SERVER_BUILD_DEPENDS=\
|
2013-12-17 23:47:29 +01:00
|
|
|
ghc:${PORTSDIR}/lang/ghc \
|
2013-06-17 03:50:01 +02:00
|
|
|
hs-vector>=0:${PORTSDIR}/devel/hs-vector \
|
|
|
|
hs-network>=0:${PORTSDIR}/net/hs-network \
|
|
|
|
hs-utf8-string>=0:${PORTSDIR}/devel/hs-utf8-string \
|
|
|
|
hs-bytestring-show>=0:${PORTSDIR}/devel/hs-bytestring-show \
|
|
|
|
hs-dataenc>=0:${PORTSDIR}/converters/hs-dataenc \
|
|
|
|
hs-random>=0:${PORTSDIR}/devel/hs-random \
|
|
|
|
hs-hslogger>=0:${PORTSDIR}/devel/hs-hslogger
|
2013-12-17 23:47:29 +01:00
|
|
|
SERVER_CMAKE_OFF=-DNOSERVER=1
|
|
|
|
SERVER_PLIST_FILES=bin/${PORTNAME}-server
|
2013-06-17 03:50:01 +02:00
|
|
|
|
2008-08-05 01:33:44 +02:00
|
|
|
post-patch:
|
2013-12-17 23:47:29 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/cmake_modules/*.cmake
|
2008-08-05 01:33:44 +02:00
|
|
|
|
2013-05-23 11:59:49 +02:00
|
|
|
post-install:
|
2013-06-17 03:50:01 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/share/hedgewars/Data/misc/hedgewars.desktop \
|
2013-12-17 23:47:29 +01:00
|
|
|
${STAGEDIR}${PREFIX}/share/applications/
|
2013-05-23 11:59:49 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/misc/hedgewars.png \
|
2013-12-17 23:47:29 +01:00
|
|
|
${STAGEDIR}${PREFIX}/share/pixmaps/
|
2013-05-23 11:59:49 +02:00
|
|
|
|
Each player controls a team of several hedgehogs. During the course
of the game, players take turns with one of their hedgehogs. They
then use whatever tools and weapons are available to attack and
kill the opponents' hedgehogs, thereby winning the game. Hedgehogs
may move around the terrain in a variety of ways, normally by walking
and jumping but also by using particular tools such as the "Rope"
or "Parachute", to move to otherwise inaccessible areas. Each turn
is time-limited to ensure that players do not hold up the game with
excessive thinking or moving.
A large variety of tools and weapons are available for players
during the game: Grenade, Cluster Bomb, Bazooka, UFO, Shotgun,
Desert Eagle, Fire Punch, Baseball Bat, Dynamite, Mine, Rope,
Pneumatic pick, Parachute. Most weapons, when used, cause explosions
that deform the terrain, removing circular chunks. The landscape
is an island floating on a body of water, or a restricted cave with
water at the bottom. A hedgehog dies when it enters the water (either
by falling off the island, or through a hole in the bottom of it),
it is thrown off either side of the arena or when its health is
reduced, typically from contact with explosions, to zero (the damage
dealt to the attacked hedgehog or hedgehogs after a player's or CPU
turn is shown only when all movement on the battlefield has ceased).
WWW: http://www.hedgewars.org
Approved by: miwi (mentor)
2008-06-24 23:50:31 +02:00
|
|
|
.include <bsd.port.mk>
|