Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Mar 2013 19:30:29 +0000 (UTC)
From:      Beech Rintoul <beech@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r313286 - head/graphics/nomacs
Message-ID:  <201303021930.r22JUTud012291@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: beech
Date: Sat Mar  2 19:30:29 2013
New Revision: 313286
URL: http://svnweb.freebsd.org/changeset/ports/313286

Log:
  - Update to 1.0.0
  
  PR:		ports/176454
  Submitted by:	"Jens K. Loewe" <bsd@tuxproject.de> (maintainer)

Modified:
  head/graphics/nomacs/Makefile
  head/graphics/nomacs/distinfo
  head/graphics/nomacs/pkg-plist

Modified: head/graphics/nomacs/Makefile
==============================================================================
--- head/graphics/nomacs/Makefile	Sat Mar  2 18:55:21 2013	(r313285)
+++ head/graphics/nomacs/Makefile	Sat Mar  2 19:30:29 2013	(r313286)
@@ -1,10 +1,10 @@
 # $FreeBSD$
 
 PORTNAME=	nomacs
-PORTVERSION=	0.4.0
+PORTVERSION=	1.0.0
 CATEGORIES=	graphics
 MASTER_SITES=	SF/nomacs/nomacs-${PORTVERSION}/
-DISTNAME=	${PORTNAME}-${PORTVERSION}-source
+DISTNAME=	${PORTNAME}-${PORTVERSION}
 
 MAINTAINER=	bsd@tuxproject.de
 COMMENT=	Small, fast and free image viewer
@@ -14,13 +14,20 @@ LICENSE=	GPLv3
 LIB_DEPENDS=	exiv2:${PORTSDIR}/graphics/exiv2 \
 		sysinfo:${PORTSDIR}/devel/libsysinfo
 
-USE_ZIP=	yes
+USE_BZIP2=	yes
 USE_CMAKE=	yes
 USE_QT4=	gui network linguist_build moc_build \
 		qmake_build rcc_build uic_build
 LDFLAGS+=	-lsysinfo -lkvm
-# no RAW support for now.
+WRKTOP=		${WRKDIR}
+WRKSUBDIR=	${PORTNAME}-${PORTVERSION}
+WRKSRC=		${WRKTOP}/${WRKSUBDIR}
 CMAKE_ARGS+=	-DENABLE_RAW=0
-NO_WRKSUBDIR=	yes
+MAN1=		nomacs.1
+
+post-extract:
+	@cd ${WRKSRC}/ &&\
+	${REINPLACE_CMD} -e 's|share/man/man1|man/man1|' \
+		CMakeLists.txt
 
 .include <bsd.port.mk>

Modified: head/graphics/nomacs/distinfo
==============================================================================
--- head/graphics/nomacs/distinfo	Sat Mar  2 18:55:21 2013	(r313285)
+++ head/graphics/nomacs/distinfo	Sat Mar  2 19:30:29 2013	(r313286)
@@ -1,2 +1,2 @@
-SHA256 (nomacs-0.4.0-source.zip) = 3432d55d4de23c365912f0c796deb2e25184efdbd8a81304f15914e3fe4da2c7
-SIZE (nomacs-0.4.0-source.zip) = 1112306
+SHA256 (nomacs-1.0.0.tar.bz2) = bf2a0a9ecb35551dc8ed25c0db95c1183b3771a2ce9e2a41d7e1d230bac2c5f2
+SIZE (nomacs-1.0.0.tar.bz2) = 803404

Modified: head/graphics/nomacs/pkg-plist
==============================================================================
--- head/graphics/nomacs/pkg-plist	Sat Mar  2 18:55:21 2013	(r313285)
+++ head/graphics/nomacs/pkg-plist	Sat Mar  2 19:30:29 2013	(r313286)
@@ -1,11 +1,17 @@
 bin/nomacs
 share/applications/nomacs.desktop
-share/nomacs/translations/nomacs_als.qm
-share/nomacs/translations/nomacs_de.qm
-share/nomacs/translations/nomacs_en.qm
-share/nomacs/translations/nomacs_ru.qm
-share/nomacs/translations/nomacs_zh.qm
+%%DATADIR%%/translations/nomacs_als.qm
+%%DATADIR%%/translations/nomacs_az.qm
+%%DATADIR%%/translations/nomacs_de.qm
+%%DATADIR%%/translations/nomacs_en.qm
+%%DATADIR%%/translations/nomacs_es.qm
+%%DATADIR%%/translations/nomacs_pl.qm
+%%DATADIR%%/translations/nomacs_ru.qm
+%%DATADIR%%/translations/nomacs_sk.qm
+%%DATADIR%%/translations/nomacs_zh.qm
 share/pixmaps/nomacs.png
-@dirrm share/nomacs/translations
-@dirrm share/nomacs
+@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303021930.r22JUTud012291>