freebsd-ports/textproc/xmlroff/Makefile
Koop Mast 951c1f5d1c The FreeBSD GNOME team proudly presents GNOME 3.28 for FreeBSD.
The offical GNOME 3.28 release notes can be found at
https://help.gnome.org/misc/release-notes/3.28/

Thanks to Antoine Brodin for running the exp-runs.

PR:		229761
2018-09-30 11:58:29 +00:00

37 lines
932 B
Makefile

# Created by: James Earl
# $FreeBSD$
PORTNAME= xmlroff
PORTVERSION= 0.6.2
DISTVERSIONPREFIX= v
PORTREVISION= 7
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 libtool pkgconfig
USE_GITHUB= yes
USE_GNOME= libgnomeprint 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
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>