aboutsummaryrefslogtreecommitdiffstats
path: root/mail/xfce4-mailwatch-plugin/Makefile
blob: 688d549475e2cfd3efcac39ec3995e3162695d3f (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
# Created by: Martin Wilke (miwi@FreeBSD.org)
# $FreeBSD$

PORTNAME=   xfce4-mailwatch-plugin
PORTVERSION=    1.2.0
PORTREVISION=   9
CATEGORIES= mail xfce
MASTER_SITES=   XFCE/src/panel-plugins/${PORTNAME}/${PORTVERSION:R}
DIST_SUBDIR=    xfce4

MAINTAINER= xfce@FreeBSD.org
COMMENT=    Mail notification applet for the Xfce panel

LIB_DEPENDS=    libgnutls.so:security/gnutls \
        libgcrypt.so:security/libgcrypt \
        libgpg-error.so:security/libgpg-error \
        libfontconfig.so:x11-fonts/fontconfig \
        libfreetype.so:print/freetype2

USES=       gettext-tools gmake gnome libtool pkgconfig tar:bzip2 xfce
USE_GNOME=  cairo glib20 gtk20 intlhack intltool
USE_XFCE=   panel
USE_XORG=   x11

GNU_CONFIGURE=  yes
INSTALLS_ICONS= yes
INSTALL_TARGET= install-strip

OPTIONS_DEFINE=     IPV6 NLS
OPTIONS_SUB=        yes

IPV6_CONFIGURE_ENABLE=  ipv6

NLS_CONFIGURE_ENABLE=   nls
NLS_USES=       gettext-runtime

post-patch:
    ${REINPLACE_CMD} -e 's|xfce-mail|mail-send|' \
        ${WRKSRC}/panel-plugin/mailwatch-plugin.c

.include <bsd.port.mk>