1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/deskutils/calcurse/Makefile
Adam Weinberger 607beea795 Fix build with NLS enabled by removing unnecessary gcc-ism.
While here, use OPTIONS helpers to avoid including bsd.port.options.mk.
2014-07-24 15:21:59 +00:00

33 lines
750 B
Makefile

# Created by: Herbert J. Skuhra <h.skuhra@gmail.com>
# $FreeBSD$
PORTNAME= calcurse
PORTVERSION= 3.2.1
CATEGORIES= deskutils
MASTER_SITES= http://calcurse.org/files/
MAINTAINER= culot@FreeBSD.org
COMMENT= Text-based calendar and scheduling application
LICENSE= BSD2CLAUSE
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
USES= gmake
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --without-asciidoc
DOCS_CONFIGURE_ENABLE= docs
NLS_CONFIGURE_ENABLE= nls
NLS_USES= gettext
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>