summaryrefslogtreecommitdiffstats
path: root/x11-wm/lxsession-lite/Makefile
blob: 14dddc38fccc7ae0ae9ad5461584f813c596a772 (plain)
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:   lxsession-lite
# Date created:                2008/06/20
# Whom:                        chinsan
#
# $FreeBSD$
#

PORTNAME=	lxsession-lite
PORTVERSION=	0.3.6
PORTREVISION=	1
CATEGORIES=	x11-wm gnome
MASTER_SITES=	SF
MASTER_SITE_SUBDIR=	lxde

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

LIB_DEPENDS=	hal.1:${PORTSDIR}/sysutils/hal

CONFLICTS=	lxsession-[0-9]*

USE_GNOME=	gtk20
USE_AUTOTOOLS=	automake:110:env
USE_GMAKE=	yes
USE_ICONV=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ARGS= --prefix=${PREFIX} \
		CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"
CFLAGS+=	-I${WRKSRC}

DATADIR=	${PREFIX}/share/lxsession

MAN1=		lxsession.1 lxsession-logout.1

.if !defined(WITHOUT_NLS)
USE_GETTEXT=    yes
PLIST_SUB+=     NLS=""
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+=     NLS="@comment "
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud