1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00
freebsd-ports/textproc/htmldoc/Makefile
Baptiste Daroussin 7d4cd56213 Fix htmldoc after r523104
htmldoc was using the MANDIRS variable which was never made to be:
1/ unique
2/ used directly inside ports

Now that the ${PREFIX}/share/man (which is the default target of the htmldoc
build system for manpages) is valid, there is no need anyway to workaround it
2020-01-15 20:51:46 +00:00

52 lines
1.1 KiB
Makefile

# Created by: Glenn Trewitt <glenn@trewitt.org>
# $FreeBSD$
PORTNAME= htmldoc
PORTVERSION= 1.9.3
PORTREVISION= 1
DISTVERSIONPREFIX= v
CATEGORIES= textproc
MAINTAINER= jose@diasfernandes.pt
COMMENT= Converts HTML to PDF and/or PostScript
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN_mips= Complains of expecting ) before png_ptr
LIB_DEPENDS= libpng.so:graphics/png
USES= compiler:c11
USE_GITHUB= yes
GH_ACCOUNT= michaelrsweet
HAS_CONFIGURE= yes
OPTIONS_DEFINE= HTMLDOCGUI GNUTLS
OPTIONS_DEFAULT= GNUTLS
HTMLDOCGUI_DESC= Build GUI front-end
HTMLDOCGUI_CONFIGURE_WITH= gui=yes
HTMLDOCGUI_LIB_DEPENDS= libfltk.so:x11-toolkits/fltk \
libfontconfig.so:x11-fonts/fontconfig
HTMLDOCGUI_USES= xorg
HTMLDOCGUI_USE= XORG=x11,xrender,xcursor,xfixes \
xext,xft,xinerama jpeg
GNUTLS_CONFIGURE_ENABLE= gnutls
GNUTLS_USES= pkgconfig
GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls
.include <bsd.port.pre.mk>
# Fix arm64 build
.if ${ARCH} == "aarch64"
pre-build:
${REINPLACE_CMD} -e '/PNG_FILTER_OPTIMIZATIONS(pp, bpp);/d' ${WRKSRC}/png/pngrutil.c
.endif
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/htmldoc
.include <bsd.port.post.mk>