aboutsummaryrefslogtreecommitdiff
path: root/editors/gobby/Makefile
blob: ff9024769b7561680d9e3fc886bd9f43c7964eb9 (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
45
46
47
48
PORTNAME=	gobby
PORTVERSION=	0.4.13
PORTREVISION=	9
CATEGORIES=	editors
MASTER_SITES=	http://releases.0x539.de/gobby/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Free collaborative editor
WWW=		http://gobby.0x539.de

LICENSE=	GPLv2

LIB_DEPENDS=	libobby.so:devel/obby \
		libnet6.so:net/net6 \
		libxml++-2.6.so:textproc/libxml++26 \
		libgtkmm-2.4.so:x11-toolkits/gtkmm24

OPTIONS_DEFINE=	GTKSPELL NLS
GTKSPELL_DESC=	Enable GtkSpell support

USE_GNOME=	gtksourceview2 intltool
USES=		compiler:c++11-lang cpe gmake gnome pathfix pkgconfig
CPE_VENDOR=	${PORTNAME}_project
USE_CXXSTD=	c++11
GNU_CONFIGURE=	yes

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MGTKSPELL}
LIB_DEPENDS+=	libgtkspell.so:textproc/gtkspell
CONFIGURE_ARGS+=--with-gtkspell
.else
CONFIGURE_ARGS+=--without-gtkspell
.endif

.if ${PORT_OPTIONS:MNLS}
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib -lintl
CONFIGURE_ARGS+=	--enable-nls
USES+=		cpe gettext
CPE_VENDOR=	${PORTNAME}_project
PLIST_SUB+=	NLS=""
.else
CONFIGURE_ARGS+=	--disable-nls
PLIST_SUB+=	NLS="@comment "
.endif

.include <bsd.port.mk>