2005-09-16 13:07:08 +02:00
|
|
|
# New ports collection makefile for: warzone2100
|
|
|
|
# Date created: 21 Aug 2005
|
|
|
|
# Whom: Alejandro Pulver <alejandro@varnet.biz>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2006-09-01 00:39:04 +02:00
|
|
|
PORTNAME= warzone2100
|
2007-04-10 03:38:32 +02:00
|
|
|
PORTVERSION= 2.0.6
|
2007-05-19 22:36:56 +02:00
|
|
|
PORTREVISION= 1
|
2005-09-16 13:07:08 +02:00
|
|
|
CATEGORIES= games
|
2006-08-22 19:44:20 +02:00
|
|
|
MASTER_SITES= http://download.gna.org/warzone/releases/2.0/
|
2005-09-16 13:07:08 +02:00
|
|
|
|
2006-04-09 15:08:16 +02:00
|
|
|
MAINTAINER= alepulver@FreeBSD.org
|
2005-09-16 13:07:08 +02:00
|
|
|
COMMENT= Innovative 3D real-time strategy game
|
|
|
|
|
2007-07-11 23:08:48 +02:00
|
|
|
BUILD_DEPENDS= bison2>=2.1:${PORTSDIR}/devel/bison2 \
|
2007-04-10 03:38:32 +02:00
|
|
|
zip:${PORTSDIR}/archivers/zip \
|
|
|
|
unzip:${PORTSDIR}/archivers/unzip
|
2005-09-16 13:07:08 +02:00
|
|
|
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
|
|
|
|
mad.2:${PORTSDIR}/audio/libmad \
|
|
|
|
ogg.5:${PORTSDIR}/audio/libogg \
|
|
|
|
openal.0:${PORTSDIR}/audio/openal \
|
2006-08-22 19:44:20 +02:00
|
|
|
physfs-1.0.1:${PORTSDIR}/devel/physfs \
|
|
|
|
png.5:${PORTSDIR}/graphics/png \
|
|
|
|
vorbis.3:${PORTSDIR}/audio/libvorbis
|
2005-09-16 13:07:08 +02:00
|
|
|
|
2007-04-10 03:38:32 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2005-09-16 13:07:08 +02:00
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_GL= yes
|
2007-04-10 03:38:32 +02:00
|
|
|
USE_GMAKE= yes
|
2005-09-16 13:07:08 +02:00
|
|
|
USE_SDL= net sdl
|
|
|
|
CONFIGURE_ARGS= --program-transform-name=""
|
2006-09-01 00:39:04 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \
|
2006-08-22 19:44:20 +02:00
|
|
|
LIBS="${PTHREAD_LIBS}"
|
2006-10-31 19:54:38 +01:00
|
|
|
CPPFLAGS= -I${LOCALBASE}/include -I${X11BASE}/include
|
2006-09-01 00:39:04 +02:00
|
|
|
LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib
|
2006-09-13 01:51:54 +02:00
|
|
|
|
2005-09-16 13:07:08 +02:00
|
|
|
post-patch:
|
2007-04-10 03:38:32 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|-m32||' ${WRKSRC}/configure
|
|
|
|
.if defined(NOPORTDOCS)
|
|
|
|
@${REINPLACE_CMD} -Ee 's|^(dist_doc_Data =) .*|\1|' \
|
|
|
|
${WRKSRC}/Makefile.in
|
|
|
|
.else
|
|
|
|
@${REINPLACE_CMD} -e 's|AUTHORS||; s|COPYING COPYING\.README||' \
|
|
|
|
${WRKSRC}/Makefile.in
|
2005-09-16 13:07:08 +02:00
|
|
|
.endif
|
|
|
|
|
2007-03-05 15:14:18 +01:00
|
|
|
.include <bsd.port.mk>
|