[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / www / mono-xsp

File: [cvs.NetBSD.org] / pkgsrc / www / mono-xsp / Makefile (download)

Revision 1.48, Wed Sep 11 11:53:40 2019 UTC (14 months, 2 weeks ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2019Q3-base, pkgsrc-2019Q3
Changes since 1.47: +3 -3 lines

Use https for mono-project.com.

# $NetBSD: Makefile,v 1.48 2019/09/11 11:53:40 nia Exp $

DISTNAME=	xsp-3.8
PKGNAME=	mono-${DISTNAME}
PKGREVISION=	10
CATEGORIES=	www
MASTER_SITES=	https://download.mono-project.com/sources/xsp/

MAINTAINER=	kefren@NetBSD.org
HOMEPAGE=	https://www.mono-project.com/ASP.NET
COMMENT=	Standalone web server written in C\#

GNU_CONFIGURE=	yes
USE_TOOLS+=	gmake pkg-config
MAKE_JOBS_SAFE=	no

PKGCONFIG_OVERRIDE+=	src/Mono.WebServer/xsp.pc.in
PKGCONFIG_OVERRIDE+=	src/Mono.WebServer/xsp-2.pc.in

SUBST_CLASSES+=			unwrap_mk
SUBST_STAGE.unwrap_mk=		pre-install
SUBST_MESSAGE.unwrap_mk=	Unwrapping Tests.XSP.Security/Makefile
SUBST_FILES.unwrap_mk=		unittests/Tests.XSP.Security/Makefile
SUBST_SED.unwrap_mk=		-e 's,^MAKEINFO = .*,MAKEINFO = makeinfo,'
SUBST_SED.unwrap_mk+=		-e 's,^PKG_CONFIG = .*,PKG_CONFIG = ${PREFIX}/bin/pkg-config,'

SUBST_CLASSES+=         fix-mcs
SUBST_STAGE.fix-mcs=    pre-configure
SUBST_MESSAGE.fix-mcs=  Fix compiler name
SUBST_FILES.fix-mcs=    configure
SUBST_SED.fix-mcs=      -e 's,gmcs,mcs,'

.include "../../databases/sqlite3/buildlink3.mk"
.include "../../lang/mono/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"