aboutsummaryrefslogtreecommitdiffstats
path: root/devel/bug-buddy/Makefile
blob: b65ae3b3610370f6e2f3af9fd70e74522e3ceee6 (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
# New ports collection makefile for:    bugbuddy2
# Date created:             14 May 2002
# Whom:                 Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
#   $MCom: ports/devel/bug-buddy/Makefile,v 1.55 2007/10/06 22:03:31 mezz Exp $
#

PORTNAME=   bug-buddy
PORTVERSION=    2.20.1
CATEGORIES= devel gnome
MASTER_SITES=   ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
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.2.8:${PORTSDIR}/devel/libsoup

USE_BZIP2=  yes
USE_GETTEXT=    yes
USE_XLIB=   yes
INSTALLS_ICONS= yes
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
USE_GNOME=  gnomeprefix gnomehack intlhack gnomedesktop gnomemenus \
        gnomedocutils evolutiondataserver
GNOME_DESKTOP_VERSION=2
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

GCONF_SCHEMAS=  bug-buddy.schemas

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

.include <bsd.port.mk>