freebsd-ports/games/antrix/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

42 lines
1.1 KiB
Makefile

# New ports collection makefile for: antrix
# Date created: 11 September 2007
# Whom: Denisov Evgeniy <skillcoder@mail.ru>
#
# $FreeBSD$
#
PORTNAME= antrix
PORTVERSION= 1477
PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= http://skillcoder.narod.ru/wow/antrix/ \
http://wtq.ru/wow/antrix/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= skillcoder@mail.ru
COMMENT= Free stable dedicated-server for World of Warcraft
BUILD_DEPENDS= svn:${PORTSDIR}/devel/subversion
USE_AUTOTOOLS= aclocal libtoolize autoconf autoheader automake libtool
ACLOCAL_ARGS= -I ${LOCALBASE}/share/aclocal
AUTOMAKE_ARGS= -a
USE_MYSQL= yes
CFLAGS+= -O0
USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --prefix=${PREFIX} --sysconfdir=${PREFIX}/etc --datadir=${PREFIX}/share
run-autotools-automake:
@(cd ${CONFIGURE_WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${AUTOMAKE} ${AUTOMAKE_ARGS})
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 700042
.if ${ARCH} == "amd64" || ${ARCH} == "sparc64"
BROKEN= Does not compile with GCC 4.2
.endif
.endif
.include <bsd.port.post.mk>