2007-09-15 14:01:00 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.3 2007/09/15 18:01:03 simon Exp $
|
2007-05-22 14:31:33 -04:00
|
|
|
|
2007-09-15 14:01:00 -04:00
|
|
|
COMMENT= free software clone of Worms(R) game concept
|
2007-05-22 14:31:33 -04:00
|
|
|
|
|
|
|
DISTNAME= wormux-0.7.9
|
2007-05-22 16:49:01 -04:00
|
|
|
PKGNAME= ${DISTNAME}p0
|
2007-05-22 14:31:33 -04:00
|
|
|
CATEGORIES= games
|
|
|
|
|
|
|
|
HOMEPAGE= http://wormux.org
|
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WANTLIB= SDL X11 Xext c crypto glib-2.0 glibmm-2.4 gobject-2.0 \
|
2007-05-22 16:49:01 -04:00
|
|
|
idn m pthread sigc-2.0 ssl stdc++ usbhid xml2 z
|
2007-05-22 14:31:33 -04:00
|
|
|
|
|
|
|
MASTER_SITES= http://download.gna.org/wormux/
|
|
|
|
|
|
|
|
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 \
|
|
|
|
xml++-2.6::textproc/libxml++
|
|
|
|
|
2007-05-22 16:49:01 -04:00
|
|
|
MODULES= devel/gettext
|
2007-05-22 14:31:33 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2007-05-22 16:49:01 -04:00
|
|
|
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include ${CFLAGS}" \
|
2007-05-22 14:31:33 -04:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
@cp ${FILESDIR}/openbsd.h ${WRKSRC}/src/include/
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|