mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
563f73ccfe
Make sure we use openjpeg1 in poppler, while openjpeg2 support was added there still bugs in openjpeg2 that need to be fixed. Add patches to inkscape for API changes in poppler 0.29.0 [2]. PR: 196599 [1] Submitted by: olivierd@ [1] Exp-run by: antoine@ Obtained from: upstream [2]
38 lines
958 B
Makefile
38 lines
958 B
Makefile
# Created by: Denise H. G. <darcsis@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pdf2djvu
|
|
PORTVERSION= 0.7.17
|
|
PORTREVISION= 4
|
|
CATEGORIES= converters
|
|
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}${EXTRACT_SUFFIX}
|
|
|
|
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
|
|
|
|
PLIST_FILES= bin/pdf2djvu man/man1/pdf2djvu.1.gz
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${OSVERSION} < 900014
|
|
FAVORITE_COMPILER= gcc
|
|
.endif
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|