1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00

- New port: devel/gdcm

GDCM is an open source DICOM library written in C++ that implements mainly the
  base DICOM standard part 5 that concentrates on image file format.

  WWW: http://gdcm.sourceforge.net/

Feature safe:	yes
This commit is contained in:
Pietro Cerutti 2010-03-03 07:51:00 +00:00
parent ad1a551465
commit 81a2fd99cc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=250527
5 changed files with 385 additions and 0 deletions

View File

@ -435,6 +435,7 @@
SUBDIR += gdb53-act
SUBDIR += gdb6
SUBDIR += gdbmods
SUBDIR += gdcm
SUBDIR += geany
SUBDIR += gearmand
SUBDIR += generate

48
devel/gdcm/Makefile Normal file
View File

@ -0,0 +1,48 @@
# New ports collection Makefile for: gdcm
# Date created: 24 February 2010
# Whom: gahr
#
# $FreeBSD$
PORTNAME= gdcm
PORTVERSION= ${GDCM_MAJ}.${GDCM_MIN}
CATEGORIES= devel
MASTER_SITES= SF/gdcm/gdcm%202.x/GDCM%20${PORTVERSION}
MAINTAINER= gahr@FreeBSD.org
COMMENT= Grassroots DICOM library
USE_BZIP2= yes
USE_CMAKE= yes
USE_LDCONFIG= ${PREFIX}/lib \
${PREFIX}/lib/gdcm-${GDCM_MAJ}
GDCM_MAJ= 2.0
GDCM_MIN= 14
PLIST_SUB+= GDCM_MAJ="${GDCM_MAJ}" \
GDCM_MIN="${GDCM_MIN}"
CMAKE_OUTSOURCE=yes
CMAKE_ARGS+= -DGDCM_BUILD_APPLICATIONS:BOOL=YES \
-DGDCM_BUILD_SHARED_LIBS:BOOL=YES \
-DGDCM_BUILD_EXAMPLES:BOOL=NO \
-DGDCM_INSTALL_DATA_DIR:STRING=${DATADIR}
.if !defined(NOPORTDOCS)
BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen \
pdflatex:${PORTSDIR}/print/teTeX-base
CMAKE_ARGS+= -DGDCM_DOCUMENTATION:BOOL=YES \
-DGDCM_INSTALL_MAN_DIR:STRING=${MAN1PREFIX}/man
MAN1= gdcm2vtk.1 gdcmconv.1 gdcmanon.1 gdcmgendir.1 \
gdcmdump.1 gdcmimg.1 gdcminfo.1 gdcmpdf.1 \
gdcmraw.1 gdcmscanner.1 gdcmtar.1 gdcmviewer.1
PORTDOCS= *
post-install:
${MKDIR} ${DOCSDIR}
cd ${INSTALL_WRKSRC}/Utilities/doxygen/html && ${COPYTREE_SHARE} \* ${DOCSDIR}
.else
CMAKE_ARGS+= -DGDCM_DOCUMENTATION:BOOL=NO
.endif
.include <bsd.port.mk>

3
devel/gdcm/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (gdcm-2.0.14.tar.bz2) = c5ac886303634fac5f2f6f63e8aff133
SHA256 (gdcm-2.0.14.tar.bz2) = 7b19376a650964e12be304f2888aa27abdf797b10d2c34226274243715f62998
SIZE (gdcm-2.0.14.tar.bz2) = 2597711

6
devel/gdcm/pkg-descr Normal file
View File

@ -0,0 +1,6 @@
GDCM is an open source DICOM library. It is meant to deal with DICOM files
(as specified in part 10 of the DICOM standard). It offers some compatibility
with ACR-NEMA 1.0 & 2.0 files (raw files). It is written in C++ and offers
wrapping to other target languages such as Python, C#, Java and PHP.
WWW: http://gdcm.sourceforge.net/

327
devel/gdcm/pkg-plist Normal file
View File

