freebsd-ports/games/openlierox/Makefile
Dmitry Marakasov 9754c49cc9 OpenLieroX is based and compatible to the famous LieroX. LieroX is
a 2D shooter game. It is an unofficial sequel to Liero, and is the
most popular of all the Liero clones. It features online play, fully
customizable weapons, levels and characters. Liero Xtreme was created
in C++ by Jason 'JasonB' Boettcher, an Australian programmer.

The game is based on a deathmatch setting, where multiple players
face off in a closed level. Each player is equipped with five weapons
selected out of all the weapons allowed, and with a ninja rope that
allows the player to move in any direction. Players begin with a
set amount of lives, and whilst the game records the number of
kills, the last man standing is usually considered the winner.
LieroX also allows team deathmatches, which has made it common for
players to form clans.

Because of the huge community, there are dozens of levels and mods
available. You also have no problem to find somebody on Internet
to play with. Or if you want to play offline, you also can play
with bots.

WWW: http://openlierox.sourceforge.net/
2008-10-13 10:58:28 +00:00

70 lines
1.6 KiB
Makefile

# New ports collection makefile for: openlierox
# Date created: 12 Oct 2008
# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= openlierox
DISTVERSION= 0.57_beta8
CATEGORIES= games
MASTER_SITES= SF
DISTNAME= OpenLieroX_${DISTVERSION}.src
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Extremely addictive realtime worms shoot-em-up
LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd
USE_BZIP2= yes
USE_SDL= sdl image
USE_GNOME= libxml2
CFLAGS+= -I${LOCALBASE}/include/libxml2
CXXFLAGS+= -I${LOCALBASE}/include/libxml2
USE_CMAKE= yes
CMAKE_ARGS= -DHAWKNL_BUILTIN=YES \
-DLIBZIP_BUILTIN=YES
WRKSRC= ${WRKDIR}/OpenLieroX
PORTDOCS= *
OPTIONS= DEDICATED_ONLY "Build dedicated server only" off
.include <bsd.port.pre.mk>
.if defined(WITH_DEDICATED_ONLY)
CMAKE_ARGS+= -DDEDICATED_ONLY=YES
.else
USE_XORG+= x11
USE_SDL+= mixer
.endif
post-extract:
@${FIND} ${WRKSRC} -name "._*" -delete
@cd ${WRKSRC} && ${MKDIR} bin
post-patch:
@${REINPLACE_CMD} -e 's|sys/dir.h|dirent.h|' \
${WRKSRC}/src/main.cpp ${WRKSRC}/include/FindFile.h
@${REINPLACE_CMD} -e 's|DATADIR|"${DATADIR}"|' \
${WRKSRC}/src/main.cpp
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/openlierox ${PREFIX}/bin
${MKDIR} ${DATADIR}
cd ${WRKSRC}/share/gamedir && ${COPYTREE_SHARE} . ${DATADIR}
${MKDIR} ${PREFIX}/share/applications
${INSTALL_DATA} ${WRKSRC}/share/openlierox-openlierox.desktop \
${PREFIX}/share/applications
${INSTALL_DATA} ${WRKSRC}/share/OpenLieroX.svg \
${PREFIX}/share/pixmaps
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${DOCSDIR}
.endif
.include <bsd.port.post.mk>