# $MidnightBSD: trunk/www/webserver/Makefile 15462 2013-09-17 03:15:41Z laffer1 $

PORTNAME=	webserver
PORTVERSION=	1.4.6
CATEGORIES=	www gnustep
MASTER_SITES=	${MASTER_SITE_GNUSTEP}
MASTER_SITE_SUBDIR=	libs
DISTNAME=	WebServer-${PORTVERSION}

MAINTAINER=	ports@MidnightBSD.org
COMMENT=	Framework for a GNUstep to act as HTTP or HTTPS server
LICENSE=	lgpl

USE_GNUSTEP=	yes
USE_GNUSTEP_BASE=	yes
USE_GNUSTEP_BUILD=	yes
USE_GNUSTEP_INSTALL=	yes
USE_GNUSTEP_LDCONFIG=	${GNUSTEP_LOCAL_LIBRARIES}
USE_GNUSTEP_LOCAL_LIBS+=	Performance:${PERFORMANCE_PORT}

DEFAULT_LIBVERSION=	1.4
DEFAULT_LIBVERSION2=	1.4.0
PLIST_SUB+=	LIBVERSION2=${DEFAULT_LIBVERSION2}
PLIST_SUB+=	MAJORLIBVERSION2=${DEFAULT_LIBVERSION2:C/([0-9]).*/\1/1}

PERFORMANCE_PORT?=	devel/performance

.include <bsd.port.mk>
