aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/system-tools-backends/Makefile
blob: 008b7aee13b7c07da994f1fcfe2376e232ece1c0 (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
# New ports collection makefile for:    system-tools-backends
# Date created:             11 February 2005
# Whom:                 Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
#   $MCom: ports/sysutils/system-tools-backends/Makefile,v 1.40 2007/10/04 11:32:48 ahze Exp $
#

PORTNAME=   system-tools-backends
PORTVERSION=    2.4.1
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=    Backend system admin scripts for gnome-system-tools

BUILD_DEPENDS=  ${SITE_PERL}/${PERL_ARCH}/Net/DBus.pm:${PORTSDIR}/devel/p5-Net-DBus
LIB_DEPENDS=    dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
RUN_DEPENDS=    ${SITE_PERL}/${PERL_ARCH}/Net/DBus.pm:${PORTSDIR}/devel/p5-Net-DBus

USE_BZIP2=  yes
USE_GMAKE=  yes
USE_PERL5=  yes
USE_GNOME=  gnomehack intlhack glib20
GNU_CONFIGURE=  yes
USE_RC_SUBR=    system-tools-backends
USE_GNOME_SUBR= yes
CONFIGURE_ARGS= --with-stb-group=wheel \
        --localstatedir=/var
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} <= 500800
RUN_DEPENDS+=   ${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
.endif

.include <bsd.port.post.mk>