summaryrefslogtreecommitdiffstats
path: root/devel/libsigc++20/Makefile
blob: afe25e7a6759fb11803f5136a2ff7c8368b8063e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# New ports collection makefile for:   libsigc++2
# Date created:        14 Feb 2004
# Whom:                Alexander Nedotsukov <bland@FreeBSD.org>
#
# $FreeBSD$
#   $MCom: ports/devel/libsigc++20/Makefile,v 1.10 2008/02/28 18:23:42 kwm Exp $
#

PORTNAME=   libsigc++
PORTVERSION=    2.2.2
CATEGORIES= devel
MASTER_SITES=   ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/libsigc++/${PORTVERSION:R}

MAINTAINER= gnome@FreeBSD.org
COMMENT=    Callback Framework for C++

BUILD_DEPENDS=  gm4:${PORTSDIR}/devel/m4

USE_AUTOTOOLS=  libtool:15
USE_BZIP2=  yes
USE_GCC=    3.4+
USE_GMAKE=  yes
LATEST_LINK=    libsigc++20
USE_LDCONFIG=   yes
USE_GNOME=  gnomehack gnometarget pkgconfig
GNU_CONFIGURE=  yes

PLIST_SUB=  VERSION="2.0" API_VERSION="2.0"

post-patch:
    @${REINPLACE_CMD} -e "/^SUBDIRS =/s|tests||; \
        /^SUBDIRS =/s|examples||" ${WRKSRC}/Makefile.in
.if defined(NOPORTDOCS)
    @${REINPLACE_CMD} -e "/^install-data-am:/s/install-libsigc_docDATA//; \
        s/^\(SUBDIRS =\).*/\1/" \
        ${WRKSRC}/docs/Makefile.in
.endif

.include <bsd.port.mk>