# $MidnightBSD$
# $FreeBSD: head/deskutils/simpleagenda/Makefile 383626 2015-04-09 07:44:41Z bapt $

PORTNAME=	simpleagenda
PORTVERSION=	0.43
PORTREVISION=	1
CATEGORIES=	deskutils gnustep
MASTER_SITES=	http://coyote.octets.fr/pub/gnustep/
DISTNAME=	SimpleAgenda-${PORTVERSION}

MAINTAINER=	ports@MidnightBSD.org
COMMENT=	simple calendar and agenda application

LIB_DEPENDS+=	libical.so:${PORTSDIR}/devel/libical

LICENSE=	gpl2

USES=		gnustep
USE_GNUSTEP=	back build
GNU_CONFIGURE=	yes

CPPFLAGS+=	-I${LOCALBASE}/include
CFLAGS+=	-I${LOCALBASE}/include

pre-configure:
	${REINPLACE_CMD} -e 's|SimpleAgenda|SimpleAgenda.m|' ${WRKSRC}/configure
	${REINPLACE_CMD} -e 's|-luuid||' ${WRKSRC}/GNUmakefile.preamble

.include <bsd.port.mk>
