# $MidnightBSD: mports/www/webserver/Makefile,v 1.6 2009/10/13 01:40:29 laffer1 Exp $

PORTNAME=	webserver
PORTVERSION=	1.3.0
PORTREVISION=	0
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_PREFIX=	yes
USE_GNUSTEP_BASE=	yes
USE_GNUSTEP_BUILD=	yes
USE_GNUSTEP_INSTALL=	yes
USE_GNUSTEP_LDCONFIG=	${GNUSTEP_LOCAL_LIBRARIES}

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

.include <bsd.port.mk>
