summaryrefslogtreecommitdiffstats
path: root/devel/libsigc++20/Makefile
blob: 31e821ca5ad986d213f79698d916d2603d091ea6 (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
# New ports collection makefile for:   libsigc++2
# Date created:        14 Feb 2004
# Whom:                Alexander Nedotsukov <bland@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   libsigc++
PORTVERSION=    1.9.15
CATEGORIES= devel gnome
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= libsigc
DIST_SUBDIR=    gnome2

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

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

USE_BZIP2=  yes
USE_GCC=    3.3
USE_GMAKE=  yes
LATEST_LINK=    libsigc++2
INSTALLS_SHLIB= yes
USE_GNOME=  gnomehack lthack gnometarget pkgconfig
USE_LIBTOOL_VER=13

.if !defined(NOPORTDOCS)
BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen
.else
USE_REINPLACE=  yes

post-patch:
    @${REINPLACE_CMD} -e 's|^\(SUBDIRS =\)\(docs\)\(.*\)|\1\3|' ${WRKSRC}/Makefile.in
.endif

.include <bsd.port.mk>