openbsd-ports/devel/libsigc++-2/Makefile
2011-04-26 09:01:43 +00:00

49 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.22 2011/04/26 09:01:43 ajacoutot Exp $
COMMENT-main= callback framework for C++
COMMENT-docs= callback framework for C++ documentation
VERSION= 2.2.9
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
REVISION-main= 0
REVISION-docs= 0
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'
# XXX check on update if this is still needed
# PaxHeader extension is needed
# https://bugzilla.gnome.org/show_bug.cgi?id=644202
TAR= gtar
BUILD_DEPENDS= archivers/gtar
.include <bsd.port.mk>