aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/growl-for-linux/Makefile
blob: 66837c056f90f6a5d9c849ffb549e351c3a77356 (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
# $FreeBSD$

PORTNAME=   growl-for-linux
PORTVERSION=    0.6.8
PORTREVISION=   1
CATEGORIES= deskutils

MAINTAINER= nivit@FreeBSD.org
COMMENT=    Notification system compatible with Growl

LICENSE=    BSD

LIB_DEPENDS=    curl:${PORTSDIR}/ftp/curl \
        dbus-glib-1:${PORTSDIR}/devel/dbus-glib

GH_ACCOUNT= mattn
GH_COMMIT=  cab80f2
GH_TAGNAME= ${GH_COMMIT}

GNU_CONFIGURE=  yes

OPTIONS_DEFINE= LIBNOTIFY
OPTIONS_DEFAULT=    LIBNOTIFY
LIBNOTIFY_DESC= Use notify-osd for libnotify display plugin

USES=       pkgconfig

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MLIBNOTIFY}
LIB_DEPENDS+=   notify:${PORTSDIR}/devel/libnotify
RUN_DEPENDS+=   notify-osd>=0.9.29_3:${PORTSDIR}/deskutils/notify-osd
.endif

PLIST_SUB=  DESKTOPDIR=${_DESKTOPDIR_REL}

USE_AUTOTOOLS=  autoconf:env automake:env libtoolize:env
USE_GITHUB= yes
USE_GNOME=  desktopfileutils gtk20
USE_LDCONFIG=   yes
USE_OPENSSL=    yes
USE_SQLITE= 3

WITH_OPENSSL_PORT=  yes

pre-configure:
    @(cd ${CONFIGURE_WRKSRC} ; ${SETENV} ${CONFIGURE_ENV} ${SH} autogen.sh)

.include <bsd.port.mk>