summaryrefslogtreecommitdiffstats
path: root/sysutils/system-tools-backends/Makefile
blob: 7a230275065c69a3a5017dd2e7c4ac0e2a3db2f0 (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
# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$
#   $MCom: ports/trunk/sysutils/system-tools-backends/Makefile 18610 2013-06-30 16:33:05Z marcus $

PORTNAME=   system-tools-backends
PORTVERSION=    2.10.2
CATEGORIES= sysutils gnome
MASTER_SITES=   GNOME
DIST_SUBDIR=    gnome2

MAINTAINER= gnome@FreeBSD.org
COMMENT=    Backend system admin scripts for gnome-system-tools

BUILD_DEPENDS=  p5-Net-DBus>=0:${PORTSDIR}/devel/p5-Net-DBus
LIB_DEPENDS=    libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib \
        libpolkit-gobject-1.so:${PORTSDIR}/sysutils/polkit
RUN_DEPENDS=    p5-Net-DBus>=0:${PORTSDIR}/devel/p5-Net-DBus

USES=       gmake pathfix perl5 pkgconfig tar:bzip2
USE_GNOME=  intlhack glib20
GNU_CONFIGURE=  yes
USE_GNOME_SUBR= yes
CONFIGURE_ARGS= --with-stb-group=wheel \
        --localstatedir=/var
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

post-configure:
    @${REINPLACE_CMD} -e 's|@GETTEXT_PACKAGE@|system-tools-backends|g' \
        ${WRKSRC}/po/Makefile

.include <bsd.port.mk>