aboutsummaryrefslogblamecommitdiff
path: root/textproc/pdfgrep/Makefile
blob: 6d70334f28cecb65c4b6c40e7fcf4b9b9e66e584 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                                
           

                       
                     
                 
                        
                                             

                                 
                                                
 
                     
 
                                              
 

                                                                                                           
                   
                                                  

                                                                                      


                                                           

                      
# Created by: Michael Ranner <michael@ranner.eu>
# $FreeBSD$

PORTNAME=	pdfgrep
PORTVERSION=	1.4.1
PORTREVISION=	4
CATEGORIES=	textproc
MASTER_SITES=	https://pdfgrep.org/download/

MAINTAINER=	michael@ranner.eu
COMMENT=	Tool to search text in PDF files

LICENSE=	GPLv2

LIB_DEPENDS=	libpoppler.so:graphics/poppler

BROKEN_powerpc64=	fails to link: pdfgrep.cc: undefined reference to poppler::set_debug_error_function

GNU_CONFIGURE=	yes
USES=		compiler:c++11-lib gmake pkgconfig
CONFIGURE_ARGS=	poppler_CFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/poppler"

PLIST_FILES=	bin/pdfgrep man/man1/pdfgrep.1.gz \
		share/bash-completion/completions/pdfgrep \
		share/zsh/site-functions/_pdfgrep

.include <bsd.port.mk>