openbsd-ports/devel/mono-gdata/Makefile
2011-11-02 09:10:54 +00:00

36 lines
674 B
Makefile

# $OpenBSD: Makefile,v 1.2 2011/11/02 09:10:54 ajacoutot Exp $
COMMENT= .NET library for the Google Data API
V= 1.9.0.0
DISTNAME= libgoogle-data-mono-${V}
PKGNAME= mono-gdata-${V}
CATEGORIES= devel
HOMEPAGE= http://google-gdata.googlecode.com/
# Apache 2.0
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}files/
MODULES= lang/mono
USE_GMAKE= Yes
NO_REGRESS= Yes
# see VERSION in ${WRKSRC}/Makefile
VERSION= ${V:C/^([0-9]+\.[0-9]+\.[0-9]+).*/\1/}
MAKE_FLAGS= VERSION=${VERSION}
SUBST_VARS= V
pre-configure:
${SUBST_CMD} ${WRKSRC}/version/AssemblyVersion.cs
.include <bsd.port.mk>