36 lines
923 B
Makefile
36 lines
923 B
Makefile
# New ports collection makefile for: pdf2djvu
|
|
# Date created: 7 Mar 2008
|
|
# Whom: Denise H. G. <darcsis@gmail.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= pdf2djvu
|
|
PORTVERSION= 0.4.12
|
|
PORTREVISION= 3
|
|
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
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/pstreams/pstream.h:${PORTSDIR}/devel/pstreams
|
|
LIB_DEPENDS= poppler.4:${PORTSDIR}/graphics/poppler
|
|
|
|
USE_GMAKE= yes
|
|
PLIST_FILES= bin/pdf2djvu
|
|
|
|
LIB_DEPENDS+= djvulibre.22:${PORTSDIR}/graphics/djvulibre-nox11
|
|
|
|
MAKE_ENV= LDLIBS="${LDFLAGS} ${PTHREAD_LIBS}"
|
|
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>
|