# Created by: mj <systemoperator@gmail.com>
# $FreeBSD: irc/solid-ircd/Makefile 327736 2013-09-20 18:44:49Z bapt $

PORTNAME=	solid-ircd
PORTVERSION=	3.4.8
CATEGORIES=	irc
MASTER_SITES=	SF/solidircd/Solid-Stable/solidircd-stable.${PORTVERSION}
DISTNAME=	solidircd-stable3.4.8

MAINTAINER=	systemoperator@gmail.com
COMMENT=	Solid Internet Relay Chat Daemon based on bahamut IRCd

WRKSRC=		${WRKDIR}/solidircd-stable

USE_GMAKE=	yes
HAS_CONFIGURE=	yes

CONFIGURE_ARGS+=	--prefix=${PREFIX}/${PORTNAME}

.if defined(WITHOUT_SSL)
CONFIGURE_ARGS+=	--disable-openssl
.else
USE_OPENSSL=	yes
.endif

NO_STAGE=	yes
.include <bsd.port.pre.mk>

.if ${OSVERSION} > 900007
BROKEN=		fails to build with new utmpx
.endif

.include <bsd.port.post.mk>
