mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-13 07:34:50 +00:00
1400e9bac5
- Require devel/guichan >= 0.5.0 - Unbreak on 4.x PR: ports/103709 Submitted by: Marcus von Appen <mva at sysfault.org> (maintainer)
40 lines
1.1 KiB
Makefile
40 lines
1.1 KiB
Makefile
# New ports collection makefile for: tmw
|
|
# Date created: 12 Oktober 2005
|
|
# Whom: Tobias Gion
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= tmw
|
|
PORTVERSION= 0.0.21
|
|
CATEGORIES= games
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= themanaworld
|
|
|
|
MAINTAINER= mva@sysfault.org
|
|
COMMENT= A free open source 2D MMORPG in development
|
|
|
|
LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2 \
|
|
png.5:${PORTSDIR}/graphics/png \
|
|
curl.3:${PORTSDIR}/ftp/curl \
|
|
physfs-1.0.1:${PORTSDIR}/devel/physfs
|
|
BUILD_DEPENDS= guichan>=0.5.0:${PORTSDIR}/devel/guichan
|
|
RUN_DEPENDS= guichan>=0.5.0:${PORTSDIR}/devel/guichan
|
|
|
|
USE_X_PREFIX= yes
|
|
GNU_CONFIGURE= yes
|
|
USE_SDL= sdl image mixer net
|
|
USE_GCC= 3.2+
|
|
USE_GETOPT_LONG=yes
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include `${SDL_CONFIG} --cflags` -I${X11BASE}/include ${PTHREAD_CFLAGS}" \
|
|
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS}"
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
|
|
|
|
.include <bsd.port.post.mk>
|