Tweak deskutils/nagaina version 0.1.2_10
[dports.git] / deskutils / orage / Makefile
1 # Created by: Matt Lancereau <matt@rimasec.net>
2 # $FreeBSD$
3
4 PORTNAME=       orage
5 PORTVERSION=    4.12.1
6 PORTREVISION=   1
7 CATEGORIES=     deskutils xfce
8 MASTER_SITES=   XFCE/src/apps/${PORTNAME}/${PORTVERSION:R}/
9 DIST_SUBDIR=    xfce4
10
11 MAINTAINER=     xfce@FreeBSD.org
12 COMMENT=        Calendar application for the Xfce Desktop
13
14 LICENSE=        GPLv2
15 LICENSE_FILE=   ${WRKSRC}/COPYING
16
17 LIB_DEPENDS=    libpopt.so:${PORTSDIR}/devel/popt \
18         libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib \
19         libical.so:${PORTSDIR}/devel/libical
20
21 GNU_CONFIGURE=  yes
22 INSTALLS_ICONS= yes
23 USES=           pkgconfig libtool gettext desktop-file-utils gmake \
24         xfce tar:bzip2
25 USE_GNOME=      gtk20 intltool intlhack
26 USE_XFCE=       panel
27
28 OPTIONS_DEFINE= NOTIFY
29 OPTIONS_DEFAULT=        NOTIFY
30 NOTIFY_LIB_DEPENDS=     libnotify.so:${PORTSDIR}/devel/libnotify
31 NOTIFY_CONFIGURE_ENABLE=        libnotify
32
33 CFLAGS+=        -I${LOCALBASE}/include/libical
34
35 CONFIGURE_ARGS= --enable-dbus
36
37 post-patch:
38         @${REINPLACE_CMD} -e 's|(datadir)/orage/doc/C|(datadir)/doc/orage/C|' \
39                 ${WRKSRC}/doc/C/Makefile.in \
40                 ${WRKSRC}/doc/C/images/Makefile.in
41
42 .include <bsd.port.mk>