From owner-svn-ports-head@FreeBSD.ORG Thu Feb 28 16:41:44 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 0A8E594D; Thu, 28 Feb 2013 16:41:44 +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 D824CCE; Thu, 28 Feb 2013 16:41:43 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r1SGfhTf065798; Thu, 28 Feb 2013 16:41:43 GMT (envelope-from amdmi3@svn.freebsd.org) Received: (from amdmi3@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id r1SGfhgD065797; Thu, 28 Feb 2013 16:41:43 GMT (envelope-from amdmi3@svn.freebsd.org) Message-Id: <201302281641.r1SGfhgD065797@svn.freebsd.org> From: Dmitry Marakasov Date: Thu, 28 Feb 2013 16:41:43 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r313111 - head/graphics/geeqie 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:41:44 -0000 Author: amdmi3 Date: Thu Feb 28 16:41:43 2013 New Revision: 313111 URL: http://svnweb.freebsd.org/changeset/ports/313111 Log: - OptionsNG - Trim header Modified: head/graphics/geeqie/Makefile Modified: head/graphics/geeqie/Makefile ============================================================================== --- head/graphics/geeqie/Makefile Thu Feb 28 16:38:18 2013 (r313110) +++ head/graphics/geeqie/Makefile Thu Feb 28 16:41:43 2013 (r313111) @@ -1,9 +1,5 @@ -# New ports collection makefile for: graphics/geeqie -# Date created: 17 May 2008 -# Whom: Martin Tournoij -# +# Created by: Martin Tournoij # $FreeBSD$ -# PORTNAME= geeqie PORTVERSION= 1.1 @@ -32,28 +28,30 @@ PORTDOCS= * MAN1= geeqie.1 USE_GETTEXT= yes -OPTIONS= EXIV2 "Metadata editing" on \ - LCMS "Color adjusting" on \ - LIRC "Remote control" off \ - GPS "GPS map support (libchamplain) EXPERIMENTAL" off +OPTIONS_DEFINE= EXIV2 LCMS LIRC GPS DOCS +OPTIONS_DEFAULT=EXIV2 LCMS +EXIV2_DESC= Metadata editing +LCMS_DESC= Color adjusting +LIRC_DESC= Remote control +GPS_DESC= GPS map support (libchamplain) EXPERIMENTAL -.include +.include -.if defined(WITH_EXIV2) +.if ${PORT_OPTIONS:MEXIV2} LIB_DEPENDS+= exiv2.12:${PORTSDIR}/graphics/exiv2 CONFIGURE_ARGS+=--enable-exiv2 .else CONFIGURE_ARGS+=--disable-exiv2 .endif -.if defined(WITH_LCMS) +.if ${PORT_OPTIONS:MLCMS} LIB_DEPENDS+= lcms.1:${PORTSDIR}/graphics/lcms CONFIGURE_ARGS+=--enable-lcms .else CONFIGURE_ARGS+=--disable-lcms .endif -.if defined(WITH_LIRC) +.if ${PORT_OPTIONS:MLIRC} LIB_DEPENDS+= lirc_client.2:${PORTSDIR}/comms/lirc CONFIGURE_ARGS+=--enable-lirc .else @@ -61,7 +59,7 @@ CONFIGURE_ARGS+=--disable-lirc .endif # Support for libchamplain is marked as experimental! -.if defined(WITH_GPS) +.if ${PORT_OPTIONS:MGPS} LIB_DEPENDS+= champlain-0.8.1:${PORTSDIR}/graphics/libchamplain CONFIGURE_ARGS+=--enable-gps .else @@ -74,11 +72,11 @@ post-patch: # I cannot get gnome-doc-tool working properly: Outputs gibberish @${REINPLACE_CMD} -Ee '/^(SUBDIRS|DIST_SUBDIRS)/ s|doc||' \ ${WRKSRC}/Makefile.in -.if defined(NOPORTDOCS) +.if ! ${PORT_OPTIONS:MDOCS} @${REINPLACE_CMD} -e '/^install-data-am:/ s|install-helpDATA||' \ ${WRKSRC}/doc/Makefile.in @${REINPLACE_CMD} -e '/^install-data-am:/,/^[a-z]/ s|install-readmeDATA||' \ ${WRKSRC}/Makefile.in .endif -.include +.include