aboutsummaryrefslogtreecommitdiffstats
path: root/games/mudmagic/Makefile
blob: bef969caa5e3d5b2d0000cc05cc2a84c07dba8f4 (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
41
# Created by: trasz <trasz@pin.if.uz.zgora.pl>
# $FreeBSD$

PORTNAME=   mudmagic
PORTVERSION=    1.9
PORTREVISION=   12
CATEGORIES= games
MASTER_SITES=   http://www.mudmagic.com/mud-client/downloads/

MAINTAINER= ports@FreeBSD.org
COMMENT=    A GTK+ based MUD client

LICENSE=    GPLv2

LIB_DEPENDS=    libcurl.so:${PORTSDIR}/ftp/curl \
        libpcre.so:${PORTSDIR}/devel/pcre \
        libpng15.so:${PORTSDIR}/graphics/png \
        libexpat.so:${PORTSDIR}/textproc/expat2 \
        libsqlite3.so:${PORTSDIR}/databases/sqlite3

USES=       gmake pathfix pkgconfig
USE_GNOME=  gtk20 libglade2 libxml2
GNU_CONFIGURE=  yes
USE_PYTHON= yes
USE_LDCONFIG=   yes
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

post-patch:
    @${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' \
        ${WRKSRC}/src/network/network.h \
        ${WRKSRC}/src/configuration/configuration.h \
        ${WRKSRC}/src/interface/tools.c \
        ${WRKSRC}/src/interface/theme_select.c \
        ${WRKSRC}/src/protocols/http.h \
        ${WRKSRC}/src/utils/gamelist.c \
        ${WRKSRC}/src/utils/muderr.h \
        ${WRKSRC}/src/utils/alias_triggers.c \
        ${WRKSRC}/src/utils/gamelist.h

.include <bsd.port.mk>