From owner-svn-ports-all@FreeBSD.ORG Sun Jun 30 14:49:56 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 028F1B44; Sun, 30 Jun 2013 14:49:56 +0000 (UTC) (envelope-from ak@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 E995910B1; Sun, 30 Jun 2013 14:49:55 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r5UEntMJ021280; Sun, 30 Jun 2013 14:49:55 GMT (envelope-from ak@svn.freebsd.org) Received: (from ak@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r5UEntdk021274; Sun, 30 Jun 2013 14:49:55 GMT (envelope-from ak@svn.freebsd.org) Message-Id: <201306301449.r5UEntdk021274@svn.freebsd.org> From: Alex Kozlov Date: Sun, 30 Jun 2013 14:49:55 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r322088 - head/graphics/nomacs X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Jun 2013 14:49:56 -0000 Author: ak Date: Sun Jun 30 14:49:55 2013 New Revision: 322088 URL: http://svnweb.freebsd.org/changeset/ports/322088 Log: - Update to 1.2.0 - Add RAW option - Convert to USES=desktop-file-utils PR: ports/177733 (based on) Submitted by: Jens K. Loewe (maintainer) Modified: head/graphics/nomacs/Makefile head/graphics/nomacs/distinfo head/graphics/nomacs/pkg-plist Modified: head/graphics/nomacs/Makefile ============================================================================== --- head/graphics/nomacs/Makefile Sun Jun 30 14:43:56 2013 (r322087) +++ head/graphics/nomacs/Makefile Sun Jun 30 14:49:55 2013 (r322088) @@ -1,10 +1,10 @@ # $FreeBSD$ PORTNAME= nomacs -PORTVERSION= 1.0.0 +PORTVERSION= 1.2.0 CATEGORIES= graphics MASTER_SITES= SF/nomacs/nomacs-${PORTVERSION}/ -DISTNAME= ${PORTNAME}-${PORTVERSION} +DISTNAME= ${PORTNAME}-${PORTVERSION}-source MAINTAINER= bsd@tuxproject.de COMMENT= Small, fast and free image viewer @@ -15,19 +15,29 @@ LIB_DEPENDS= exiv2:${PORTSDIR}/graphics/ sysinfo:${PORTSDIR}/devel/libsysinfo USE_BZIP2= yes -USES= cmake +USES= cmake desktop-file-utils USE_QT4= gui network linguist_build moc_build \ qmake_build rcc_build uic_build LDFLAGS+= -lsysinfo -lkvm WRKTOP= ${WRKDIR} -WRKSUBDIR= ${PORTNAME}-${PORTVERSION} +WRKSUBDIR= ${DISTNAME:S,-source,,} WRKSRC= ${WRKTOP}/${WRKSUBDIR} -CMAKE_ARGS+= -DENABLE_RAW=0 MAN1= nomacs.1 +OPTIONS_DEFINE= RAW +OPTIONS_DEFAULT= RAW +RAW_DESC= RAW images support + +.include + +.if ${PORT_OPTIONS:MRAW} +LIB_DEPENDS+= raw:${PORTSDIR}/graphics/libraw \ + opencv_legacy:${PORTSDIR}/graphics/opencv +.else +CMAKE_ARGS+= -DENABLE_RAW=0 +.endif + post-extract: - @cd ${WRKSRC}/ &&\ - ${REINPLACE_CMD} -e 's|share/man/man1|man/man1|' \ - CMakeLists.txt + @${REINPLACE_CMD} -e 's|share/man/man1|man/man1|' ${WRKSRC}/CMakeLists.txt .include Modified: head/graphics/nomacs/distinfo ============================================================================== --- head/graphics/nomacs/distinfo Sun Jun 30 14:43:56 2013 (r322087) +++ head/graphics/nomacs/distinfo Sun Jun 30 14:49:55 2013 (r322088) @@ -1,2 +1,2 @@ -SHA256 (nomacs-1.0.0.tar.bz2) = bf2a0a9ecb35551dc8ed25c0db95c1183b3771a2ce9e2a41d7e1d230bac2c5f2 -SIZE (nomacs-1.0.0.tar.bz2) = 803404 +SHA256 (nomacs-1.2.0-source.tar.bz2) = 0c60e5d17a7f3d17f33344b59440dad2bac0358fd1fae85b48574f2c61674259 +SIZE (nomacs-1.2.0-source.tar.bz2) = 859335 Modified: head/graphics/nomacs/pkg-plist ============================================================================== --- head/graphics/nomacs/pkg-plist Sun Jun 30 14:43:56 2013 (r322087) +++ head/graphics/nomacs/pkg-plist Sun Jun 30 14:49:55 2013 (r322088) @@ -2,16 +2,19 @@ bin/nomacs share/applications/nomacs.desktop %%DATADIR%%/translations/nomacs_als.qm %%DATADIR%%/translations/nomacs_az.qm +%%DATADIR%%/translations/nomacs_cs.qm %%DATADIR%%/translations/nomacs_de.qm %%DATADIR%%/translations/nomacs_en.qm %%DATADIR%%/translations/nomacs_es.qm +%%DATADIR%%/translations/nomacs_it.qm %%DATADIR%%/translations/nomacs_pl.qm +%%DATADIR%%/translations/nomacs_pt.qm %%DATADIR%%/translations/nomacs_ru.qm +%%DATADIR%%/translations/nomacs_sl.qm %%DATADIR%%/translations/nomacs_sk.qm +%%DATADIR%%/translations/nomacs_sr.qm %%DATADIR%%/translations/nomacs_zh.qm share/pixmaps/nomacs.png @dirrm %%DATADIR%%/translations @dirrm %%DATADIR%% @dirrmtry share/applications -@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true -@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true