1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/games/warmux/Makefile
Marcus von Appen 54bbacafe6 - Update graphics/sdl_gfx to version 2.0.22
- Update Mk/bsd.sdl.mk for the new shared lib version
- Bump portrevisions for all ports depending on graphics/sdl_gfx
2011-07-02 19:59:19 +00:00

69 lines
1.5 KiB
Makefile

# Ports collection makefile for: wormux
# Date created: Thu Dec 16 18:46:55 EET 2004
# Whom: Anton Yudin <toha@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= warmux
DISTVERSION= 11.01
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://download.gna.org/${PORTNAME}/ \
http://download.gna.org/${PORTNAME}/archive/
MAINTAINER= makc@FreeBSD.org
COMMENT= Wormux game
LIB_DEPENDS= xml++-2.6.2:${PORTSDIR}/textproc/libxml++26 \
curl:${PORTSDIR}/ftp/curl
CONFLICTS= wormux-*
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_SDL= sdl image mixer ttf gfx net
MAKE_JOBS_SAFE= yes
USE_DOS2UNIX= fixed_class.h
MANCOMPRESSED= no
MAN6= warmux.6
OPTIONS+= NLS "Native Language Support via gettext utilities" on \
FRIBIDI "Enable bi-directional unicode support" off \
SERVER "Enable dedicated server" off
.include <bsd.port.options.mk>
post-patch:
${REINPLACE_CMD} -e "s,-Werror,," ${WRKSRC}/Makefile.in \
${WRKSRC}/src/Makefile.in
${FIND} -d ${WRKSRC}/data/ -name "*.*~" -delete
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.else
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.endif
.if defined(WITH_SERVER)
PLIST_SUB+= SERVER=""
CONFIGURE_ARGS+= --enable-servers
.else
PLIST_SUB+= SERVER="@comment "
.endif
.if defined(WITH_FRIBIDI)
LIB_DEPENDS+= fribidi:${PORTSDIR}/converters/fribidi
CONFIGURE_ARGS+= --enable-fribidi
.else
CONFIGURE_ARGS+= --disable-fribidi
.endif
.include <bsd.port.mk>