aboutsummaryrefslogtreecommitdiffstats
path: root/print/qpdf/Makefile
blob: faf392c84bfd4a743c389f1a802a96429329d6fb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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>