Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Mar 2014 02:19:22 +0200 (EET)
From:      Johannes Jost Meixner <xmj@chaot.net>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        xmj@chaot.net
Subject:   ports/187884: [PATCH] science/minc: update to 2.2.00
Message-ID:  <2351988852760774032.enqueue@mx12.chaot.net>
Resent-Message-ID: <201403240020.s2O0K0QZ094887@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         187884
>Category:       ports
>Synopsis:       [PATCH] science/minc: update to 2.2.00
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 24 00:20:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Johannes Jost Meixner
>Release:        FreeBSD 11.0-CURRENT amd64
>Organization:
Goldener Grund OUe
>Environment:
System: FreeBSD mx12.chaot.net 11.0-CURRENT FreeBSD 11.0-CURRENT #6: Wed Mar 19 11:02:48 EET 2014
>Description:
- Update to 2.2.00

Generated with FreeBSD Port Tools 1.00.2014.03.22 (mode: update, diff: SVN)
>How-To-Repeat:
>Fix:

--- minc-2.2.00.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 348913)
+++ Makefile	(working copy)
@@ -11,28 +11,31 @@
 # Of course, the netcdf port must be installed first.
 
 PORTNAME=	minc
-PORTVERSION=	2.0.18
-PORTEPOCH=	1
+PORTVERSION=	2.2.00
 CATEGORIES=	science biology
-MASTER_SITES=	http://packages.bic.mni.mcgill.ca/tgz/ \
-		http://www.nitrc.org/frs/download.php/801/
-PKGNAMESUFFIX=	2
+MASTER_SITES=	http://packages.bic.mni.mcgill.ca/tgz/
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Medical Imaging NetCDF
 
-LICENSE=	BSD
+LICENSE=	MINC
+LICENSE_NAME=	MINC License
+LICENSE_FILE=	${WRKSRC}/COPYING
+LICENSE_PERMS=	dist-mirror pkg-mirror auto-accept
 
-LIB_DEPENDS=	libnetcdf.so.4:${PORTSDIR}/science/netcdf \
-		libhdf5.so.0:${PORTSDIR}/science/hdf5
+LIB_DEPENDS=	libnetcdf.so:${PORTSDIR}/science/netcdf \
+		libhdf5.so:${PORTSDIR}/science/hdf5-18
 
-USE_AUTOTOOLS=	libtool
 USE_LDCONFIG=	yes
-CPPFLAGS+=	${PTHREAD_CFLAGS} -I${LOCALBASE}/include -DH5_USE_16_API
-LDFLAGS+=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}
-CONFIGURE_ARGS=	--enable-shared=yes --enable-static=yes
+USES=		cmake:outsource bison:build shebangfix
+CPPFLAGS+=	${PTHREAD_CFLAGS}
+LDFLAGS+=	${PTHREAD_LIBS}
+CMAKE_ARGS=	-DMINC2_BUILD_SHARED_LIBS:BOOL=YES
 
 CONFLICTS=	minc-1* zh-tk-[0-9]*
-LATEST_LINK=	minc2
+LATEST_LINK?=	minc2
 
+post-install:
+	${CAT} ${PKGMESSAGE}
+
 .include <bsd.port.mk>
