openbsd-ports/devel/libsigc++-2/Makefile

41 lines
890 B
Makefile

# $OpenBSD: Makefile,v 1.20 2010/11/26 15:00:45 espie Exp $
COMMENT-main= callback framework for C++
COMMENT-docs= callback framework for C++ documentation
VERSION= 2.2.8
DISTNAME= libsigc++-${VERSION}
PKGNAME-main = ${DISTNAME}
PKGSPEC-main = libsigc++->=2,<3
REVISION = 0
PKGNAME-docs= libsigc++-docs-${VERSION}
V= 2.0
SUBST_VARS= V
SHARED_LIBS= sigc-2.0 2.0
CATEGORIES= devel
WANTLIB-main= m stdc++
HOMEPAGE= http://libsigc.sourceforge.net/
# LGPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libsigc++/${VERSION:C/^([0-9]+\.[0-9]+).*/\1/}/}
MULTI_PACKAGES= -main -docs
PKG_ARCH-docs= *
SEPARATE_BUILD= concurrent
USE_GMAKE= Yes
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ENV= M4='m4 -g'
.include <bsd.port.mk>