summaryrefslogtreecommitdiffstats
path: root/devel/libbonobo/Makefile
blob: b20536136c5a1d10c2db655508cdb31e021f8891 (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
# New ports collection makefile for:   libbonobo
# Date Created:         14 February 2002
# Whom:             Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD: ports/devel/libbonobo/Makefile,v 1.26 2003/04/22 04:21:46 marcus Exp $
#

PORTNAME=   libbonobo
PORTVERSION=    2.3.1
PORTREVISION=   2
#PORTREVISION=  0
CATEGORIES= devel
MASTER_SITES=   ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.3
DIST_SUBDIR=    gnome2

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

USE_BZIP2=  yes
USE_GMAKE=  yes
USE_BISON=  yes
INSTALLS_SHLIB= yes
GNU_CONFIGURE=  yes
USE_PERL5=  yes
USE_GNOME=  gnomehack libxml2 orbit2
CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc \
        --disable-gtk-doc
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
MAKE_ENV=   gnomelocaledir=${PREFIX}/share/locale

MAN1=       bonobo-activation-server.1

post-patch:
    @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
        s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure

.include <bsd.port.mk>