2007-01-22 17:51:02 +01:00
|
|
|
# New ports collection makefile for: xfce4-calendar
|
|
|
|
# Date created: 2003-01-14
|
|
|
|
# Whom: Matt Lancereau <matt@rimasec.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= orage
|
2011-03-03 11:12:30 +01:00
|
|
|
PORTVERSION= 4.8.1
|
2007-01-22 17:51:02 +01:00
|
|
|
CATEGORIES= deskutils xfce
|
2007-10-26 00:53:28 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_XFCE}
|
2011-03-03 11:12:30 +01:00
|
|
|
MASTER_SITE_SUBDIR=/src/apps/${PORTNAME}/${PORTVERSION:R}
|
2007-01-22 17:51:02 +01:00
|
|
|
DIST_SUBDIR= xfce4
|
|
|
|
|
|
|
|
MAINTAINER= oliver@FreeBSD.org
|
|
|
|
COMMENT= A calendar application to manage your time with XFce 4
|
|
|
|
|
2011-03-03 11:12:30 +01:00
|
|
|
LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt
|
|
|
|
|
2007-01-22 17:51:02 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
INSTALLS_ICONS= yes
|
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
USE_GMAKE= yes
|
2011-08-11 21:20:17 +02:00
|
|
|
USE_GNOME= gtk20 intltool intlhack pkgconfig
|
2009-03-02 17:51:57 +01:00
|
|
|
USE_XFCE= configenv libgui panel
|
2008-03-09 15:54:59 +01:00
|
|
|
USE_XORG= xext xrender xinerama xi xrandr xcursor xcomposite xdamage x11 \
|
|
|
|
xfixes
|
2011-09-24 00:26:39 +02:00
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2007-01-22 17:51:02 +01:00
|
|
|
|
|
|
|
OPTIONS= BDB "Enable BDB support" off \
|
|
|
|
ICAL "Enable libical support" off
|
|
|
|
|
2011-03-03 11:12:30 +01:00
|
|
|
MAN1= globaltime.1 orage.1 tz_convert.1
|
2009-03-02 17:51:57 +01:00
|
|
|
|
2007-01-22 17:51:02 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if defined(WITH_BDB)
|
|
|
|
CONFIGURE_ARGS+=--with-bdb4=yes --with-bdb4_dir=${LOCALBASE}
|
|
|
|
USE_BDB= 40
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--with-bdb4=no
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_ICAL)
|
2010-05-22 07:56:51 +02:00
|
|
|
LIB_DEPENDS+= ical.44:${PORTSDIR}/devel/libical
|
2011-09-24 00:26:39 +02:00
|
|
|
CFLAGS+= -I${LOCALBASE}/include/libical
|
2011-03-07 10:55:49 +01:00
|
|
|
PLIST_SUB+= WITH_ICAL="@comment "
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-libical
|
|
|
|
PLIST_SUB+= WITH_ICAL=""
|
2007-01-22 17:51:02 +01:00
|
|
|
.endif
|
|
|
|
|
2007-02-05 21:11:49 +01:00
|
|
|
post-patch:
|
2007-02-06 16:32:08 +01:00
|
|
|
.if !defined(WITH_ICAL)
|
|
|
|
@${REINPLACE_CMD} -e 's|libical-|no-&|g' ${WRKSRC}/configure
|
|
|
|
.endif
|
2007-02-05 21:11:49 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|echo aout|echo elf|g' ${WRKSRC}/configure
|
|
|
|
|
2007-01-22 17:51:02 +01:00
|
|
|
.include <bsd.port.post.mk>
|