Date: Wed, 20 Feb 2013 17:35:16 +0000 (UTC) From: Max Brazhnikov <makc@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r312633 - head/graphics/qiviewer Message-ID: <201302201735.r1KHZGQq062356@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: makc Date: Wed Feb 20 17:35:15 2013 New Revision: 312633 URL: http://svnweb.freebsd.org/changeset/ports/312633 Log: Convert to new options framework PR: ports/175838 Submitted by: Veniamin Gvozdikov (maintainer) Modified: head/graphics/qiviewer/Makefile (contents, props changed) Modified: head/graphics/qiviewer/Makefile ============================================================================== --- head/graphics/qiviewer/Makefile Wed Feb 20 17:31:31 2013 (r312632) +++ head/graphics/qiviewer/Makefile Wed Feb 20 17:35:15 2013 (r312633) @@ -1,9 +1,5 @@ -# New ports collection makefile for: qiviewer -# Date created: 2011-04-02 -# Whom: Gvozdikov Veniamin <g.veniamin@googlemail.com> -# +# Created by: Gvozdikov Veniamin <g.veniamin@googlemail.com> # $FreeBSD$ -# PORTNAME= qiviewer PORTVERSION= 0.5.0 @@ -32,12 +28,16 @@ PLIST_DIRS= share/qiviewer/locale \ WRKSRC= ${WRKDIR}/${PORTNAME}/src -OPTIONS= WEBP "Support for WebP image format (experimental)" off +OPTIONS_DEFINE= WEBP +WEBP_DESC= Support for WebP image format (experimental) -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if !defined(WITHOUT_WEBP) +.if ${PORT_OPTIONS:MWEBP} QMAKEFLAGS+= CONFIG+=enable-webp +PLIST_SUB+= WEBP="" +.else +PLIST_SUB+= WEBP="@comment " .endif do-configure: @@ -47,4 +47,4 @@ post-configure: ${REINPLACE_CMD} -e 's|lrelease|lrelease-qt4|g' \ ${WRKSRC}/Makefile -.include <bsd.port.post.mk> +.include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302201735.r1KHZGQq062356>