freebsd-ports/games/mudmagic/Makefile
Dmitry Marakasov 075372439e - Release ports maintained by games@
games@ team is quite small and inactive, so ports currently assigned
to it cannot be assumed as properly maintained. To not cause confusion
by making it look otherwise, and also to allow and promote adoption
by individual maintainers, release these ports back to the pool. Note
that this does not change the fact that games@ team still takes care
of these ports to excent of its capabilities.

Suggested by:	marino
2014-10-31 16:11:33 +00:00

43 lines
1.2 KiB
Makefile

# Created by: trasz <trasz@pin.if.uz.zgora.pl>
# $FreeBSD$
PORTNAME= mudmagic
PORTVERSION= 1.9
PORTREVISION= 15
CATEGORIES= games
MASTER_SITES= http://www.mudmagic.com/mud-client/downloads/
MAINTAINER= ports@FreeBSD.org
COMMENT= GTK+ based MUD client
LICENSE= GPLv2 # or later
LICENSE_FILE= ${WRKSRC}/COPYING
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 libtool pathfix pkgconfig python
USE_GNOME= gtk20 libglade2 libxml2
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
LIBS+= `${PYTHON_CMD:T}-config --libs` `pkg-config --libs gtk+-x11-2.0` `pkg-config --libs libcurl`
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>