blob: e53bab8524af7ea996f1c84c680a6ee319f76f24 (
plain)
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
29
30
31
32
33
34
35
36
|
# $NetBSD: Makefile,v 1.32 2015/07/15 15:09:39 wiz Exp $
#
DISTNAME= pdf2djvu_0.7.14
PKGNAME= ${DISTNAME:S/_/-/}
PKGREVISION= 16
CATEGORIES= print
MASTER_SITES= http://pdf2djvu.googlecode.com/files/
MAINTAINER= ryoon@NetBSD.org
HOMEPAGE= http://code.google.com/p/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++ c
USE_TOOLS+= pkg-config gmake intltool msgfmt xgettext gsed:run
TOOLS_DEPENDS.gsed= gsed>=4.2:../../textproc/gsed
CONFIGURE_ARGS+= --localedir=${PREFIX}/${PKGLOCALEDIR}/locale
.include "../../mk/bsd.prefs.mk"
.if !empty(MACHINE_PLATFORM:MNetBSD-5*) || ${OPSYS} == "MirBSD"
BUILDLINK_TRANSFORM+= rm:-Werror=overloaded-virtual
.endif
.include "../../graphics/djvulibre-lib/buildlink3.mk"
.include "../../print/poppler/buildlink3.mk"
.include "../../print/poppler-includes/buildlink3.mk"
.include "../../textproc/libxslt/buildlink3.mk"
.include "../../graphics/GraphicsMagick/buildlink3.mk"
.include "../../devel/pstreams/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|