1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00

- Fix plugins

- Update to 2006.06.30.1332

PR:		ports/103318
Submitted by:	Jason Bacon <bacon@smithers.neuro.mcw.edu> (maintainer)
This commit is contained in:
Pav Lucistnik 2006-09-24 18:24:09 +00:00
parent d5bc897059
commit dfa14d726d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=173732
7 changed files with 263 additions and 140 deletions

View File

@ -16,14 +16,14 @@
# Makefile.BSD, which is included in the source distribution.
PORTNAME= afni
PORTVERSION= 2006.03.21.1314
PORTVERSION= 2006.06.30.1332
CATEGORIES= science biology graphics
MASTER_SITES= http://afni.nimh.nih.gov/pub/dist/tgz/ \
http://www.neuro.mcw.edu/~bacon/Ports/distfiles/AFNI/${PORTVERSION}/
DISTFILES= afni_src.tgz afni_doc.tgz afni.1 Makefile.FreeBSD_PORT \
TTatlas+tlrc.BRIK.gz TTatlas+tlrc.HEAD CA_EZ_v1.3b-Mar1506.tgz
MASTER_SITES= http://www.neuro.mcw.edu/~bacon/Ports/distfiles/AFNI/${PORTVERSION}/ \
http://afni.nimh.nih.gov/pub/dist/tgz/
DISTFILES= afni_src.tgz afni_doc.tgz afni.1 \
TTatlas+tlrc.BRIK.gz TTatlas+tlrc.HEAD CA_EZ_v1.3c-May0806.tgz
DIST_SUBDIR= AFNI-${PORTVERSION}
EXTRACT_ONLY= afni_src.tgz afni_doc.tgz CA_EZ_v1.3b-Mar1506.tgz
EXTRACT_ONLY= afni_src.tgz afni_doc.tgz CA_EZ_v1.3c-May0806.tgz
MAINTAINER= bacon@smithers.neuro.mcw.edu
COMMENT= Advanced Functional Neuro Imaging
@ -36,7 +36,7 @@ RUN_DEPENDS= cjpeg:${PORTSDIR}/graphics/jpeg \
.include <bsd.port.pre.mk>
.if ${ARCH} == "sparc64"
BROKEN= Does not compile on sparc64: "undefined reference to '_mcount'"
BROKEN= Does not compile on sparc64: "undefined reference to `_mcount'"
.endif
USE_GETTEXT= yes
@ -49,8 +49,6 @@ WRKSRC= ${WRKDIR}/afni_src
MAKEFILE= Makefile.FreeBSD_PORT
ALL_TARGET= vastness suma
SUB_FILES= pkg-message
###########################################################################
# Install parameters
@ -66,6 +64,7 @@ SCRIPTS=\
@Center_Distance \
@CheckForAfniDset \
@CommandGlobb \
@DoPerRoi.py \
@DTI_studio_reposition \
@FromRAI \
@GetAfniOrient \
@ -76,6 +75,7 @@ SCRIPTS=\
@Purify_1D \
@RenamePanga \
@SUMA_AlignToExperiment \
@SUMA_Make_Spec_Caret \
@SUMA_Make_Spec_FS \
@SUMA_Make_Spec_SF \
@ToRAI \
@ -90,6 +90,7 @@ SCRIPTS=\
@np \
@parse_afni_name \
@parse_name \
afni_base.py \
3dMax \
suma_change_spec
@ -99,15 +100,18 @@ INSTALL_WRKSRC= ${WRKSRC}/BSD
INSTALL_TEMP= ${WRKSRC}/Backup.BSD
post-extract:
${CP} -f ${DISTDIR}/${DIST_SUBDIR}/Makefile.FreeBSD_PORT ${WRKSRC}
${CP} -f ${FILESDIR}/Makefile.FreeBSD_PORT ${WRKSRC}
${CP} ${DISTDIR}/${DIST_SUBDIR}/afni.1 ${WRKDIR}
${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKDIR}/afni.1
do-install:
${MKDIR} ${DATADIR} ${INSTALL_TEMP}
${MKDIR} ${DATADIR} ${INSTALL_TEMP} \
${PREFIX}/lib/afni ${PREFIX}/include/afni
@${MV} ${INSTALL_WRKSRC}/libf2c.a ${INSTALL_TEMP}
${INSTALL_DATA} ${INSTALL_WRKSRC}/*.so ${INSTALL_WRKSRC}/*.a \
${PREFIX}/lib
${PREFIX}/lib/afni
${INSTALL_DATA} ${INSTALL_WRKSRC}/*.h \
${PREFIX}/include
${PREFIX}/include/afni
${INSTALL_DATA} ${INSTALL_WRKSRC}/*.jpg ${INSTALL_WRKSRC}/*.txt \
${DATADIR}
@${MV} ${INSTALL_WRKSRC}/*.so \
@ -126,8 +130,8 @@ do-install:
.endfor
${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/* ${PREFIX}/bin
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/TTatlas* ${DATADIR}
${INSTALL_DATA} ${WRKDIR}/CA_EZ_v1.3b-Mar1506/* ${DATADIR}
${INSTALL_MAN} ${DISTDIR}/${DIST_SUBDIR}/afni.1 ${PREFIX}/man/man1
${INSTALL_DATA} ${WRKDIR}/CA_EZ_v1.3c-May0806/* ${DATADIR}
${INSTALL_MAN} ${WRKDIR}/afni.1 ${PREFIX}/man/man1
@${MV} ${INSTALL_TEMP}/* ${INSTALL_WRKSRC}
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
@ -135,6 +139,6 @@ do-install:
.endif
post-install:
@${CAT} ${WRKDIR}/pkg-message
@${CAT} pkg-message
.include <bsd.port.post.mk>

View File

@ -1,21 +1,18 @@
MD5 (AFNI-2006.03.21.1314/afni_src.tgz) = 4b66b4951788c36b137d46dc3dcac4bb
SHA256 (AFNI-2006.03.21.1314/afni_src.tgz) = 688140a767196086a6db522f1b88f2b8d19cf72648ef689a5f74dc4c3975b610
SIZE (AFNI-2006.03.21.1314/afni_src.tgz) = 10856284
MD5 (AFNI-2006.03.21.1314/afni_doc.tgz) = 3b085de85fc46908652ae287d1cceb38
SHA256 (AFNI-2006.03.21.1314/afni_doc.tgz) = 28bfcb085d97f63a7e6b753d784908d7f90d9d3ba735d96b18c1e893af4d6cd1
SIZE (AFNI-2006.03.21.1314/afni_doc.tgz) = 3267095
MD5 (AFNI-2006.03.21.1314/afni.1) = 39c9a1a39b207cd957f0f0d5ec220e4e
SHA256 (AFNI-2006.03.21.1314/afni.1) = f14991934a8b78f2497cd1d0f48b849c1a6debef01c666eafd70993ba63c99da
SIZE (AFNI-2006.03.21.1314/afni.1) = 1103
MD5 (AFNI-2006.03.21.1314/Makefile.FreeBSD_PORT) = 77fd9306b8e5c73c555edcf04aeaf562
SHA256 (AFNI-2006.03.21.1314/Makefile.FreeBSD_PORT) = f29118dbe49cc95de62a6b3ca2b31cfae0017247854d764dc5e0069ed58f589b
SIZE (AFNI-2006.03.21.1314/Makefile.FreeBSD_PORT) = 3101
MD5 (AFNI-2006.03.21.1314/TTatlas+tlrc.BRIK.gz) = f5a107b049bc426af5342565f4e5beee
SHA256 (AFNI-2006.03.21.1314/TTatlas+tlrc.BRIK.gz) = 0b5b087006e07e05c5f0c8306acaade955924f744457cec0c00844cc2e9e67cd
SIZE (AFNI-2006.03.21.1314/TTatlas+tlrc.BRIK.gz) = 159912
MD5 (AFNI-2006.03.21.1314/TTatlas+tlrc.HEAD) = a0ca787a2996d7e66548176808503ac5
SHA256 (AFNI-2006.03.21.1314/TTatlas+tlrc.HEAD) = 51c3fb158990616f355fea56886fc7c85d80ac96779f5a65a8f69207c2a85919
SIZE (AFNI-2006.03.21.1314/TTatlas+tlrc.HEAD) = 1750
MD5 (AFNI-2006.03.21.1314/CA_EZ_v1.3b-Mar1506.tgz) = a66e4abb3385878a945351e761d12723
SHA256 (AFNI-2006.03.21.1314/CA_EZ_v1.3b-Mar1506.tgz) = c9e884370a1580b1101c01f44cc76f81fc0fd64af7796b76762091ee9de4feed
SIZE (AFNI-2006.03.21.1314/CA_EZ_v1.3b-Mar1506.tgz) = 2645818
MD5 (AFNI-2006.06.30.1332/afni_src.tgz) = 3b496d379b62c57e2d27a1554da5cf29
SHA256 (AFNI-2006.06.30.1332/afni_src.tgz) = f249e0b8f89a9bae4751d10785acc9e9b71ae179b42853a6c2b1977a9c363c98
SIZE (AFNI-2006.06.30.1332/afni_src.tgz) = 11178437
MD5 (AFNI-2006.06.30.1332/afni_doc.tgz) = 3b085de85fc46908652ae287d1cceb38
SHA256 (AFNI-2006.06.30.1332/afni_doc.tgz) = 28bfcb085d97f63a7e6b753d784908d7f90d9d3ba735d96b18c1e893af4d6cd1
SIZE (AFNI-2006.06.30.1332/afni_doc.tgz) = 3267095
MD5 (AFNI-2006.06.30.1332/afni.1) = 7678276880116dcab3324dbf43d0ebf6
SHA256 (AFNI-2006.06.30.1332/afni.1) = 5598ef2f409797c463bc90d0db44c283357dde9fdaebb943ded70ac8c0aa11c3
SIZE (AFNI-2006.06.30.1332/afni.1) = 1702
MD5 (AFNI-2006.06.30.1332/TTatlas+tlrc.BRIK.gz) = f5a107b049bc426af5342565f4e5beee
SHA256 (AFNI-2006.06.30.1332/TTatlas+tlrc.BRIK.gz) = 0b5b087006e07e05c5f0c8306acaade955924f744457cec0c00844cc2e9e67cd
SIZE (AFNI-2006.06.30.1332/TTatlas+tlrc.BRIK.gz) = 159912
MD5 (AFNI-2006.06.30.1332/TTatlas+tlrc.HEAD) = a0ca787a2996d7e66548176808503ac5
SHA256 (AFNI-2006.06.30.1332/TTatlas+tlrc.HEAD) = 51c3fb158990616f355fea56886fc7c85d80ac96779f5a65a8f69207c2a85919
SIZE (AFNI-2006.06.30.1332/TTatlas+tlrc.HEAD) = 1750
MD5 (AFNI-2006.06.30.1332/CA_EZ_v1.3c-May0806.tgz) = dbb2caab5c030c505b306e1526d19150
SHA256 (AFNI-2006.06.30.1332/CA_EZ_v1.3c-May0806.tgz) = b4e9a6bbb2324c01f70d50e911793e637373040c8cca8e5f17882a146396bc31
SIZE (AFNI-2006.06.30.1332/CA_EZ_v1.3c-May0806.tgz) = 2652278

View File

@ -0,0 +1,108 @@
##################################################################
#
# This Makefile is tested with FreeBSD 5.x
#
# Contributed by:
# Jason W. Bacon
# Medical College of Wisconsin
# bacon@smithers.neuro.mcw.edu
#
# Before compiling afni, install the following packages:
#
# open-motif
#
# To compile SUMA you will also need the following packages:
#
# libiconv
# gettext
# gmake
#
# Note: SUMA has display problems on FreeBSD 4.8 and below that I
# have not found time to resolve. I believe they are related
# to the version of the GL libraries that ship with 4.x.
#
# SUMA works fine under FreeBSD 4.9 with GeForce drivers installed
# and under FreeBSD 5.1.
#
# Note: The SUMA build process (as of Aug, 2003) requires GNU make,
# which is /usr/local/bin/gmake on BSD systems.
# Be sure the MAKE macro below is set to gmake.
#
# Note: Compilation of netcdf-3.5.0 may fail due to m4's lack of
# support for the -B option. Remove the -B10000 flag from
# netcdf-3.5.0/src/configure BEFORE running make to avoid
# this error. ( Or force configure to use gm4 by reversing
# the order of "m4 gm4" to "gm4 m4" everywhere in the script }
# This problem has been reported to the netcdf development team.
# It seems to have been resolved as of the June, 2003 afni
# source distribution.
#
USE_ZLIB = -DHAVE_ZLIB
LZLIB = -lz
CC? = cc
LD? = ${CC}
CCDEBS = -DAFNI_DEBUG -DIMSEQ_DEBUG -DDISPLAY_DEBUG -DTHD_DEBUG
CEXTRA = -DFreeBSD -DNO_GAMMA -DUSE_TRACING -DHAVE_XDBE
ifeq (${ARCH}, amd64)
CEXTRA += -DPIC -fPIC
endif
ifeq (${ARCH}, ia64)
CEXTRA += -DPIC -fPIC
endif
CFLAGS += ${CEXTRA}
CC += ${CFLAGS}
CCVOL = ${CC}
CCFAST = ${CC} -O3
CCMIN = ${CC}
CCD = ${CC} ${CCDEBS}
CCSVD = ${CC} -O0
IFLAGS = -I. -I/usr/X11R6/include -I/usr/local/include
LFLAGS = -s -L. -L/usr/X11R6/lib
MAKE = gmake
PLUGIN_SUFFIX = so
PLUGIN_LFLAGS = -shared
PLUGIN_CC = ${CC}
PLFLAGS = -s -rdynamic -L. -L/usr/X11R6/lib
AR = /usr/bin/ar
RANLIB = /usr/bin/ranlib
TAR = /usr/bin/tar
MKDIR = /bin/mkdir
TAPE = /dev/sa0
GZIP = /bin/gzip
RM = /bin/rm -f
MV = /bin/mv -f
CP = /bin/cp -f
LINT = /usr/bin/lint -a -b -u -v -x ${IFLAGS} ${CCDEFS}
INSTALLDIR = ./BSD
LIBDIR = ${INSTALLDIR}
# for dynamic linking
LLIBS = -lmri -lXm -lXp -lXpm -lXext -lXmu -lXt -lX11 -lm $(LZLIB)
# vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
# For suma (NO STATIC LINKING OF GL libs)
SUMA_INCLUDE_PATH = -I/usr/X11R6/include -I/usr/local/include -I./ -I../ -I../niml/ -Igts/src
SUMA_LINK_PATH = -L/usr/lib -L/usr/X11R6/lib -L../
#use -lGLw if you have libGLw.a or libGLw.so* or
# -lMesaGLw if you have Mesa's version (libMesaGLw*) of libGLw
SUMA_LINK_LIB = -lXm -lGLw -lGLU -lGL -lXmu -lXp -lXt -lXext -lX11 -lm $(LZLIB)
SUMA_MAKEFILE_NAME = SUMA_Makefile
SUMA_BIN_ARCHIVE = SUMA_FreeBSD.tar
# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
###############################################################
include Makefile.INCLUDE

View File

@ -1,7 +0,0 @@
=============================================================================
The environment variable AFNI_PLUGIN_PATH must contain
%%PREFIX%%/lib:%%PREFIX%%/share/afni
in order to run AFNI plugins and view splash images.
=============================================================================

View File

@ -1,4 +1,4 @@
This is a port of AFNI, Advanced Functional Neuro Imaging. AFNI is
This is a port of AFNI, Analysis of Functional Neuro Imaging. AFNI is
a tool for analyzing 3 dimensional images, especially functional MRI
images used in brain mapping research.

12
science/afni/pkg-message Normal file
View File

@ -0,0 +1,12 @@
=============================================================================
Run "man afni" for information on setting up your afni environment.
For questions or comments regarding the FreeBSD port, please contact the
port maintainer:
bacon@smithers.neuro.mcw.edu
For AFNI configuration and usage, please visit the AFNI WEB site at
http://afni.nimh.nih.gov.
=============================================================================

View File

@ -125,6 +125,7 @@ bin/3dttest
bin/3dvolreg
bin/4swap
bin/AlphaSim
bin/AnalyzeTrace
bin/CompareSurfaces
bin/ConvertDset
bin/ConvertSurface
@ -148,6 +149,7 @@ bin/SUMA_pixmap2eps
bin/SampBias
bin/ScaleToMap
bin/SurfClust
bin/SurfDsetInfo
bin/SurfMeasures
bin/SurfPatch
bin/SurfQual
@ -195,7 +197,6 @@ bin/mritopgm
bin/myget
bin/nicat
bin/nifti1_test
bin/nifti_stats
bin/nifti_tool
bin/nsize
bin/p2t
@ -218,100 +219,101 @@ bin/tfim
bin/to3d
bin/waver
bin/whereami
include/3ddata.h
include/afni_environ.h
include/afni_warp.h
include/cdflib.h
include/coxplot.h
include/cs.h
include/cs_sort_template.h
include/editvol.h
include/eispack.h
include/f2c.h
include/killer.h
include/machdep.h
include/mcw_glob.h
include/mcw_malloc.h
include/mrilib.h
include/multivector.h
include/niml.h
include/tagset.h
include/thd_compress.h
include/thd_iochan.h
include/thd_maker.h
include/vecmat.h
include/vol2surf.h
include/volpack.h
lib/libSUMA.a
lib/libcoxplot.a
lib/libmri.a
lib/libmrix.a
lib/libvolpack.a
lib/model_beta.so
lib/model_constant.so
lib/model_convgamma.so
lib/model_convgamma2a.so
lib/model_diffexp.so
lib/model_diffusion.so
lib/model_gammavar.so
lib/model_linear.so
lib/model_michaelis_menton.so
lib/model_null.so
lib/model_quadratic.so
lib/model_sinewave_ap.so
lib/model_sinewave_apf.so
lib/model_squarewave_ap.so
lib/model_squarewave_apf.so
lib/model_trnglwave_ap.so
lib/model_trnglwave_apf.so
lib/plug_3Ddump_V2.so
lib/plug_3ddot.so
lib/plug_3ddup.so
lib/plug_4Ddump.so
lib/plug_L1fit.so
lib/plug_betafit.so
lib/plug_clust.so
lib/plug_compress.so
lib/plug_coorder.so
lib/plug_copy.so
lib/plug_crender.so
lib/plug_deconvolve.so
lib/plug_delay_V2.so
lib/plug_drawdset.so
lib/plug_edit.so
lib/plug_extract.so
lib/plug_fourier.so
lib/plug_hemisub.so
lib/plug_histog.so
lib/plug_imreg.so
lib/plug_lsqfit.so
lib/plug_maskave.so
lib/plug_maskcalc.so
lib/plug_maxima.so
lib/plug_nlfit.so
lib/plug_notes.so
lib/plug_nth_dataset.so
lib/plug_nudge.so
lib/plug_permtest.so
lib/plug_power.so
lib/plug_realtime.so
lib/plug_rename.so
lib/plug_render.so
lib/plug_reorder.so
lib/plug_retroicor.so
lib/plug_roiedit.so
lib/plug_roiplot.so
lib/plug_scatplot.so
lib/plug_second_dataset.so
lib/plug_stats.so
lib/plug_stavg.so
lib/plug_tag.so
lib/plug_threshold.so
lib/plug_ttget.so
lib/plug_vol2surf.so
lib/plug_volreg.so
lib/plug_wavelets.so
lib/plug_zeropad.so
include/afni/3ddata.h
include/afni/afni_environ.h
include/afni/afni_warp.h
include/afni/cdflib.h
include/afni/coxplot.h
include/afni/cs.h
include/afni/cs_sort_template.h
include/afni/editvol.h
include/afni/eispack.h
include/afni/f2c.h
include/afni/killer.h
include/afni/machdep.h
include/afni/mcw_glob.h
include/afni/mcw_malloc.h
include/afni/mrilib.h
include/afni/multivector.h
include/afni/niml.h
include/afni/tagset.h
include/afni/thd_compress.h
include/afni/thd_iochan.h
include/afni/thd_maker.h
include/afni/vecmat.h
include/afni/vol2surf.h
include/afni/volpack.h
lib/afni/libSUMA.a
lib/afni/libcoxplot.a
lib/afni/libmri.a
lib/afni/libmrix.a
lib/afni/libvolpack.a
lib/afni/model_beta.so
lib/afni/model_constant.so
lib/afni/model_convgamma.so
lib/afni/model_convgamma2a.so
lib/afni/model_diffexp.so
lib/afni/model_diffusion.so
lib/afni/model_gammavar.so
lib/afni/model_linear.so
lib/afni/model_linplusort.so
lib/afni/model_michaelis_menton.so
lib/afni/model_null.so
lib/afni/model_quadratic.so
lib/afni/model_sinewave_ap.so
lib/afni/model_sinewave_apf.so
lib/afni/model_squarewave_ap.so
lib/afni/model_squarewave_apf.so
lib/afni/model_trnglwave_ap.so
lib/afni/model_trnglwave_apf.so
lib/afni/plug_3Ddump_V2.so
lib/afni/plug_3ddot.so
lib/afni/plug_3ddup.so
lib/afni/plug_4Ddump.so
lib/afni/plug_L1fit.so
lib/afni/plug_betafit.so
lib/afni/plug_clust.so
lib/afni/plug_compress.so
lib/afni/plug_coorder.so
lib/afni/plug_copy.so
lib/afni/plug_crender.so
lib/afni/plug_deconvolve.so
lib/afni/plug_delay_V2.so
lib/afni/plug_drawdset.so
lib/afni/plug_edit.so
lib/afni/plug_extract.so
lib/afni/plug_fourier.so
lib/afni/plug_hemisub.so
lib/afni/plug_histog.so
lib/afni/plug_imreg.so
lib/afni/plug_lsqfit.so
lib/afni/plug_maskave.so
lib/afni/plug_maskcalc.so
lib/afni/plug_maxima.so
lib/afni/plug_nlfit.so
lib/afni/plug_notes.so
lib/afni/plug_nth_dataset.so
lib/afni/plug_nudge.so
lib/afni/plug_permtest.so
lib/afni/plug_power.so
lib/afni/plug_realtime.so
lib/afni/plug_rename.so
lib/afni/plug_render.so
lib/afni/plug_reorder.so
lib/afni/plug_retroicor.so
lib/afni/plug_roiedit.so
lib/afni/plug_roiplot.so
lib/afni/plug_scatplot.so
lib/afni/plug_second_dataset.so
lib/afni/plug_stats.so
lib/afni/plug_stavg.so
lib/afni/plug_tag.so
lib/afni/plug_threshold.so
lib/afni/plug_ttget.so
lib/afni/plug_vol2surf.so
lib/afni/plug_volreg.so
lib/afni/plug_wavelets.so
lib/afni/plug_zeropad.so
%%DATADIR%%/Dist_Stamp
%%DATADIR%%/Readme_dist
%%DATADIR%%/TT_N27+tlrc.BRIK.gz
@ -326,6 +328,11 @@ lib/plug_zeropad.so
%%DATADIR%%/TT_N27_EZ_ML+tlrc.HEAD
%%DATADIR%%/TTatlas+tlrc.BRIK.gz
%%DATADIR%%/TTatlas+tlrc.HEAD
%%DATADIR%%/face_erinskinner.jpg
%%DATADIR%%/face_hang_joon_jo.jpg
%%DATADIR%%/face_melissah.jpg
%%DATADIR%%/face_sumabucks.jpg
%%DATADIR%%/splash_sscc2006.jpg
%%DATADIR%%/face_JimEliassen.jpg
%%DATADIR%%/face_JohannaBaas.jpg
%%DATADIR%%/face_SalloumJB.jpg
@ -598,3 +605,5 @@ lib/plug_zeropad.so
%%PORTDOCS%%%%DOCSDIR%%/waver.ps
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm %%DATADIR%%
@dirrm lib/afni
@dirrm include/afni