freebsd-ports/textproc/xmlroff/Makefile
Baptiste Daroussin b5b1e7b393 Drop support for the deprecated gnomeprint
While here update to 0.6.3
2019-12-26 21:36:12 +00:00

38 lines
929 B
Makefile

# Created by: James Earl
# $FreeBSD$
PORTNAME= xmlroff
PORTVERSION= 0.6.3
DISTVERSIONPREFIX= v
CATEGORIES= textproc
MAINTAINER= hrs@FreeBSD.org
COMMENT= XSL formatter that produces PDF and PostScript
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= libfo>=0.6.2:textproc/libfo
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= autoreconf gmake gnome gettext localbase libtool pkgconfig
USE_GITHUB= yes
USE_GNOME= libartlgpl2 pango glib20 \
libxslt libxml2 gdkpixbuf2
GH_ACCOUNT= xmlroff
GH_PROJECT= xmlroff
WRKSRC_SUBDIR= ${PORTNAME}
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc --enable-man \
--disable-gp
INSTALL_TARGET= install-strip
OPTIONS_DEFINE= DOCS
DOCS_CONFIGURE_ENABLE= gtk-doc
DOCS_BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/gtk-doc.pc:textproc/gtk-doc
post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/docs/Makefile.am
.include <bsd.port.mk>