aboutsummaryrefslogtreecommitdiffstats
path: root/converters/pdf2djvu/Makefile
blob: dabe773b786dbdd1ae673f861c5eb9dda519303d (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
28
# Created by: Denise H. G. <darcsis@gmail.com>
# $FreeBSD$

PORTNAME=   pdf2djvu
PORTVERSION=    0.7.21
PORTREVISION=   1
CATEGORIES= converters
MASTER_SITES=   https://bitbucket.org/jwilk/pdf2djvu/downloads/

MAINTAINER= darcsis@gmail.com
COMMENT=    Pdf2djvu creates DjVu files from PDF files

LICENSE=    GPLv2

BUILD_DEPENDS=  ${LOCALBASE}/include/pstreams/pstream.h:${PORTSDIR}/devel/pstreams
LIB_DEPENDS=    libpoppler.so:${PORTSDIR}/graphics/poppler \
        libdjvulibre.so:${PORTSDIR}/graphics/djvulibre

GNU_CONFIGURE=  yes
USES=       compiler:c++11-lang gmake pkgconfig tar:xz

PLIST_FILES=    bin/pdf2djvu man/man1/pdf2djvu.1.gz

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
    ${INSTALL_MAN}  ${WRKSRC}/doc/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1

.include <bsd.port.mk>