aboutsummaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2012-12-31 10:49:52 +0000
committerMartin Matuska <mm@FreeBSD.org>2012-12-31 10:49:52 +0000
commit9b3f7519c31c023890ef01e36365dc9cbb7545dc (patch)
tree90a777fd8234cb4f3af8a4c1f0fdfbab5c7571d4 /converters
parentead143c069f5b1ee866d0873586b0604674751db (diff)
downloadports-9b3f7519c31c023890ef01e36365dc9cbb7545dc.tar.gz
ports-9b3f7519c31c023890ef01e36365dc9cbb7545dc.zip
Notes
Diffstat (limited to 'converters')
-rw-r--r--converters/wkhtmltopdf/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/converters/wkhtmltopdf/Makefile b/converters/wkhtmltopdf/Makefile
index c01cd6ac5912..b0387e693542 100644
--- a/converters/wkhtmltopdf/Makefile
+++ b/converters/wkhtmltopdf/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: tnef
-# Date created: 21 March 2010
-# Whom: Martin Matuska <mm@FreeBSD.org>
-#
+# Created by: Martin Matuska <mm@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= wkhtmltopdf
DISTVERSION= 0.11.0_rc1
@@ -28,10 +24,12 @@ USE_XORG= x11 xext xrender
USE_PERL5_BUILD= yes
USE_LDCONFIG= yes
USE_GMAKE= yes
+USE_PKGCONFIG= build
HAS_CONFIGURE= yes
MAKE_JOBS_SAFE= yes
-OPTIONS= BUNDLED_LIBS "Use Qt-bundled jpeg, mng, png and tiff" off
+OPTIONS_DEFINE= BUNDLED_LIBS
+BUNDLED_LIBS_DESC= Use Qt-bundled jpeg, mng, png and tiff
LICENSE= LGPL3
LICENSE_FILE_LGPL3= ${INSTALL_WRKSRC}/COPYING
@@ -63,7 +61,7 @@ BROKEN= fails to extract on FreeBSD 7.X
BROKEN= Does not link on powerpc
.endif
-.if defined(WITH_BUNDLED_LIBS)
+.if ${PORT_OPTIONS:MBUNDLED_LIBS}
CONFIGURE_ARGS+= -qt-libtiff -qt-libpng -qt-libmng -qt-libjpeg
.else
LIB_DEPENDS+= jpeg:${PORTSDIR}/graphics/jpeg \