@ -0,0 +1,327 @@
bin/gdcmdump
bin/gdcmraw
bin/gdcmscanner
bin/gdcmanon
bin/gdcmgendir
bin/gdcmimg
bin/gdcmconv
bin/gdcmtar
bin/gdcminfo
include/gdcm-2.0/bio.h
include/gdcm-2.0/cio.h
include/gdcm-2.0/dwt.h
include/gdcm-2.0/event.h
include/gdcm-2.0/fix.h
include/gdcm-2.0/gdcmASN1.h
include/gdcm-2.0/gdcmAnonymizeEvent.h
include/gdcm-2.0/gdcmAnonymizer.h
include/gdcm-2.0/gdcmApplicationEntity.h
include/gdcm-2.0/gdcmAttribute.h
include/gdcm-2.0/gdcmAudioCodec.h
include/gdcm-2.0/gdcmBase64.h
include/gdcm-2.0/gdcmBasicOffsetTable.h
include/gdcm-2.0/gdcmBitmap.h
include/gdcm-2.0/gdcmByteBuffer.h
include/gdcm-2.0/gdcmByteSwap.h
include/gdcm-2.0/gdcmByteSwap.txx
include/gdcm-2.0/gdcmByteSwapFilter.h
include/gdcm-2.0/gdcmByteValue.h
include/gdcm-2.0/gdcmCP246ExplicitDataElement.h
include/gdcm-2.0/gdcmCP246ExplicitDataElement.txx
include/gdcm-2.0/gdcmCSAElement.h
include/gdcm-2.0/gdcmCSAHeader.h
include/gdcm-2.0/gdcmCSAHeader.txx
include/gdcm-2.0/gdcmCSAHeaderDict.h
include/gdcm-2.0/gdcmCSAHeaderDictEntry.h
include/gdcm-2.0/gdcmCodeString.h
include/gdcm-2.0/gdcmCodec.h
include/gdcm-2.0/gdcmCoder.h
include/gdcm-2.0/gdcmCommand.h
include/gdcm-2.0/gdcmConfigure.h
include/gdcm-2.0/gdcmConstCharWrapper.h
include/gdcm-2.0/gdcmCryptographicMessageSyntax.h
include/gdcm-2.0/gdcmCurve.h
include/gdcm-2.0/gdcmDICOMDIR.h
include/gdcm-2.0/gdcmDICOMDIRGenerator.h
include/gdcm-2.0/gdcmDataElement.h
include/gdcm-2.0/gdcmDataSet.h
include/gdcm-2.0/gdcmDataSet.txx
include/gdcm-2.0/gdcmDataSetHelper.h
include/gdcm-2.0/gdcmDecoder.h
include/gdcm-2.0/gdcmDefinedTerms.h
include/gdcm-2.0/gdcmDeflateStream.h
include/gdcm-2.0/gdcmDefs.h
include/gdcm-2.0/gdcmDeltaEncodingCodec.h
include/gdcm-2.0/gdcmDict.h
include/gdcm-2.0/gdcmDictConverter.h
include/gdcm-2.0/gdcmDictEntry.h
include/gdcm-2.0/gdcmDictPrinter.h
include/gdcm-2.0/gdcmDicts.h
include/gdcm-2.0/gdcmDirectionCosines.h
include/gdcm-2.0/gdcmDirectory.h
include/gdcm-2.0/gdcmDummyValueGenerator.h
include/gdcm-2.0/gdcmDumper.h
include/gdcm-2.0/gdcmElement.h
include/gdcm-2.0/gdcmEncapsulatedDocument.h
include/gdcm-2.0/gdcmEnumeratedValues.h
include/gdcm-2.0/gdcmEvent.h
include/gdcm-2.0/gdcmException.h
include/gdcm-2.0/gdcmExplicitDataElement.h
include/gdcm-2.0/gdcmExplicitDataElement.txx
include/gdcm-2.0/gdcmExplicitImplicitDataElement.h
include/gdcm-2.0/gdcmExplicitImplicitDataElement.txx
include/gdcm-2.0/gdcmFiducials.h
include/gdcm-2.0/gdcmFile.h
include/gdcm-2.0/gdcmFileDerivation.h
include/gdcm-2.0/gdcmFileExplicitFilter.h
include/gdcm-2.0/gdcmFileMetaInformation.h
include/gdcm-2.0/gdcmFileSet.h
include/gdcm-2.0/gdcmFilename.h
include/gdcm-2.0/gdcmFilenameGenerator.h
include/gdcm-2.0/gdcmFragment.h
include/gdcm-2.0/gdcmFragment.txx
include/gdcm-2.0/gdcmGlobal.h
include/gdcm-2.0/gdcmGroupDict.h
include/gdcm-2.0/gdcmIOD.h
include/gdcm-2.0/gdcmIODEntry.h
include/gdcm-2.0/gdcmIODs.h
include/gdcm-2.0/gdcmIPPSorter.h
include/gdcm-2.0/gdcmIconImage.h
include/gdcm-2.0/gdcmImage.h
include/gdcm-2.0/gdcmImageApplyLookupTable.h
include/gdcm-2.0/gdcmImageChangePhotometricInterpretation.h
include/gdcm-2.0/gdcmImageChangePlanarConfiguration.h
include/gdcm-2.0/gdcmImageChangeTransferSyntax.h
include/gdcm-2.0/gdcmImageCodec.h
include/gdcm-2.0/gdcmImageConverter.h
include/gdcm-2.0/gdcmImageFragmentSplitter.h
include/gdcm-2.0/gdcmImageHelper.h
include/gdcm-2.0/gdcmImageReader.h
include/gdcm-2.0/gdcmImageToImageFilter.h
include/gdcm-2.0/gdcmImageWriter.h
include/gdcm-2.0/gdcmImplicitDataElement.h
include/gdcm-2.0/gdcmImplicitDataElement.txx
include/gdcm-2.0/gdcmItem.h
include/gdcm-2.0/gdcmItem.txx
include/gdcm-2.0/gdcmJPEG12Codec.h
include/gdcm-2.0/gdcmJPEG16Codec.h
include/gdcm-2.0/gdcmJPEG2000Codec.h
include/gdcm-2.0/gdcmJPEG8Codec.h
include/gdcm-2.0/gdcmJPEGCodec.h
include/gdcm-2.0/gdcmJPEGLSCodec.h
include/gdcm-2.0/gdcmLO.h
include/gdcm-2.0/gdcmLookupTable.h
include/gdcm-2.0/gdcmMD5.h
include/gdcm-2.0/gdcmMacro.h
include/gdcm-2.0/gdcmMediaStorage.h
include/gdcm-2.0/gdcmModule.h
include/gdcm-2.0/gdcmModuleEntry.h
include/gdcm-2.0/gdcmModules.h
include/gdcm-2.0/gdcmNestedModuleEntries.h
include/gdcm-2.0/gdcmObject.h
include/gdcm-2.0/gdcmOrientation.h
include/gdcm-2.0/gdcmOverlay.h
include/gdcm-2.0/gdcmPDBElement.h
include/gdcm-2.0/gdcmPDBHeader.h
include/gdcm-2.0/gdcmPDFCodec.h
include/gdcm-2.0/gdcmPNMCodec.h
include/gdcm-2.0/gdcmPVRGCodec.h
include/gdcm-2.0/gdcmParseException.h
include/gdcm-2.0/gdcmParser.h
include/gdcm-2.0/gdcmPatient.h
include/gdcm-2.0/gdcmPersonName.h
include/gdcm-2.0/gdcmPhotometricInterpretation.h
include/gdcm-2.0/gdcmPixelFormat.h
include/gdcm-2.0/gdcmPixmap.h
include/gdcm-2.0/gdcmPixmapReader.h
include/gdcm-2.0/gdcmPixmapToPixmapFilter.h
include/gdcm-2.0/gdcmPixmapWriter.h
include/gdcm-2.0/gdcmPreamble.h
include/gdcm-2.0/gdcmPrinter.h
include/gdcm-2.0/gdcmPrivateTag.h
include/gdcm-2.0/gdcmRAWCodec.h
include/gdcm-2.0/gdcmRLECodec.h
include/gdcm-2.0/gdcmReader.h
include/gdcm-2.0/gdcmRescaler.h
include/gdcm-2.0/gdcmSHA1.h
include/gdcm-2.0/gdcmSOPClassUIDToIOD.h
include/gdcm-2.0/gdcmScanner.h
include/gdcm-2.0/gdcmSegmentedPaletteColorLookupTable.h
include/gdcm-2.0/gdcmSequenceOfFragments.h
include/gdcm-2.0/gdcmSequenceOfFragments.txx
include/gdcm-2.0/gdcmSequenceOfItems.h
include/gdcm-2.0/gdcmSequenceOfItems.txx
include/gdcm-2.0/gdcmSerieHelper.h
include/gdcm-2.0/gdcmSeries.h
include/gdcm-2.0/gdcmSimpleSubjectWatcher.h
include/gdcm-2.0/gdcmSmartPointer.h
include/gdcm-2.0/gdcmSorter.h
include/gdcm-2.0/gdcmSpacing.h
include/gdcm-2.0/gdcmSpectroscopy.h
include/gdcm-2.0/gdcmSplitMosaicFilter.h
include/gdcm-2.0/gdcmStaticAssert.h
include/gdcm-2.0/gdcmString.h
include/gdcm-2.0/gdcmStringFilter.h
include/gdcm-2.0/gdcmStudy.h
include/gdcm-2.0/gdcmSubject.h
include/gdcm-2.0/gdcmSwapCode.h
include/gdcm-2.0/gdcmSwapper.h
include/gdcm-2.0/gdcmSwapper.txx
include/gdcm-2.0/gdcmSystem.h
include/gdcm-2.0/gdcmTable.h
include/gdcm-2.0/gdcmTableEntry.h
include/gdcm-2.0/gdcmTableReader.h
include/gdcm-2.0/gdcmTag.h
include/gdcm-2.0/gdcmTagPath.h
include/gdcm-2.0/gdcmTagToType.h
include/gdcm-2.0/gdcmTerminal.h
include/gdcm-2.0/gdcmTesting.h
include/gdcm-2.0/gdcmTrace.h
include/gdcm-2.0/gdcmTransferSyntax.h
include/gdcm-2.0/gdcmType.h
include/gdcm-2.0/gdcmTypes.h
include/gdcm-2.0/gdcmUIDGenerator.h
include/gdcm-2.0/gdcmUIDs.h
include/gdcm-2.0/gdcmUNExplicitDataElement.h
include/gdcm-2.0/gdcmUNExplicitDataElement.txx
include/gdcm-2.0/gdcmUNExplicitImplicitDataElement.h
include/gdcm-2.0/gdcmUNExplicitImplicitDataElement.txx
include/gdcm-2.0/gdcmUnpacker12Bits.h
include/gdcm-2.0/gdcmUsage.h
include/gdcm-2.0/gdcmVL.h
include/gdcm-2.0/gdcmVM.h
include/gdcm-2.0/gdcmVR.h
include/gdcm-2.0/gdcmVR16ExplicitDataElement.h
include/gdcm-2.0/gdcmVR16ExplicitDataElement.txx
include/gdcm-2.0/gdcmValidate.h
include/gdcm-2.0/gdcmValue.h
include/gdcm-2.0/gdcmValue.txx
include/gdcm-2.0/gdcmValueIO.h
include/gdcm-2.0/gdcmValueIO.txx
include/gdcm-2.0/gdcmVersion.h
include/gdcm-2.0/gdcmWaveform.h
include/gdcm-2.0/gdcmWin32.h
include/gdcm-2.0/gdcmWriter.h
include/gdcm-2.0/gdcmXMLDictReader.h
include/gdcm-2.0/gdcmXMLPrivateDictReader.h
include/gdcm-2.0/gdcm_j2k.h
include/gdcm-2.0/gdcm_jp2.h
include/gdcm-2.0/gdcmcharls/colortransform.h
include/gdcm-2.0/gdcmcharls/config.h
include/gdcm-2.0/gdcmcharls/context.h
include/gdcm-2.0/gdcmcharls/contextrunmode.h
include/gdcm-2.0/gdcmcharls/decoderstrategy.h
include/gdcm-2.0/gdcmcharls/defaulttraits.h
include/gdcm-2.0/gdcmcharls/encoderstrategy.h
include/gdcm-2.0/gdcmcharls/header.h
include/gdcm-2.0/gdcmcharls/interface.h
include/gdcm-2.0/gdcmcharls/lookuptable.h
include/gdcm-2.0/gdcmcharls/losslesstraits.h
include/gdcm-2.0/gdcmcharls/processline.h
include/gdcm-2.0/gdcmcharls/scan.h
include/gdcm-2.0/gdcmcharls/stdafx.h
include/gdcm-2.0/gdcmcharls/streams.h
include/gdcm-2.0/gdcmcharls/util.h
include/gdcm-2.0/gdcmjpeg/12/jconfig.h
include/gdcm-2.0/gdcmjpeg/12/jerror.h
include/gdcm-2.0/gdcmjpeg/12/jinclude.h
include/gdcm-2.0/gdcmjpeg/12/jmorecfg.h
include/gdcm-2.0/gdcmjpeg/12/jpegcmake.h
include/gdcm-2.0/gdcmjpeg/12/jpeglib.h
include/gdcm-2.0/gdcmjpeg/12/mangle_jpeg12bits.h
include/gdcm-2.0/gdcmjpeg/16/jconfig.h
include/gdcm-2.0/gdcmjpeg/16/jerror.h
include/gdcm-2.0/gdcmjpeg/16/jinclude.h
include/gdcm-2.0/gdcmjpeg/16/jmorecfg.h
include/gdcm-2.0/gdcmjpeg/16/jpegcmake.h
include/gdcm-2.0/gdcmjpeg/16/jpeglib.h
include/gdcm-2.0/gdcmjpeg/16/mangle_jpeg16bits.h
include/gdcm-2.0/gdcmjpeg/8/jconfig.h
include/gdcm-2.0/gdcmjpeg/8/jerror.h
include/gdcm-2.0/gdcmjpeg/8/jinclude.h
include/gdcm-2.0/gdcmjpeg/8/jmorecfg.h
include/gdcm-2.0/gdcmjpeg/8/jpegcmake.h
include/gdcm-2.0/gdcmjpeg/8/jpeglib.h
include/gdcm-2.0/gdcmjpeg/8/mangle_jpeg8bits.h
include/gdcm-2.0/gdcmjpeg/jchuff.h
include/gdcm-2.0/gdcmjpeg/jconfig.h
include/gdcm-2.0/gdcmjpeg/jdct.h
include/gdcm-2.0/gdcmjpeg/jdhuff.h
include/gdcm-2.0/gdcmjpeg/jerror.h
include/gdcm-2.0/gdcmjpeg/jinclude.h
include/gdcm-2.0/gdcmjpeg/jlossls.h
include/gdcm-2.0/gdcmjpeg/jlossy.h
include/gdcm-2.0/gdcmjpeg/jmemsys.h
include/gdcm-2.0/gdcmjpeg/jmorecfg.h
include/gdcm-2.0/gdcmjpeg/jpegint.h
include/gdcm-2.0/gdcmjpeg/jpeglib.h
include/gdcm-2.0/gdcmjpeg/jversion.h
include/gdcm-2.0/image.h
include/gdcm-2.0/int.h
include/gdcm-2.0/j2k.h
include/gdcm-2.0/j2k_lib.h
include/gdcm-2.0/jp2.h
include/gdcm-2.0/jpt.h
include/gdcm-2.0/mct.h
include/gdcm-2.0/mqc.h
include/gdcm-2.0/openjpeg.h
include/gdcm-2.0/openjpeg_mangle.h
include/gdcm-2.0/opj_includes.h
include/gdcm-2.0/pi.h
include/gdcm-2.0/raw.h
include/gdcm-2.0/t1.h
include/gdcm-2.0/t2.h
include/gdcm-2.0/tcd.h
include/gdcm-2.0/tgt.h
include/gdcm-2.0/zipstreamimpl.h
lib/gdcm-2.0/GDCMBuildSettings.cmake
lib/gdcm-2.0/GDCMConfig.cmake
lib/gdcm-2.0/GDCMLibraryDepends.cmake
lib/gdcm-2.0/UseGDCM.cmake
lib/libgdcmCommon.so.%%GDCM_MAJ%%
lib/libgdcmCommon.so.%%GDCM_MAJ%%.%%GDCM_MIN%%
lib/libgdcmDICT.so.%%GDCM_MAJ%%
lib/libgdcmDICT.so.%%GDCM_MAJ%%.%%GDCM_MIN%%
lib/libgdcmDSED.so.%%GDCM_MAJ%%
lib/libgdcmDSED.so.%%GDCM_MAJ%%.%%GDCM_MIN%%
lib/libgdcmIOD.so.%%GDCM_MAJ%%
lib/libgdcmIOD.so.%%GDCM_MAJ%%.%%GDCM_MIN%%
lib/libgdcmMSFF.so.%%GDCM_MAJ%%
lib/libgdcmMSFF.so.%%GDCM_MAJ%%.%%GDCM_MIN%%
lib/libgdcmcharls.so.%%GDCM_MAJ%%
lib/libgdcmcharls.so.%%GDCM_MAJ%%.%%GDCM_MIN%%
lib/libgdcmcharls.so
lib/libgdcmexpat.so.%%GDCM_MAJ%%
lib/libgdcmexpat.so.2.0.0
lib/libgdcmexpat.so
lib/libgdcmjpeg12.so.%%GDCM_MAJ%%
lib/libgdcmjpeg12.so.%%GDCM_MAJ%%.%%GDCM_MIN%%
lib/libgdcmjpeg16.so.%%GDCM_MAJ%%
lib/libgdcmjpeg16.so.%%GDCM_MAJ%%.%%GDCM_MIN%%
lib/libgdcmjpeg8.so.%%GDCM_MAJ%%
lib/libgdcmjpeg8.so.%%GDCM_MAJ%%.%%GDCM_MIN%%
lib/libgdcmopenjpeg.so
lib/libgdcmopenjpeg.so.1.0.0
lib/libgdcmopenjpeg.so.1.0
lib/libgdcmuuid.so.%%GDCM_MAJ%%
lib/libgdcmuuid.so.%%GDCM_MAJ%%.%%GDCM_MIN%%
lib/libgdcmuuid.so
lib/libgdcmzlib.so.%%GDCM_MAJ%%
lib/libgdcmzlib.so.%%GDCM_MAJ%%.%%GDCM_MIN%%
lib/libgdcmzlib.so
%%DATADIR%%/XML/CSAHeader.xml
%%DATADIR%%/XML/DICOMV3.xml
%%DATADIR%%/XML/Part3.xml
%%DATADIR%%/XML/Part6.xml
%%DATADIR%%/XML/Part7.xml
%%DATADIR%%/XML/UIDs.xml
%%DATADIR%%/XML/cp699.xml
@dirrm include/gdcm-2.0/gdcmjpeg/8
@dirrm include/gdcm-2.0/gdcmjpeg/16
@dirrm include/gdcm-2.0/gdcmjpeg/12
@dirrm include/gdcm-2.0/gdcmjpeg
@dirrm include/gdcm-2.0/gdcmcharls
@dirrm include/gdcm-2.0
@dirrm lib/gdcm-2.0
@dirrm %%DATADIR%%/XML
@dirrm %%DATADIR%%