openbsd-ports/games/warzone2100/Makefile
dcoppa 0e86d84238 Add amd64 to the list of supported ARCHS
Rivo Nurges <rix at estpak dot ee> says it works well.

Ok Brad
2011-01-12 14:17:46 +00:00

55 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.11 2011/01/12 14:17:46 dcoppa Exp $
ONLY_FOR_ARCHS= i386 amd64
COMMENT= 3D realtime strategy on a future earth
DISTNAME= warzone2100-2.3.6
REVISION= 0
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=warzone2100/}
HOMEPAGE= http://wz2100.net/
# GPLv2+
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= GL GLC GLU SDL X11 c m physfs ogg openal>=1 png \
popt pthread sndio stdc++ theora vorbis vorbisfile \
z
MODULES= devel/gettext
LIB_DEPENDS= audio/libogg \
audio/libvorbis \
audio/openal>=0.0.8p7 \
devel/physfs \
devel/popt \
devel/sdl \
graphics/png \
graphics/quesoglc \
multimedia/libtheora
BUILD_DEPENDS= archivers/unzip \
archivers/zip \
devel/bison \
devel/flex
RUN_DEPENDS= devel/desktop-file-utils
USE_GMAKE= Yes
CONFIGURE_STYLE= autoconf
AUTOCONF_VERSION= 2.61
CONFIGURE_ARGS+= --with-distributor="OpenBSD"
CONFIGURE_ENV+= CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include/libpng \
-I${LOCALBASE}/include" \
LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib" \
YACC="bison -y" \
ac_cv_prog_LEX="gflex"
pre-build:
.for _prog in git svn svnversion
@cd ${WRKDIR}/bin && ln -sf /usr/bin/true ${_prog}
.endfor
.include <bsd.port.mk>