summaryrefslogtreecommitdiffstats
path: root/devel/libbonobo/Makefile
blob: 16c7b93255b89e9818266aff1a14b148bbb00964 (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
41
42
43
44
45
# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
# $FreeBSD: head/devel/libbonobo/Makefile 313635 2013-03-08 11:32:11Z bapt $
#   $MCom: ports/devel/libbonobo/Makefile,v 1.84 2010/09/26 20:57:33 kwm Exp $


PORTNAME=   libbonobo
PORTVERSION=    2.32.0
PORTREVISION?=  0
CATEGORIES= devel
MASTER_SITES=   GNOME
DIST_SUBDIR=    gnome2

MAINTAINER= gnome@FreeBSD.org
COMMENT=    Component and compound document system for GNOME2

USE_BZIP2=  yes

.if !defined(REFERENCE_PORT)

LIB_DEPENDS=    popt:${PORTSDIR}/devel/popt

USES=       bison pathfix
USE_GMAKE=  yes
USE_GETTEXT=    yes
USE_LDCONFIG=   yes
GNU_CONFIGURE=  yes
USE_PERL5=  yes
USE_GNOME=  intlhack libxml2 orbit2 referencehack
USE_PKGCONFIG=  build
CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc \
        --disable-gtk-doc
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib -pthread
MAKE_ENV=   gnomelocaledir=${PREFIX}/share/locale

MAN1=       bonobo-activation-server.1

post-patch:
    @${REINPLACE_CMD} -e 's|-DG_DISABLE_DEPRECATED||g' \
        ${WRKSRC}/configure \
        ${WRKSRC}/activation-server/Makefile.in

.include <bsd.port.mk>

.endif