cf649469f2
Add patches to py-poppler [2] and rubygem-poppler [3] to fix the build of these ports with poppler 0.39+. PR: 206293 [1] Submitted by: olivierd@ [1] Obtained from: ubuntu [2], rubygem-poppler upstream [3]
28 lines
791 B
Makefile
28 lines
791 B
Makefile
# 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>
|