summaryrefslogtreecommitdiff
path: root/deskutils/growl-for-linux/Makefile
blob: 18f6a8cdea3a302ede811508051defb8601faec2 (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
# $FreeBSD$

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

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

LICENSE=	BSD

BUILD_DEPENDS=	desktop-file-install:${PORTSDIR}/devel/desktop-file-utils
LIB_DEPENDS=	libcurl.so:${PORTSDIR}/ftp/curl \
		libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib

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

GNU_CONFIGURE=	yes

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

.include <bsd.port.options.mk>

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

PLIST_SUB=	DESKTOPDIR=${DESKTOPDIR:S,^${PREFIX}/,,}

USE_AUTOTOOLS=	autoconf:env automake:env libtoolize:env
USE_GITHUB=	yes
USE_GCC=	any
USE_GNOME=	gtk20
USE_LDCONFIG=	yes
USE_OPENSSL=	yes
USE_SQLITE=	3
USES=		pkgconfig

WITH_OPENSSL_PORT=	yes

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

.include <bsd.port.mk>