1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/textproc/libfo/Makefile
Tobias C. Berner 9e0e8d17a4 Prefer graphics/ligvrsvg2-rust over graphics/librsvg2
- switch to the more modern version of librsvg2 on architectures
  supporting rust
- this will fix some graphical issues on these architectures

PR:		250276
Exp-run by:	antoine
Submitted by:	tobik
Differential Revision:	https://reviews.freebsd.org/D18878
2020-11-09 17:08:12 +00:00

40 lines
944 B
Makefile

# $FreeBSD$
PORTNAME= libfo
PORTVERSION= 0.6.3
DISTVERSIONPREFIX= v
PORTREVISION= 1
CATEGORIES= textproc
MAINTAINER= hrs@FreeBSD.org
COMMENT= XSL formatter library for xmlroff
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${LOCALBASE}/share/xsl/docbook/catalog.xml:textproc/docbook-xsl \
xmlcatmgr:textproc/xmlcatmgr
LIB_DEPENDS= libcairo.so:graphics/cairo \
libfreetype.so:print/freetype2
CONFLICTS_INSTALL= xmlroff-0.6.[12] xmlroff-0.6.2_[12345]
USES= autoreconf gettext gmake gnome localbase libtool pathfix pkgconfig
USE_GNOME= libxslt libxml2 gtk20 glib20 pango \
librsvg2 gdkpixbuf2
USE_GITHUB= yes
GH_PROJECT= xmlroff
GH_ACCOUNT= xmlroff
USE_LDCONFIG= yes
WRKSRC_SUBDIR= xmlroff
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-gtk-doc \
--disable-gp
INSTALL_TARGET= install-strip
post-patch:
${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' \
${WRKSRC}/libfo/fo-libfo-basic.h
.include <bsd.port.mk>