aboutsummaryrefslogtreecommitdiff
path: root/x11-themes/lxappearance/Makefile
blob: d802e75b7936fd74dc64c5594378b471f2a2c305 (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
# New ports collection makefile for:   lxappearance
# Date created:                2008/06/20
# Whom:                        chinsan
#
# $FreeBSD$
#

PORTNAME=	lxappearance
PORTVERSION=	0.2
CATEGORIES=	x11-themes gnome
MASTER_SITES=	SF
MASTER_SITE_SUBDIR=	lxde

MAINTAINER=	chinsan@FreeBSD.org
COMMENT=	A desktop-independent theme switcher for GTK+

USE_GNOME=	gtk20 intlhack
USE_GCC=	3.3+
USE_GMAKE=	yes
USE_ICONV=	yes
GNU_CONFIGURE=	yes
USE_LDCONFIG=	yes

MAN1=		lxappearance.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>