blob: 79d225b44b688a1a2c0a7ff5b48df70c64eb7697 (
plain) (
blame)
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
37
38
39
40
41
|
# New ports collection makefile for: pdf2djvu
# Date created: 7 Mar 2008
# Whom: Denise H. G. <darcsis@gmail.com>
#
# $FreeBSD$
#
PORTNAME= pdf2djvu
PORTVERSION= 0.4.5.1
PORTREVISION= 1
CATEGORIES= converters
MASTER_SITES= http://pdf2djvu.googlecode.com/files/
DISTNAME= ${PORTNAME}_${PORTVERSION}a${EXTRACT_SUFFIX}
MAINTAINER= darcsis@gmail.com
COMMENT= Pdf2djvu creates DjVu files from PDF files
BUILD_DEPENDS= ${LOCALBASE}/include/pstreams/pstream.h:${PORTSDIR}/devel/pstreams
LIB_DEPENDS= poppler.3:${PORTSDIR}/graphics/poppler
USE_GMAKE= yes
PLIST_FILES= bin/pdf2djvu
.if exists(${LOCALBASE}/bin/djview)
DJVU_DIR?= # empty
.else
DJVU_DIR?= -nox11
.endif
LIB_DEPENDS+= djvulibre.20:${PORTSDIR}/graphics/djvulibre${DJVU_DIR}
MAN1= pdf2djvu.1
MANCOMPRESSED= no
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 ${MANPREFIX}/man/man1
.include <bsd.port.mk>
|