aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/orage/Makefile
blob: 293bf4a3d2c6bb4e7439b1948a2f0c9b6e9ea2f2 (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
51
52
# Created by: Matt Lancereau <matt@rimasec.net>
# $FreeBSD$

PORTNAME=   orage
PORTVERSION=    4.12.1
PORTREVISION=   10
CATEGORIES= deskutils xfce
MASTER_SITES=   XFCE/apps
DIST_SUBDIR=    xfce4

MAINTAINER= xfce@FreeBSD.org
COMMENT=    Calendar application for the Xfce Desktop

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/COPYING

LIB_DEPENDS=    libpopt.so:devel/popt \
        libdbus-glib-1.so:devel/dbus-glib \
        libdbus-1.so:devel/dbus \
        libical.so:devel/libical \
        libfontconfig.so:x11-fonts/fontconfig \
        libfreetype.so:print/freetype2

USES=       desktop-file-utils gettext gmake gnome libtool pkgconfig \
        tar:bzip2 xfce:gtk2 xorg
USE_GNOME=  cairo gtk20 intltool
USE_XFCE=   panel
USE_XORG=   x11

GNU_CONFIGURE=  yes
INSTALLS_ICONS= yes
CFLAGS+=    -I${LOCALBASE}/include/libical
CONFIGURE_ARGS= --enable-dbus

PORTSCOUT=  limitw:1,even

OPTIONS_DEFINE=     NLS NOTIFY
OPTIONS_DEFAULT=    NOTIFY
OPTIONS_SUB=        yes

NLS_CONFIGURE_ENABLE=   nls
NLS_USES=       gettext-runtime

NOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify
NOTIFY_CONFIGURE_ENABLE=libnotify

post-patch:
    @${REINPLACE_CMD} -e 's|(datadir)/orage/doc/C|(datadir)/doc/orage/C|' \
        ${WRKSRC}/doc/C/Makefile.in \
        ${WRKSRC}/doc/C/images/Makefile.in

.include <bsd.port.mk>