aboutsummaryrefslogtreecommitdiffstats
path: root/devel/giggle/Makefile
blob: 0fd1edefa0ea73e2ea2334333fb0548b2d246185 (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
49
50
51
52
# Created by: Ashish Shukla <wahjava@gmail.com>
# $FreeBSD$

PORTNAME=   giggle
PORTVERSION=    0.5
PORTREVISION=   3
CATEGORIES= devel
MASTER_SITES=   GNOME

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

BUILD_DEPENDS=  git:${PORTSDIR}/devel/git \
        p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser
RUN_DEPENDS=    git:${PORTSDIR}/devel/git

OPTIONS_DEFINE= EDS VTE
OPTIONS_DEFAULT=    EDS VTE
EDS_DESC=   Evolution Data Server support
VTE_DESC=   Terminal Widget

GNU_CONFIGURE=  yes
USE_GMAKE=  yes
USE_BZIP2=  yes
USE_GNOME=  glib20 gtk20 gtksourceview2 libglade2
USES=       gettext pkgconfig
USE_LDCONFIG=   yes
INSTALLS_ICONS= yes
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib -lintl `pkg-config -libs gmodule-2.0`
PLIST_SUB+= GIGGLE_VER=${PORTVERSION}

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MEDS}
USE_GNOME+= evolutiondataserver
.else
CONFIGURE_ARGS+=    --disable-evolution-data-server
.endif

.if ${PORT_OPTIONS:MVTE}
USE_GNOME+= vte
PLIST_SUB+= VTE=""
.else
CONFIGURE_ARGS+=    --disable-terminal
PLIST_SUB+= VTE="@comment "
.endif

post-install:
    @-update-desktop-database

.include <bsd.port.mk>