aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/lxtask/Makefile
blob: 2479e6e2f4ca7113552a32935eeb40d78a1d9668 (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
43
44
# Created by: chinsan
# $FreeBSD$

PORTNAME=   lxtask
PORTVERSION=    0.1.4
PORTREVISION=   1
CATEGORIES= sysutils gnome
MASTER_SITES=   SF/lxde/LXTask%20%28task%20manager%29/LXTask%20${PORTVERSION}/

MAINTAINER= nemysis@FreeBSD.org
COMMENT=    Lightweight desktop-independent task manager

LICENSE=    GPLv2

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

PORTDOCS=   AUTHORS README TODO

OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB=    yes

NLS_USES=   gettext

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MNLS}
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib
.endif

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

post-install:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>