1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00
freebsd-ports/games/mudmagic/Makefile

43 lines
1.1 KiB
Makefile

# Created by: trasz <trasz@pin.if.uz.zgora.pl>
# $FreeBSD$
PORTNAME= mudmagic
PORTVERSION= 1.9
PORTREVISION= 11
CATEGORIES= games
MASTER_SITES= http://www.mudmagic.com/mud-client/downloads/
MAINTAINER= ports@FreeBSD.org
COMMENT= A GTK+ based MUD client
LIB_DEPENDS= curl.6:${PORTSDIR}/ftp/curl \
pcre.3:${PORTSDIR}/devel/pcre \
png15:${PORTSDIR}/graphics/png \
expat:${PORTSDIR}/textproc/expat2 \
sqlite3.8:${PORTSDIR}/databases/sqlite3
USES= pathfix
USE_GNOME= gtk20 libglade2 libxml2
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_PYTHON= yes
USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
MAN1= mudmagic.1
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>