Index: distinfo
===================================================================
--- distinfo	(revision 348913)
+++ distinfo	(working copy)
@@ -1,2 +1,2 @@
-SHA256 (minc-2.0.18.tar.gz) = 674cc89c43edfdb1957251c0124ea83252740c667cf3c4d9fc6183dcdb10f3e5
-SIZE (minc-2.0.18.tar.gz) = 1628038
+SHA256 (minc-2.2.00.tar.gz) = e689d3612db6241125e3155d5a5c109d4da6f4bd774cc00a7e6729f2a790a174
+SIZE (minc-2.2.00.tar.gz) = 1665189
Index: files/patch-conversion_minctoecat_machine_indep.c
===================================================================
--- files/patch-conversion_minctoecat_machine_indep.c	(revision 348913)
+++ files/patch-conversion_minctoecat_machine_indep.c	(working copy)
@@ -1,20 +0,0 @@
---- conversion/minctoecat/machine_indep.c.orig	2007-03-29 07:08:46.000000000 +0200
-+++ conversion/minctoecat/machine_indep.c	2014-01-28 22:55:57.000000000 +0100
-@@ -61,7 +61,7 @@
- }
- 
- #if defined(__alpha) || defined(_WIN32) /* LITTLE_ENDIAN : alpha, intel */
--ftovaxf(f, bufr)
-+void ftovaxf(f, bufr)
- float f;
- unsigned short *bufr;
- {
-@@ -84,7 +84,7 @@
- 	bufr[1] =  ret >>16;
- }
- #else  /* BIG ENDIAN : sun hp sgi*/
--ftovaxf(orig,number)
-+void ftovaxf(orig,number)
-   unsigned short number[2];
-   float orig;
- {
Index: pkg-plist
===================================================================
--- pkg-plist	(revision 348913)
+++ pkg-plist	(working copy)
@@ -3,6 +3,7 @@
 bin/invert_raw_image
 bin/minc_modify_header
 bin/mincaverage
+bin/mincblob
 bin/minccalc
 bin/mincconcat
 bin/mincconvert
@@ -20,9 +21,11 @@
 bin/mincmakescalar
 bin/mincmakevector
 bin/mincmath
+bin/mincmorph
 bin/mincpik
 bin/mincresample
 bin/mincreshape
+bin/mincsample
 bin/mincstats
 bin/minctoecat
 bin/minctoraw
@@ -33,11 +36,9 @@
 bin/rawtominc
 bin/transformtags
 bin/upet2mnc
-bin/vff2mnc
 bin/voxeltoworld
 bin/worldtovoxel
 bin/xfmconcat
-bin/xfmflip
 bin/xfminvert
 include/ParseArgv.h
 include/minc.h
@@ -64,52 +65,12 @@
 include/volume_io/volume.h
 include/volume_io/volume_cache.h
 include/voxel_loop.h
-lib/libminc2.a
-lib/libminc2.la
+lib/MINC2Config.cmake
+lib/UseMINC2.cmake
 lib/libminc2.so
 lib/libminc2.so.2
-lib/libvolume_io2.a
-lib/libvolume_io2.la
+lib/libminc2.so.2.2.00
 lib/libvolume_io2.so
 lib/libvolume_io2.so.2
-man/man1/dcm2mnc.1.gz
-man/man1/ecattominc.1.gz
-man/man1/invert_raw_image.1.gz
-man/man1/minc_modify_header.1.gz
-man/man1/mincaverage.1.gz
-man/man1/minccalc.1.gz
-man/man1/mincconcat.1.gz
-man/man1/mincconvert.1.gz
-man/man1/minccopy.1.gz
-man/man1/mincdiff.1.gz
-man/man1/mincedit.1.gz
-man/man1/mincexpand.1.gz
-man/man1/mincextract.1.gz
-man/man1/mincgen.1.gz
-man/man1/mincheader.1.gz
-man/man1/minchistory.1.gz
-man/man1/mincinfo.1.gz
-man/man1/minclookup.1.gz
-man/man1/mincmakescalar.1.gz
-man/man1/mincmakevector.1.gz
-man/man1/mincmath.1.gz
-man/man1/mincpik.1.gz
-man/man1/mincresample.1.gz
-man/man1/mincreshape.1.gz
-man/man1/mincstats.1.gz
-man/man1/minctoecat.1.gz
-man/man1/minctoraw.1.gz
-man/man1/mincview.1.gz
-man/man1/mincwindow.1.gz
-man/man1/mnc2nii.1.gz
-man/man1/nii2mnc.1.gz
-man/man1/rawtominc.1.gz
-man/man1/transformtags.1.gz
-man/man1/upet2mnc.1.gz
-man/man1/vff2mnc.1.gz
-man/man1/voxeltoworld.1.gz
-man/man1/xfmconcat.1.gz
-man/man1/xfmflip.1.gz
-man/man1/xfminvert.1.gz
-man/man3/ParseArgv.3.gz
+lib/libvolume_io2.so.2.2.00
 @dirrm include/volume_io
--- minc-2.2.00.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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