summaryrefslogtreecommitdiffstats
path: root/converters/pdf2djvu/Makefile
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2009-10-11 18:40:04 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2009-10-11 18:40:04 +0800
commit7bb859f8c227efe0d2e4ad899225ab7ef492f5ae (patch)
tree66969ec9ff8d1b195a767e2cc5b7731a675bff8b /converters/pdf2djvu/Makefile
parentb80fb24a5dac679822b1454a1593871bb0ae0e8d (diff)
downloadmarcuscom-ports-7bb859f8c227efe0d2e4ad899225ab7ef492f5ae.tar
marcuscom-ports-7bb859f8c227efe0d2e4ad899225ab7ef492f5ae.tar.gz
marcuscom-ports-7bb859f8c227efe0d2e4ad899225ab7ef492f5ae.tar.bz2
marcuscom-ports-7bb859f8c227efe0d2e4ad899225ab7ef492f5ae.tar.lz
marcuscom-ports-7bb859f8c227efe0d2e4ad899225ab7ef492f5ae.tar.xz
marcuscom-ports-7bb859f8c227efe0d2e4ad899225ab7ef492f5ae.tar.zst
marcuscom-ports-7bb859f8c227efe0d2e4ad899225ab7ef492f5ae.zip
I was too fast with removing this port.
While its true the new version builds with poppler 0.12. The port doesn't take into account the slib bump. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@13108 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'converters/pdf2djvu/Makefile')
-rw-r--r--converters/pdf2djvu/Makefile37
1 files changed, 37 insertions, 0 deletions
diff --git a/converters/pdf2djvu/Makefile b/converters/pdf2djvu/Makefile
new file mode 100644
index 000000000..a5f913645
--- /dev/null
+++ b/converters/pdf2djvu/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: pdf2djvu
+# Date created: 7 Mar 2008
+# Whom: Denise H. G. <darcsis@gmail.com>
+#
+# $FreeBSD: ports/converters/pdf2djvu/Makefile,v 1.12 2009/09/19 12:48:57 miwi Exp $
+#
+
+PORTNAME= pdf2djvu
+PORTVERSION= 0.5.11
+PORTREVISION= 1
+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.5:${PORTSDIR}/graphics/poppler
+LIB_DEPENDS+= djvulibre.22:${PORTSDIR}/graphics/djvulibre-nox11
+
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= LIBS=${PTHREAD_LIBS} \
+ CPPFLAGS=-I${LOCALBASE}/include
+USE_GMAKE= yes
+
+PLIST_FILES= bin/pdf2djvu
+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>