From owner-svn-ports-head@FreeBSD.ORG Sun Aug 19 14:20:02 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8FA88106566B; Sun, 19 Aug 2012 14:20:02 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 79CA78FC08; Sun, 19 Aug 2012 14:20:02 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q7JEK26w093837; Sun, 19 Aug 2012 14:20:02 GMT (envelope-from madpilot@svn.freebsd.org) Received: (from madpilot@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q7JEK2m7093835; Sun, 19 Aug 2012 14:20:02 GMT (envelope-from madpilot@svn.freebsd.org) Message-Id: <201208191420.q7JEK2m7093835@svn.freebsd.org> From: Guido Falsi Date: Sun, 19 Aug 2012 14:20:02 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r302760 - head/graphics/viewnior X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.5 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: Sun, 19 Aug 2012 14:20:02 -0000 Author: madpilot Date: Sun Aug 19 14:20:01 2012 New Revision: 302760 URL: http://svn.freebsd.org/changeset/ports/302760 Log: - Convert to OptionsNG - Don't depend on intltool and pkgconfig - Remove INSTALL from PORTDOCS - Bump PORTREVISION PR: ports/170751 Submitted by: nemysis (maintainer) Approved by: crees (mentor) Modified: head/graphics/viewnior/Makefile (contents, props changed) Modified: head/graphics/viewnior/Makefile ============================================================================== --- head/graphics/viewnior/Makefile Sun Aug 19 13:19:48 2012 (r302759) +++ head/graphics/viewnior/Makefile Sun Aug 19 14:20:01 2012 (r302760) @@ -7,6 +7,7 @@ PORTNAME= viewnior PORTVERSION= 1.3 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= http://cloud.github.com/downloads/xsisqox/Viewnior/ @@ -21,29 +22,31 @@ RUN_DEPENDS= update-mime-database:${PORT GNU_CONFIGURE= yes USE_AUTOTOOLS= autoconf USE_GMAKE= yes -USE_GNOME= glib20 gtk20 intltool pkgconfig +USE_GNOME= glib20 gtk20 INSTALLS_ICONS= yes MAN1= viewnior.1 -PORTDOCS= AUTHORS ChangeLog INSTALL NEWS README TODO +PORTDOCS= AUTHORS ChangeLog NEWS README TODO -OPTIONS= NLS "Enable gettext support" on +OPTIONS_DEFINE= NLS +NLS_DESC= Native Language Support via gettext +OPTIONS_DEFAULT= NLS .include -.if defined(WITHOUT_NLS) -CONFIGURE_ARGS+= --disable-nls -PLIST_SUB+= NLS="@comment " -.else +.if ${PORT_OPTIONS:MNLS} USE_GETTEXT= yes PLIST_SUB+= NLS="" +.else +CONFIGURE_ARGS+= --disable-nls +PLIST_SUB+= NLS="@comment " .endif post-install: ${INSTALL_MAN} ${WRKSRC}/man/${MAN1} ${MAN1PREFIX}/man/man1 -# Documentations -.if !defined(NOPORTDOCS) +# Documentation +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} . for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}