Hi, pdfgrep has a testsuite based on devel/dejagnu now. Unfortunately, some patches are necessary to make tests work on OpenBSD.
I put pledge(2) calls into the source code, too. Regards, Reinhold Straub Index: Makefile =================================================================== RCS file: /cvs/ports/textproc/pdfgrep/Makefile,v retrieving revision 1.3 diff -u -p -r1.3 Makefile --- Makefile 25 Aug 2015 16:28:04 -0000 1.3 +++ Makefile 15 Jan 2016 08:27:49 -0000 @@ -1,8 +1,8 @@ -# $OpenBSD: Makefile,v 1.3 2015/08/25 16:28:04 jca Exp $ +# $OpenBSD: Makefile,v 1.4 2015/08/25 16:28:04 jca Exp $ COMMENT = tool to search text in PDF files -DISTNAME = pdfgrep-1.4.0 +DISTNAME = pdfgrep-1.4.1 CATEGORIES = textproc @@ -13,15 +13,16 @@ MAINTAINER = Reinhold Straub <demarchie #GPLv2+ PERMIT_PACKAGE_CDROM = Yes -MODULES = gcc4 -MODGCC4_ARCHS = * -MODGCC4_LANGS = c++ +MODULES = gcc4 +MODGCC4_ARCHS = * +MODGCC4_LANGS = c++ -WANTLIB += c m pthread stdc++ poppler-cpp pcre +WANTLIB += c m pthread poppler-cpp pcre MASTER_SITES = https://pdfgrep.org/download/ LIB_DEPENDS = print/poppler +TEST_DEPENDS = devel/dejagnu print/texlive/base CONFIGURE_ENV = LDFLAGS="-L${X11BASE}/lib" CONFIGURE_STYLE = gnu Index: distinfo =================================================================== RCS file: /cvs/ports/textproc/pdfgrep/distinfo,v retrieving revision 1.2 diff -u -p -r1.2 distinfo --- distinfo 25 Aug 2015 16:28:04 -0000 1.2 +++ distinfo 15 Jan 2016 08:27:49 -0000 @@ -1,2 +1,2 @@ -SHA256 (pdfgrep-1.4.0.tar.gz) = MwwRG5GpIRbVpnZsGx0i3NeVkonXNHHZNEsLBHX8quI= -SIZE (pdfgrep-1.4.0.tar.gz) = 125269 +SHA256 (pdfgrep-1.4.1.tar.gz) = 2wSiEOa7e3fNbFSxfw9v7Q0SOoX5elQbJwc2pdOEDyw= +SIZE (pdfgrep-1.4.1.tar.gz) = 151926
patches.tar.gz
Description: Binary data