summaryrefslogtreecommitdiff
path: root/devel/giggle/Makefile
blob: 03c0932af64c60cac5266fb7873bc9b88f7f274b (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
# Created by: Ashish Shukla <wahjava@gmail.com>
# $FreeBSD$

PORTNAME=	giggle
PORTVERSION=	0.7
PORTREVISION=	1
CATEGORIES=	devel
MASTER_SITES=	GNOME

MAINTAINER=	ashish@FreeBSD.org
COMMENT=	GTK+ frontend for git version control system

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

BUILD_DEPENDS=	git:devel/git \
		p5-XML-Parser>=0:textproc/p5-XML-Parser \
		itstool:textproc/itstool
RUN_DEPENDS=	git:devel/git

OPTIONS_DEFINE=	NLS
OPTIONS_DEFAULT=	NLS
#VTE_DESC=	Terminal Widget

GNU_CONFIGURE=	yes
USE_GNOME=	glib20 gtk30 intltool libglade2 gtksourceview3 gdkpixbuf2
USES=		desktop-file-utils gmake libtool pkgconfig tar:xz
USE_LDCONFIG=	yes
INSTALLS_ICONS=	yes
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib -lintl `${LOCALBASE}/bin/pkg-config -libs gmodule-2.0`
INSTALL_TARGET=	install-strip
PLIST_SUB+=	GIGGLE_VER=${PORTVERSION}
CONFIGURE_ARGS+=	--disable-evolution-data-server \
			--with-git-command=${LOCALBASE}/bin/git
# disable vte support until giggle catches up with the new API
CONFIGURE_ARGS+=	--disable-terminal

OPTIONS_SUB=	yes

#VTE_USE=		GNOME=vte3
#VTE_CONFIGURE_ENABLE=	terminal

NLS_CONFIGURE_ENABLE=	nls
NLS_USES=		gettext

.include <bsd.port.mk>