aboutsummaryrefslogblamecommitdiff
path: root/textproc/xmlroff/Makefile
blob: 556bdbe6f3f6f97f8f55281ff66c7e84a43c57ef (plain) (tree)
1
2
3
4
5
6
7
8
9
                        

                       
                     
                 
                         
                        
 
                               

                                                              
                          

                                 

                                           
 
                                                                          
                   
                                          


                                          
                           
                   

                                                                  
                             
 

                               
                                                                                  
 


                                                                                        
                      
# Created by: James Earl

PORTNAME=	xmlroff
PORTVERSION=	0.6.3
PORTREVISION=	2
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>