aboutsummaryrefslogtreecommitdiffstats
path: root/print/qpdf/Makefile
blob: 936a509e127c56df18932ec604d3ffec5aa2091b (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=    5.1.1
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

LICENSE=    ART20

BUILD_DEPENDS=  bash:${PORTSDIR}/shells/bash
LIB_DEPENDS=    libpcre.so:${PORTSDIR}/devel/pcre

GNU_CONFIGURE=  yes
USE_LDCONFIG=   yes
USES=       gmake

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>