diff options
author | mm <mm@FreeBSD.org> | 2012-12-31 18:49:52 +0800 |
---|---|---|
committer | mm <mm@FreeBSD.org> | 2012-12-31 18:49:52 +0800 |
commit | 8fb4a7f3ab56137426c2609ba1fb961341e34fc0 (patch) | |
tree | 90a777fd8234cb4f3af8a4c1f0fdfbab5c7571d4 /converters | |
parent | c1d1f5c85c8313305f35b99a9351f0df7236fe23 (diff) | |
download | freebsd-ports-gnome-8fb4a7f3ab56137426c2609ba1fb961341e34fc0.tar.gz freebsd-ports-gnome-8fb4a7f3ab56137426c2609ba1fb961341e34fc0.tar.zst freebsd-ports-gnome-8fb4a7f3ab56137426c2609ba1fb961341e34fc0.zip |
Update some of my ports to new options framework
Submitted by: Baptiste Daroussin <bapt@FreeBSD.org>
Diffstat (limited to 'converters')
-rw-r--r-- | converters/wkhtmltopdf/Makefile | 12 |
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 \ |