openbsd-ports/games/wormux/Makefile
landry 45e29c629f Update to wormux 0.8.3. Tested by myself & dbd.
'diff looks good so if it works, ok' ajacoutot@
2009-04-26 12:31:49 +00:00

40 lines
1007 B
Makefile

# $OpenBSD: Makefile,v 1.11 2009/04/26 12:31:49 landry Exp $
COMMENT= free software clone of Worms(R) game concept
DISTNAME= wormux-0.8.3
CATEGORIES= games
HOMEPAGE= http://wormux.org
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= SDL X11 c crypto idn m png pthread ssl stdc++ z
MASTER_SITES= http://download.gna.org/wormux/
EXTRACT_SUFX= .tar.bz2
RUN_DEPENDS= :desktop-file-utils-*:devel/desktop-file-utils
LIB_DEPENDS= SDL_gfx::devel/sdl-gfx \
SDL_image::devel/sdl-image \
SDL_mixer::devel/sdl-mixer \
SDL_net::devel/sdl-net \
SDL_ttf::devel/sdl-ttf \
curl.>=5::net/curl \
xml2::textproc/libxml
BUILD_DEPENDS= ::devel/automake/1.9
MODULES= devel/gettext
CONFIGURE_STYLE= gnu
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include ${CFLAGS}" \
LDFLAGS="-L${LOCALBASE}/lib"
pre-fake:
# the provided script is broken
cp ${LOCALBASE}/share/automake-1.9/install-sh ${WRKSRC}
.include <bsd.port.mk>