From owner-svn-ports-head@FreeBSD.ORG Thu Feb 28 16:32:27 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 5F637D1C; Thu, 28 Feb 2013 16:32:27 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 51911FBD; Thu, 28 Feb 2013 16:32:27 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r1SGWRRZ062390; Thu, 28 Feb 2013 16:32:27 GMT (envelope-from amdmi3@svn.freebsd.org) Received: (from amdmi3@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id r1SGWRGa062389; Thu, 28 Feb 2013 16:32:27 GMT (envelope-from amdmi3@svn.freebsd.org) Message-Id: <201302281632.r1SGWRGa062389@svn.freebsd.org> From: Dmitry Marakasov Date: Thu, 28 Feb 2013 16:32:27 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r313107 - head/graphics/nvidia-texture-tools X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Feb 2013 16:32:27 -0000 Author: amdmi3 Date: Thu Feb 28 16:32:26 2013 New Revision: 313107 URL: http://svnweb.freebsd.org/changeset/ports/313107 Log: - OptionsNG - Trim header Modified: head/graphics/nvidia-texture-tools/Makefile Modified: head/graphics/nvidia-texture-tools/Makefile ============================================================================== --- head/graphics/nvidia-texture-tools/Makefile Thu Feb 28 16:31:58 2013 (r313106) +++ head/graphics/nvidia-texture-tools/Makefile Thu Feb 28 16:32:26 2013 (r313107) @@ -1,9 +1,5 @@ -# New ports collection makefile for: nvidia-texture-tools -# Date created: 06 Mar 2009 -# Whom: Dmitry Marakasov -# +# Created by: Dmitry Marakasov # $FreeBSD$ -# PORTNAME= nvidia-texture-tools DISTVERSION= 2.0.8-1 @@ -31,11 +27,12 @@ WRKSRC= ${WRKDIR}/${PORTNAME} PORTDOCS= NVIDIA_Texture_Tools_README.txt ChangeLog -OPTIONS= COMPRESSUI "Build compressor UI (requires Qt4)" off +OPTIONS_DEFINE= COMPRESSUI DOCS +COMPRESSUI_DESC=Build compressor UI (requires Qt4) .include -.if defined(WITH_COMPRESSUI) +.if ${PORT_OPTIONS:MCOMPRESSUI} # *_build stuff is not really needed, but cmake's Qt finder won't work otherwise USE_QT4= qmake_build moc_build uic_build rcc_build corelib gui opengl PLIST_SUB+= COMPRESSUI="" @@ -52,7 +49,7 @@ BROKEN= does not build post-patch: @${REINPLACE_CMD} -e '/OPENEXR_LIBRARIES/ s|)$$| $${CMAKE_THREAD_LIBS_INIT}&|' \ ${WRKSRC}/src/nvimage/CMakeLists.txt -.if defined(WITH_COMPRESSUI) +.if ${PORT_OPTIONS:MCOMPRESSUI} @${REINPLACE_CMD} -e '/FIND_PACKAGE.*Qt4/ s|)$$| REQUIRED&|' \ ${WRKSRC}/src/CMakeLists.txt .else @@ -60,7 +57,7 @@ post-patch: ${WRKSRC}/src/CMakeLists.txt .endif -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} post-install: ${MKDIR} ${DOCSDIR} .for f in ${PORTDOCS}