1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00
freebsd-ports/deskutils/calcurse/Makefile
Newton Terry b74095c628 deskutils/calcurse: Update to 4.7.1
PR:		251807
Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D31910
2021-09-20 10:04:09 +02:00

48 lines
1.3 KiB
Makefile

# Created by: Herbert J. Skuhra <h.skuhra@gmail.com>
PORTNAME= calcurse
DISTVERSION= 4.7.1
CATEGORIES= deskutils
MASTER_SITES= https://calcurse.org/files/ \
https://fossies.org/linux/privat/
MAINTAINER= ports@FreeBSD.org
COMMENT= Text-based calendar and scheduling application
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
USES= ncurses shebangfix
SHEBANG_FILES= contrib/caldav/calcurse-caldav \
contrib/caldav/calcurse-caldav.py \
contrib/vdir/calcurse-vdir \
contrib/vdir/calcurse-vdir.py
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --without-asciidoc
OPTIONS_DEFINE= CALDAV DOCS NLS
OPTIONS_DEFAULT=CALDAV
OPTIONS_SUB= yes
CALDAV_DESC= Support Calendaring Extensions to WebDAV
CALDAV_USES= python:3.6+
CALDAV_USES_OFF= python:3.6+,env
CALDAV_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}httplib2>=0:www/py-httplib2@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}oauth2client>=0:security/py-oauth2client@${PY_FLAVOR}
DOCS_USES= gmake
DOCS_CONFIGURE_ENABLE= docs
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
post-patch:
@${REINPLACE_CMD} -e 's|^docdir = .*|docdir = ${DOCSDIR}|' ${WRKSRC}/doc/Makefile.in
@${REINPLACE_CMD} -e 's|-R$$found_dir||' ${WRKSRC}/configure
post-install:
${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1/${PORTNAME}.1
.include <bsd.port.mk>