View | Details | Raw Unified | Return to bug 238780 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-5 / +13 lines)
Lines 2-8 Link Here
2
2
3
PORTNAME=	pdf2djvu
3
PORTNAME=	pdf2djvu
4
PORTVERSION=	0.9.12
4
PORTVERSION=	0.9.12
5
PORTREVISION=	5
5
PORTREVISION=	6
6
CATEGORIES=	converters
6
CATEGORIES=	converters
7
MASTER_SITES=	https://github.com/jwilk/${PORTNAME}/releases/download/${PORTVERSION}/
7
MASTER_SITES=	https://github.com/jwilk/${PORTNAME}/releases/download/${PORTVERSION}/
8
8
Lines 15-22 Link Here
15
LIB_DEPENDS=	libdjvulibre.so:graphics/djvulibre \
15
LIB_DEPENDS=	libdjvulibre.so:graphics/djvulibre \
16
		libpoppler.so:graphics/poppler
16
		libpoppler.so:graphics/poppler
17
17
18
USES=		autoreconf:build compiler:c++11-lang gettext-tools \
18
USES=		autoreconf:build gettext-tools gmake \
19
		gmake iconv localbase pkgconfig tar:xz
19
		iconv localbase pkgconfig tar:xz
20
USE_CXXSTD=	c++11
20
USE_CXXSTD=	c++11
21
21
22
GNU_CONFIGURE=	yes
22
GNU_CONFIGURE=	yes
Lines 26-32 Link Here
26
OPTIONS_SUB=	yes
26
OPTIONS_SUB=	yes
27
27
28
COLOR_QUANTIZATION_DESC=Color quantization via GraphicsMagick++
28
COLOR_QUANTIZATION_DESC=Color quantization via GraphicsMagick++
29
DOCS=			Generate the man page
29
DOCS_DESC=		Generate the man page
30
NLS_DESC=		Native Language Support via gettext utilities
30
NLS_DESC=		Native Language Support via gettext utilities
31
MULTITHREADING_DESC=	Multithreading support via OpenMP
31
MULTITHREADING_DESC=	Multithreading support via OpenMP
32
XMP_DESC=		XMP metadata support via Exiv2
32
XMP_DESC=		XMP metadata support via Exiv2
Lines 48-53 Link Here
48
XMP_CONFIGURE_ENABLE=	xmp
48
XMP_CONFIGURE_ENABLE=	xmp
49
XMP_LIB_DEPENDS=	libexiv2.so:graphics/exiv2
49
XMP_LIB_DEPENDS=	libexiv2.so:graphics/exiv2
50
50
51
.include <bsd.port.pre.mk>
52
53
.if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} || ${ARCH} == sparc64
54
USES+=		compiler:gcc-c++11-lib
55
.else
56
USES+=		compiler:c++11-lang
57
.endif
58
51
pre-configure:
59
pre-configure:
52
	@cd ${WRKSRC} && ${SH} ${FILESDIR}/bootstrap
60
	@cd ${WRKSRC} && ${SH} ${FILESDIR}/bootstrap
53
61
Lines 57-60 Link Here
57
post-install:
65
post-install:
58
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
66
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
59
67
60
.include <bsd.port.mk>
68
.include <bsd.port.post.mk>

Return to bug 238780