aboutsummaryrefslogtreecommitdiffstats
path: root/devel/bug-buddy/Makefile
blob: 557003dd98d4c6ff1bd8288056200aec1558ee29 (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
# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$
#   $MCom: ports/devel/bug-buddy/Makefile,v 1.86 2010/11/16 18:17:55 kwm Exp $

PORTNAME=   bug-buddy
PORTVERSION=    2.32.0
PORTREVISION=   3
CATEGORIES= devel gnome
MASTER_SITES=   GNOME
DIST_SUBDIR=    gnome2

MAINTAINER= gnome@FreeBSD.org
COMMENT=    A bug reporting tool for GNOME 2

LIB_DEPENDS=    gtop-2.0.7:${PORTSDIR}/devel/libgtop \
        soup-2.4.1:${PORTSDIR}/devel/libsoup

USE_BZIP2=  yes
USES=       gettext gmake pkgconfig
INSTALLS_ICONS= yes
GNU_CONFIGURE=  yes
USE_GNOME=  gnomeprefix gnomehack intlhack libbonobo \
        gnomedocutils evolutiondataserver
GNOME_DESKTOP_VERSION=2
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

GCONF_SCHEMAS=  bug-buddy.schemas

MAN1=       bug-buddy.1

post-patch:
    @${REINPLACE_CMD} -e 's|applications.menu|gnome-applications.menu|' \
        ${WRKSRC}/src/bugzilla.c
    @${REINPLACE_CMD} -e 's|libelf.h||g ; \
            s|gelf.h||g' \
            ${WRKSRC}/configure

post-install:
    @${LN} -fs ${PREFIX}/lib/gtk-2.0/modules/libgnomesegvhandler.so \
        ${PREFIX}/lib/gtk-2.0/modules/libgnomebreakpad.so

.include <bsd.port.mk>