aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/lxsession/Makefile
blob: 8f28caa432d8be9eb32d0c1361b6cc6d1346644f (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
# Created by: chinsan
# $FreeBSD$

PORTNAME=   lxsession
PORTVERSION=    0.4.6.1
PORTREVISION=   2
CATEGORIES= x11-wm
MASTER_SITES=   SF/lxde/LXSession%20%28session%20manager%29/LXSession%20${PORTVERSION}/

MAINTAINER= horia@racoviceanu.com
COMMENT=    LXDE Session Manager

BUILD_DEPENDS=  valac:${PORTSDIR}/lang/vala
LIB_DEPENDS=    libhal.so:${PORTSDIR}/sysutils/hal \
        libgee-0.8.so:${PORTSDIR}/devel/libgee \
        libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib

USES=       gmake iconv pkgconfig
USE_GNOME=  gtk20 intlhack libxslt
GNU_CONFIGURE=  yes
USE_LDCONFIG=   yes

CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

OPTIONS_DEFINE= NLS
OPTIONS_SUB=    yes

NLS_USES=   gettext

# Wrong versioning upstream
PORTSCOUT=  skipv:0.4.9.2

.include <bsd.port.options.mk>

post-patch:
.if ! ${PORT_OPTIONS:MNLS}
    @${REINPLACE_CMD} -e 's|po man|man|' \
        ${WRKSRC}/Makefile.in
.endif

.include <bsd.port.mk>