2012-12-09 10:17:27 +01:00
|
|
|
# Created by: Herbert J. Skuhra <h.skuhra@gmail.com>
|
2005-11-02 21:59:24 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2010-06-05 23:36:58 +02:00
|
|
|
PORTNAME= calcurse
|
2020-01-06 13:43:39 +01:00
|
|
|
PORTVERSION= 4.5.1
|
2010-06-05 23:36:58 +02:00
|
|
|
CATEGORIES= deskutils
|
2019-09-09 16:44:58 +02:00
|
|
|
MASTER_SITES= https://calcurse.org/files/
|
2005-11-02 21:59:24 +01:00
|
|
|
|
2010-10-20 07:53:20 +02:00
|
|
|
MAINTAINER= culot@FreeBSD.org
|
2012-12-09 10:17:27 +01:00
|
|
|
COMMENT= Text-based calendar and scheduling application
|
2005-11-02 21:59:24 +01:00
|
|
|
|
2014-02-28 11:11:47 +01:00
|
|
|
LICENSE= BSD2CLAUSE
|
2018-02-02 11:48:07 +01:00
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
2011-08-05 16:53:02 +02:00
|
|
|
|
2018-02-02 11:48:07 +01:00
|
|
|
OPTIONS_DEFINE= CALDAV DOCS NLS
|
|
|
|
OPTIONS_DEFAULT=CALDAV
|
2014-07-24 17:21:59 +02:00
|
|
|
OPTIONS_SUB= yes
|
2005-11-02 21:59:24 +01:00
|
|
|
|
2017-07-27 18:25:11 +02:00
|
|
|
USES= gmake ncurses shebangfix
|
2018-02-02 11:48:07 +01:00
|
|
|
SHEBANG_FILES= contrib/caldav/calcurse-caldav \
|
2019-09-09 16:44:58 +02:00
|
|
|
contrib/caldav/calcurse-caldav.py \
|
|
|
|
contrib/vdir/calcurse-vdir \
|
|
|
|
contrib/vdir/calcurse-vdir.py
|
2012-07-13 12:12:41 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2014-02-28 11:11:47 +01:00
|
|
|
CONFIGURE_ARGS= --without-asciidoc
|
2006-08-28 19:41:26 +02:00
|
|
|
|
2014-07-24 17:21:59 +02:00
|
|
|
DOCS_CONFIGURE_ENABLE= docs
|
|
|
|
NLS_CONFIGURE_ENABLE= nls
|
|
|
|
NLS_USES= gettext
|
2005-11-02 21:59:24 +01:00
|
|
|
|
2018-02-02 11:48:07 +01:00
|
|
|
CALDAV_DESC= Support Calendaring Extensions to WebDAV
|
|
|
|
CALDAV_USES= python:3.4+
|
|
|
|
CALDAV_USES_OFF= python:3.4+,env
|
|
|
|
CALDAV_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}httplib2>=0:www/py-httplib2@${PY_FLAVOR} \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}oauth2client>=0:security/py-oauth2client@${PY_FLAVOR}
|
|
|
|
|
2011-05-31 15:12:16 +02:00
|
|
|
post-patch:
|
2012-07-13 12:12:41 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|^docdir = .*|docdir = ${DOCSDIR}|' ${WRKSRC}/doc/Makefile.in
|
2014-07-24 17:21:59 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|-R$$found_dir||' ${WRKSRC}/configure
|
2011-09-12 14:37:24 +02:00
|
|
|
|
|
|
|
post-install:
|
2014-02-28 11:11:47 +01:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1/${PORTNAME}.1
|
2011-05-31 15:12:16 +02:00
|
|
|
|
2007-10-04 02:24:54 +02:00
|
|
|
.include <bsd.port.mk>
|