freebsd-ports/deskutils/orage/Makefile

61 lines
1.4 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: xfce4-calendar
# Date created: 2003-01-14
# Whom: Matt Lancereau <matt@rimasec.net>
#
# $FreeBSD$
#
PORTNAME= orage
PORTVERSION= 4.8.1
CATEGORIES= deskutils xfce
MASTER_SITES= ${MASTER_SITE_XFCE}
MASTER_SITE_SUBDIR=/src/apps/${PORTNAME}/${PORTVERSION:R}
DIST_SUBDIR= xfce4
MAINTAINER= oliver@FreeBSD.org
COMMENT= A calendar application to manage your time with XFce 4
LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt
GNU_CONFIGURE= yes
INSTALLS_ICONS= yes
USE_BZIP2= yes
USE_GETTEXT= yes
USE_GMAKE= yes
USE_GNOME= gtk20 intltool intlhack pkgconfig
USE_XFCE= configenv libgui panel
USE_XORG= xext xrender xinerama xi xrandr xcursor xcomposite xdamage x11 \
xfixes
LDFLAGS+= -L${LOCALBASE}/lib
OPTIONS= BDB "Enable BDB support" off \
ICAL "Enable libical support" off
MAN1= globaltime.1 orage.1 tz_convert.1
.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
CFLAGS+= -I${LOCALBASE}/include/libical
PLIST_SUB+= WITH_ICAL="@comment "
.else
CONFIGURE_ARGS+=--disable-libical
PLIST_SUB+= WITH_ICAL=""
.endif
2007-02-05 21:11:49 +01:00
post-patch:
.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
.include <bsd.port.post.mk>