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

PORTNAME=   xfce4-mailwatch-plugin
PORTVERSION=    1.1.0
PORTREVISION=   18
CATEGORIES= mail xfce
MASTER_SITES=   http://spuriousinterrupt.org/files/mailwatch/ \
        http://freebsd.unixfreunde.de/sources/
DIST_SUBDIR=    xfce4

MAINTAINER= xfce@FreeBSD.org
COMMENT=    A mailwatch plugin for Xfce

LIB_DEPENDS=    gnutls.26:${PORTSDIR}/security/gnutls \
        gcrypt:${PORTSDIR}/security/libgcrypt

USE_BZIP2=  yes
USE_GMAKE=  yes
INSTALLS_ICONS= yes
USES=       gettext pathfix
GNU_CONFIGURE=  yes
USE_GNOME=  gtk20 intltool intlhack
USE_XFCE=   configenv libgui libutil panel
USE_XORG=   x11 xt xaw

post-patch:
    @${REINPLACE_CMD} -e 's|--libs "libxfce4panel-1.0"|& "libxfcegui4-1.0"|g; \
        s|--cflags "libxfce4panel-1.0"|& "libxfcegui4-1.0"|g' \
        ${WRKSRC}/configure
post-configure:
    @${REINPLACE_CMD} -e 's|-lgnutls|-lgnutls -lgcrypt|g' \
        ${WRKSRC}/panel-plugin/Makefile

.include <bsd.port.mk>