aboutsummaryrefslogtreecommitdiffstats
path: root/ports-mgmt/gnome-packagekit/Makefile
blob: c0623772e42e731f7da325e1aab7aadeb6c016a4 (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
46
47
48
49
50
# New ports collection makefile for:    gnome-packagekit
# Date created:             15 Aug 2009
# Whom:                 Anders F Bjorklund <afb@users.sourceforge.net>
#
# $FreeBSD$
#  $MCom: ports/ports-mgmt/gnome-packagekit/Makefile,v 1.25 2011/06/14 20:18:46 mezz Exp $

PORTNAME=   gnome-packagekit
PORTVERSION=    2.32.0
PORTREVISION=   3
CATEGORIES= ports-mgmt sysutils gnome
MASTER_SITES=   GNOME

MAINTAINER= gnome@FreeBSD.org
COMMENT=    PackageKit client programs for the GNOME desktop

BUILD_DEPENDS=  ${LOCALBASE}/bin/docbook2man:${PORTSDIR}/textproc/docbook-utils
LIB_DEPENDS=    dbus-glib-1:${PORTSDIR}/devel/dbus-glib \
        packagekit-glib2.14:${PORTSDIR}/ports-mgmt/packagekit \
        notify.4:${PORTSDIR}/devel/libnotify \
        unique-1.0:${PORTSDIR}/x11-toolkits/unique \
        upower-glib.1:${PORTSDIR}/sysutils/upower \
        canberra-gtk.0:${PORTSDIR}/audio/libcanberra

USE_GMAKE=  yes
USE_BZIP2=  yes
USE_GNOME=  gnomeprefix intlhack gconf2 gnomemenus gnomedocutils \
        desktopfileutils
USES=       gettext pathfix iconv
USE_PYTHON_BUILD=2.5+
GCONF_SCHEMAS=  gnome-packagekit.schemas
INSTALLS_ICONS= yes
INSTALLS_OMF=   yes
GNU_CONFIGURE=  yes
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

MAN1=   gpk-application.1 gpk-backend-status.1 gpk-install-local-file.1 \
    gpk-install-mime-type.1 gpk-install-package-name.1 \
    gpk-install-provide-file.1 gpk-prefs.1 gpk-repo.1 gpk-update-icon.1 \
    gpk-update-viewer.1

pre-configure:
    @${REINPLACE_CMD} -E -e 's/.*CPPFLAGS.*-Werror/#$$&/' \
        -e 's|-Wmissing-include-dirs||g' ${WRKSRC}/configure

post-install:
    @-update-desktop-database

.include <bsd.port.mk>