aboutsummaryrefslogtreecommitdiffstats
path: root/x11-themes/lxappearance/Makefile
blob: 53f6ef9d5b700703513449cd27e54d2cb11c60e5 (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
# Created by: chinsan
# $FreeBSD$

PORTNAME=   lxappearance
PORTVERSION=    0.5.3
CATEGORIES= x11-themes gnome
MASTER_SITES=   SF/lxde/LXAppearance

MAINTAINER= pawel@FreeBSD.org
COMMENT=    Desktop-independent theme switcher for GTK+

LICENSE=    GPLv2

GNU_CONFIGURE=  yes
USES=       gmake pkgconfig
USE_GNOME=  gnomehack gtk20 intlhack

PORTDOCS=   AUTHORS README

OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB=    yes

NLS_USES=   gettext

.include <bsd.port.options.mk>

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

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

.include <bsd.port.mk>