aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/gnome-power-manager/Makefile
blob: c5c37d3a124dd9937a5c9b02696b64ac0d4133b7 (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
# New ports collection makefile for:    gnome-power-manager
# Date created:             03 May 2006
# Whom:                 Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
#   $MCom: ports/sysutils/gnome-power-manager/Makefile,v 1.13 2006/09/29 23:25:32 marcus Exp $
#

PORTNAME=   gnome-power-manager
PORTVERSION=    2.16.2
CATEGORIES= sysutils 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=    Power management system for the GNOME Desktop

LIB_DEPENDS=    hal.1:${PORTSDIR}/sysutils/hal \
        notify.2:${PORTSDIR}/devel/libnotify

USE_GETTEXT=    yes
USE_BZIP2=  yes
USE_XLIB=   yes
USE_GMAKE=  yes
INSTALLS_OMF=   yes
INSTALLS_ICONS= yes
USE_AUTOTOOLS=  libtool:15
USE_GNOME=  gnomeprefix gnomehack intlhack libgnomeui libwnck \
        gnomedocutils
CONFIGURE_ARGS= --disable-icon-framing \
        --docdir=${PREFIX}/share/doc/${PORTNAME} \
        --with-doc-dir=${PREFIX}/share/doc \
        --disable-docbook-docs
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

GCONF_SCHEMAS=  gnome-power-manager.schemas

post-patch:
    @${REINPLACE_CMD} -e 's|-lresolv||' \
            ${WRKSRC}/configure

.include <bsd.port.mk>