Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Sep 2014 10:09:09 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r368737 - head/graphics/nip2
Message-ID:  <201409211009.s8LA99CR092672@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Sun Sep 21 10:09:08 2014
New Revision: 368737
URL: http://svnweb.freebsd.org/changeset/ports/368737
QAT: https://qat.redports.org/buildarchive/r368737/

Log:
  - Update to version 7.40.4
  - Make heavy dependencies optional
  
  PR:		ports/193327
  Submitted by:	tkato432@yahoo.com

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

Modified: head/graphics/nip2/Makefile
==============================================================================
--- head/graphics/nip2/Makefile	Sun Sep 21 09:51:18 2014	(r368736)
+++ head/graphics/nip2/Makefile	Sun Sep 21 10:09:08 2014	(r368737)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	nip2
-PORTVERSION=	7.40.3
-PORTREVISION=	6
+PORTVERSION=	7.40.4
 CATEGORIES=	graphics
 MASTER_SITES=	http://www.vips.ecs.soton.ac.uk/supported/${PORTVERSION:R}/
 
@@ -13,10 +12,7 @@ COMMENT=	Graphical user interface for VI
 LICENSE=	GPLv2
 
 BUILD_DEPENDS=	xdg-open:${PORTSDIR}/devel/xdg-utils
-LIB_DEPENDS=	libgoffice-*.so:${PORTSDIR}/devel/goffice \
-		libgvc.so:${PORTSDIR}/graphics/graphviz \
-		libvips.so:${PORTSDIR}/graphics/vips \
-		libgsl.so:${PORTSDIR}/math/gsl
+LIB_DEPENDS=	libvips.so:${PORTSDIR}/graphics/vips
 RUN_DEPENDS=	xdg-open:${PORTSDIR}/devel/xdg-utils
 
 USES=		bison desktop-file-utils dos2unix gettext gmake pkgconfig \
@@ -24,12 +20,27 @@ USES=		bison desktop-file-utils dos2unix
 DOS2UNIX_GLOB=	*.def
 USE_GNOME=	gnomemimedata gtk20 libxml2
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--disable-update-desktop \
-		--without-goffice
+CONFIGURE_ARGS=	--disable-update-desktop
 
 SUB_FILES=	run-nip2.sh
 
-OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFINE=		DOCS FFTW GOFFICE GRAPHVIZ GSF GSL
+OPTIONS_DEFAULT=	FFTW GOFFICE GRAPHVIZ GSF GSL
+
+FFTW_LIB_DEPENDS=	libfftw3.so:${PORTSDIR}/math/fftw3
+FFTW_CONFIGURE_WITH=	fftw3
+GOFFICE_DESC=		Use libgoffice to show plots
+GOFFICE_LIB_DEPENDS=	libgoffice-*.so:${PORTSDIR}/devel/goffice
+GOFFICE_CONFIGURE_WITH=	libgoffice
+GRAPHVIZ_DESC=		Use libgvc to show workspace dependency graphs
+GRAPHVIZ_LIB_DEPENDS=	libgvc.so:${PORTSDIR}/graphics/graphviz
+GRAPHVIZ_CONFIGURE_WITH=	libgvc
+GSF_DESC=		Use libgsf to save plots to files
+GSF_USE=		gnome=libgsf
+GSF_CONFIGURE_WITH=	libgsf
+GSL_DESC=		Use gsl for numeric functions
+GSL_LIB_DEPENDS=	libgsl.so:${PORTSDIR}/math/gsl
+GSL_CONFIGURE_WITH=	gsl
 
 post-patch:
 	@${REINPLACE_CMD} -e \

Modified: head/graphics/nip2/distinfo
==============================================================================
--- head/graphics/nip2/distinfo	Sun Sep 21 09:51:18 2014	(r368736)
+++ head/graphics/nip2/distinfo	Sun Sep 21 10:09:08 2014	(r368737)
@@ -1,2 +1,2 @@
-SHA256 (nip2-7.40.3.tar.gz) = 75dd68b7e316d1da9275a97a53456345641111e9fd1deeee29c5c7be5bd85fce
-SIZE (nip2-7.40.3.tar.gz) = 9639656
+SHA256 (nip2-7.40.4.tar.gz) = a9629a93d181bce37c2fbd6786490da9bfecc5e592c5d17b2a41aa45ec713302
+SIZE (nip2-7.40.4.tar.gz) = 10935470

Modified: head/graphics/nip2/pkg-plist
==============================================================================
--- head/graphics/nip2/pkg-plist	Sun Sep 21 09:51:18 2014	(r368736)
+++ head/graphics/nip2/pkg-plist	Sun Sep 21 10:09:08 2014	(r368737)
@@ -271,7 +271,7 @@ share/mime/packages/nip2.xml
 %%DATADIR%%/compat/7.9/_stdenv.def
 %%DATADIR%%/compat/7.9/_types.def
 %%DATADIR%%/data/AdobeRGB1998.icc
-%%DATADIR%%/data/HP5000_UVDuraImageGlossMaxQ.icc
+%%DATADIR%%/data/cmyk.icm
 %%DATADIR%%/data/examples/1_point_mosaic/1pt_mosaic.ws
 %%DATADIR%%/data/examples/1_point_mosaic/cd1.1.jpg
 %%DATADIR%%/data/examples/1_point_mosaic/cd1.2.jpg



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