pkgsrc/print/pdf2djvu/Makefile

31 lines
966 B
Makefile

# $NetBSD: Makefile,v 1.90 2020/11/21 09:34:57 wiz Exp $
DISTNAME= pdf2djvu-0.9.13
PKGREVISION= 10
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_GITHUB:=jwilk/}
GITHUB_RELEASE= ${PKGVERSION_NOREV}
EXTRACT_SUFX= .tar.xz
MAINTAINER= ryoon@NetBSD.org
HOMEPAGE= https://jwilk.net/software/pdf2djvu
COMMENT= Creates DjVu files from PDF files
LICENSE= gnu-gpl-v2
DEPENDS+= djvulibre-tools-[0-9]*:../../graphics/djvulibre-tools
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
GNU_CONFIGURE= yes
USE_PKGLOCALEDIR= yes
USE_LANGUAGES= c++
USE_TOOLS+= pkg-config gmake intltool msgfmt xgettext
CONFIGURE_ARGS+= --localedir=${PREFIX}/${PKGLOCALEDIR}/locale
CONFIGURE_ARGS+= --disable-rpath
.include "../../converters/libiconv/buildlink3.mk"
.include "../../graphics/GraphicsMagick/buildlink3.mk"
.include "../../graphics/djvulibre-lib/buildlink3.mk"
.include "../../print/poppler-includes/buildlink3.mk"
.include "../../print/poppler/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"