freebsd-ports/textproc/xlhtml/Makefile
Fernando Apesteguía 8144cb9250 textproc/xlhtml: Fix build with '-fno-common'
Fix build with '-fno-common', default of GCC 10 and Clang 11

While here, pet linters.

PR:	248774
Submitted by:	yasu@utahime.org
2020-08-21 10:49:35 +00:00

35 lines
724 B
Makefile

# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
# $FreeBSD$
PORTNAME= xlhtml
PORTVERSION= 0.5
PORTREVISION= 5
PORTEPOCH= 1
CATEGORIES= textproc
MASTER_SITES= SF/chicago/${PORTNAME}/backend
MAINTAINER= ports@FreeBSD.org
COMMENT= Convert Excel and PowerPoint files to HTML and text
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= autoreconf gmake tar:tgz
GNU_CONFIGURE= yes
OPTIONS_DEFINE= DOCS
post-build:
@${STRIP_CMD} ${WRKSRC}/xlhtml/xlhtml
@${STRIP_CMD} ${WRKSRC}/ppthtml/ppthtml
post-install-DOCS-on:
.for dir in xlhtml ppthtml
@${MKDIR} ${STAGEDIR}${DOCSDIR}/${dir}
cd ${WRKSRC}/${dir} && \
${INSTALL_DATA} ChangeLog README THANKS \
${STAGEDIR}${DOCSDIR}/${dir}
.endfor
.include <bsd.port.mk>