openbsd-ports/devel/libsigc++-2/Makefile
2011-07-25 08:10:58 +00:00

41 lines
904 B
Makefile

# $OpenBSD: Makefile,v 1.23 2011/07/25 08:10:58 ajacoutot Exp $
COMMENT-main= callback framework for C++
COMMENT-docs= callback framework for C++ documentation
VERSION= 2.2.10
DISTNAME= libsigc++-${VERSION}
PKGNAME-main = ${DISTNAME}
PKGSPEC-main = libsigc++->=2,<3
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
EXTRACT_SUFX= .tar.xz
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>