aboutsummaryrefslogtreecommitdiffstats
path: root/print/qpdf/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'print/qpdf/Makefile')
-rw-r--r--print/qpdf/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/print/qpdf/Makefile b/print/qpdf/Makefile
new file mode 100644
index 000000000000..faf392c84bfd
--- /dev/null
+++ b/print/qpdf/Makefile
@@ -0,0 +1,27 @@
+# Created by: Dmitry Kazarov <d.y.kazarov@mail.ru>
+# $FreeBSD$
+
+PORTNAME= qpdf
+PORTVERSION= 4.0.0
+CATEGORIES= print
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTNAME}/${PORTVERSION}
+
+MAINTAINER= d.y.kazarov@mail.ru
+COMMENT= Command-line tools for transforming and inspecting PDF files
+
+BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash
+LIB_DEPENDS= pcre:${PORTSDIR}/devel/pcre
+
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+USE_LDCONFIG= yes
+
+MAN1= fix-qdf.1 qpdf.1 zlib-flate.1
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|/bin/bash|${LOCALBASE}/bin/bash|' \
+ -e 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|g' \
+ ${WRKSRC}/make/libtool.mk
+
+.include <bsd.port.mk>