aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/lxsession/Makefile
blob: 4cbc865bcf0e47cd0b7c82319b3800e1cd6cc147 (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
# New ports collection makefile for:   lxsession
# Date created:                2008/06/20
# Whom:                        chinsan
#
# $FreeBSD$
#

PORTNAME=   lxsession
PORTVERSION=    0.3.2
CATEGORIES= x11-wm gnome
MASTER_SITES=   SF
MASTER_SITE_SUBDIR= lxde

MAINTAINER= chinsan@FreeBSD.org
COMMENT=    LXDE Session Manager

LIB_DEPENDS=    hal.1:${PORTSDIR}/sysutils/hal
BUILD_DEPENDS=  docbook-to-man:${PORTSDIR}/textproc/docbook-to-man

CONFLICTS=  lxsession-lite-[0-9]*

USE_GNOME=  gtk20 intlhack libgnome

USE_GMAKE=  yes
USE_ICONV=  yes
GNU_CONFIGURE=  yes
USE_LDCONFIG=   yes

MAN1=       lxsession.1 lxsession-logout.1

.if !defined(WITHOUT_NLS)
USE_GETTEXT=    yes
PLIST_SUB+= NLS=""
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif

.include <bsd.port.mk>