blob: 2421c2a57cc98cb443296956000b7c0a1bc3e45b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# New ports collection makefile for: tmw
# Date created: 12 Oktober 2005
# Whom: Tobias Gion
#
# $FreeBSD$
#
PORTNAME= tmw
PORTVERSION= 0.0.21.1
PORTREVISION= 1
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.4:${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>
|