Port the Offis DICOM toolkit, version 3.5.4:
DCMTK is a collection of libraries and applications implementing large parts of the DICOM standard for medical imaging. It includes software for examining, constructing and converting DICOM image files, handling offline media, sending and receiving images over a network connection, as well as demonstrative image storage and worklist servers. great feedback naddy@ (a little while ago)
This commit is contained in:
parent
36288cdc7a
commit
1aadfad3bf
43
graphics/dcmtk/Makefile
Normal file
43
graphics/dcmtk/Makefile
Normal file
@ -0,0 +1,43 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2008/04/10 10:09:56 djm Exp $
|
||||
|
||||
COMMENT= DICOM toolkit
|
||||
|
||||
DISTNAME= dcmtk-3.5.4
|
||||
|
||||
CATEGORIES= graphics
|
||||
|
||||
HOMEPAGE= http://www.dcmtk.org/dcmtk.php.en
|
||||
|
||||
MASTER_SITES= ftp://dicom.offis.de/pub/dicom/offis/software/dcmtk/dcmtk354
|
||||
|
||||
# Several ISC and BSDish
|
||||
# ftp://dicom.offis.de/pub/dicom/offis/software/dcmtk/dcmtk354/COPYRIGHT
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
WANTLIB= c crypto m ssl stdc++ wrap z
|
||||
|
||||
LIB_DEPENDS= jpeg.>=62::graphics/jpeg \
|
||||
png.>=4::graphics/png \
|
||||
tiff.>=36::graphics/tiff \
|
||||
xml2.>=9::textproc/libxml
|
||||
|
||||
RUN_DEPENDS= :netpbm-*:graphics/netpbm
|
||||
|
||||
CONFIGURE_STYLE= gnu
|
||||
CONFIGURE_ARGS= --disable-threads \
|
||||
--with-libtiff --with-libtiffinc=${LOCALBASE} \
|
||||
--with-libpng --with-libpnginc=${LOCALBASE} \
|
||||
--with-libxml --with-libxmlinc=${LOCALBASE}
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/config
|
||||
FAKE_FLAGS= DESTDIR=${WRKINST} \
|
||||
etcdir=${WRKINST}${PREFIX}/share/examples/dcmtk
|
||||
|
||||
|
||||
NO_REGRESS= Yes
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
5
graphics/dcmtk/distinfo
Normal file
5
graphics/dcmtk/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (dcmtk-3.5.4.tar.gz) = Cv2XHN+XalszZyLvL2jm1w==
|
||||
RMD160 (dcmtk-3.5.4.tar.gz) = 0VWMnGjlPg6jsID9L7ULnY4w7ro=
|
||||
SHA1 (dcmtk-3.5.4.tar.gz) = FpBWh0lHCD5o65QfzVP6rryGKuU=
|
||||
SHA256 (dcmtk-3.5.4.tar.gz) = e4V1umCVFtdraBwN6MEyjPI+V96yxwhaaqN9QpI1TXY=
|
||||
SIZE (dcmtk-3.5.4.tar.gz) = 3756374
|
16
graphics/dcmtk/patches/patch-config_Makefile_def_in
Normal file
16
graphics/dcmtk/patches/patch-config_Makefile_def_in
Normal file
@ -0,0 +1,16 @@
|
||||
$OpenBSD: patch-config_Makefile_def_in,v 1.1.1.1 2008/04/10 10:09:56 djm Exp $
|
||||
--- config/Makefile.def.in.orig Mon Aug 20 20:26:28 2007
|
||||
+++ config/Makefile.def.in Mon Aug 20 20:27:17 2007
|
||||
@@ -10,9 +10,9 @@ prefix = @prefix@
|
||||
exec_prefix = @exec_prefix@
|
||||
|
||||
bindir = $(DESTDIR)@bindir@
|
||||
-etcdir = $(DESTDIR)@sysconfdir@
|
||||
-datadir = $(DESTDIR)@datadir@/data
|
||||
-docdir = $(DESTDIR)@datadir@/doc
|
||||
+etcdir = $(DESTDIR)@sysconfdir@/dcmtk
|
||||
+datadir = $(DESTDIR)@datadir@/dcmtk
|
||||
+docdir = $(DESTDIR)@datadir@/doc/dcmtk
|
||||
mandir = $(DESTDIR)@mandir@
|
||||
libdir = $(DESTDIR)@libdir@
|
||||
includedir = $(DESTDIR)@includedir@
|
19
graphics/dcmtk/patches/patch-dcmdata_libsrc_Makefile_in
Normal file
19
graphics/dcmtk/patches/patch-dcmdata_libsrc_Makefile_in
Normal file
@ -0,0 +1,19 @@
|
||||
$OpenBSD: patch-dcmdata_libsrc_Makefile_in,v 1.1.1.1 2008/04/10 10:09:56 djm Exp $
|
||||
--- dcmdata/libsrc/Makefile.in.orig Mon Aug 20 20:27:43 2007
|
||||
+++ dcmdata/libsrc/Makefile.in Mon Aug 20 20:28:09 2007
|
||||
@@ -56,12 +56,12 @@ install-lib: $(library)
|
||||
$(INSTALL_DATA) $(library) $(libdir)/$(library)
|
||||
|
||||
install-support: $(DICTFILE) $(PRIVDICTFILE)
|
||||
- $(configdir)/mkinstalldirs $(libdir)
|
||||
+ $(configdir)/mkinstalldirs $(datadir)
|
||||
if [ "x$(INSTALL_PRIVATE_DICTIONARY)" = "xYES" ] ; then \
|
||||
cat $(DICTFILE) $(PRIVDICTFILE) >dicom.tmp ; \
|
||||
- $(INSTALL_DATA) dicom.tmp $(libdir)/dicom.dic ; \
|
||||
+ $(INSTALL_DATA) dicom.tmp $(datadir)/dicom.dic ; \
|
||||
else \
|
||||
- $(INSTALL_DATA) $(DICTFILE) $(libdir)/dicom.dic ; \
|
||||
+ $(INSTALL_DATA) $(DICTFILE) $(datadir)/dicom.dic ; \
|
||||
fi
|
||||
|
||||
|
15
graphics/dcmtk/patches/patch-dcmsr_apps_Makefile_in
Normal file
15
graphics/dcmtk/patches/patch-dcmsr_apps_Makefile_in
Normal file
@ -0,0 +1,15 @@
|
||||
$OpenBSD: patch-dcmsr_apps_Makefile_in,v 1.1.1.1 2008/04/10 10:09:56 djm Exp $
|
||||
--- dcmsr/apps/Makefile.in.orig Mon Aug 20 20:29:44 2007
|
||||
+++ dcmsr/apps/Makefile.in Mon Aug 20 20:29:56 2007
|
||||
@@ -49,9 +49,9 @@ install-bin: all
|
||||
done
|
||||
|
||||
install-support:
|
||||
- $(configdir)/mkinstalldirs $(libdir)
|
||||
+ $(configdir)/mkinstalldirs $(datadir)
|
||||
for file in $(support); do \
|
||||
- $(INSTALL_DATA) $$file $(libdir) ;\
|
||||
+ $(INSTALL_DATA) $$file $(datadir) ;\
|
||||
done
|
||||
|
||||
clean:
|
5
graphics/dcmtk/pkg/DESCR
Normal file
5
graphics/dcmtk/pkg/DESCR
Normal file
@ -0,0 +1,5 @@
|
||||
DCMTK is a collection of libraries and applications implementing large
|
||||
parts of the DICOM standard for medical imaging. It includes software
|
||||
for examining, constructing and converting DICOM image files, handling
|
||||
offline media, sending and receiving images over a network connection,
|
||||
as well as demonstrative image storage and worklist servers.
|
127
graphics/dcmtk/pkg/PLIST
Normal file
127
graphics/dcmtk/pkg/PLIST
Normal file
@ -0,0 +1,127 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/04/10 10:09:56 djm Exp $
|
||||
bin/dcm2pnm
|
||||
bin/dcm2xml
|
||||
bin/dcmcjpeg
|
||||
bin/dcmconv
|
||||
bin/dcmcrle
|
||||
bin/dcmdjpeg
|
||||
bin/dcmdrle
|
||||
bin/dcmdspfn
|
||||
bin/dcmdump
|
||||
bin/dcmftest
|
||||
bin/dcmgpdir
|
||||
bin/dcmj2pnm
|
||||
bin/dcmmkcrv
|
||||
bin/dcmmkdir
|
||||
bin/dcmmklut
|
||||
bin/dcmodify
|
||||
bin/dcmp2pgm
|
||||
bin/dcmprscp
|
||||
bin/dcmprscu
|
||||
bin/dcmpschk
|
||||
bin/dcmpsmk
|
||||
bin/dcmpsprt
|
||||
bin/dcmpsrcv
|
||||
bin/dcmpssnd
|
||||
bin/dcmqridx
|
||||
bin/dcmqrscp
|
||||
bin/dcmqrti
|
||||
bin/dcmquant
|
||||
bin/dcmscale
|
||||
bin/dcmsign
|
||||
bin/dcod2lum
|
||||
bin/dconvlum
|
||||
bin/dsr2html
|
||||
bin/dsr2xml
|
||||
bin/dsrdump
|
||||
bin/dump2dcm
|
||||
bin/echoscu
|
||||
bin/findscu
|
||||
bin/movescu
|
||||
bin/pdf2dcm
|
||||
bin/storescp
|
||||
bin/storescu
|
||||
bin/termscu
|
||||
bin/wlmscpfs
|
||||
bin/xml2dcm
|
||||
bin/xml2dsr
|
||||
lib/dcm2xml.dtd
|
||||
@man man/man1/dcm2pnm.1
|
||||
@man man/man1/dcm2xml.1
|
||||
@man man/man1/dcmcjpeg.1
|
||||
@man man/man1/dcmconv.1
|
||||
@man man/man1/dcmcrle.1
|
||||
@man man/man1/dcmdjpeg.1
|
||||
@man man/man1/dcmdrle.1
|
||||
@man man/man1/dcmdspfn.1
|
||||
@man man/man1/dcmdump.1
|
||||
@man man/man1/dcmftest.1
|
||||
@man man/man1/dcmgpdir.1
|
||||
@man man/man1/dcmj2pnm.1
|
||||
@man man/man1/dcmmkcrv.1
|
||||
@man man/man1/dcmmkdir.1
|
||||
@man man/man1/dcmmklut.1
|
||||
@man man/man1/dcmodify.1
|
||||
@man man/man1/dcmp2pgm.1
|
||||
@man man/man1/dcmprscp.1
|
||||
@man man/man1/dcmprscu.1
|
||||
@man man/man1/dcmpschk.1
|
||||
@man man/man1/dcmpsmk.1
|
||||
@man man/man1/dcmpsprt.1
|
||||
@man man/man1/dcmpsrcv.1
|
||||
@man man/man1/dcmpssnd.1
|
||||
@man man/man1/dcmqridx.1
|
||||
@man man/man1/dcmqrscp.1
|
||||
@man man/man1/dcmqrti.1
|
||||
@man man/man1/dcmquant.1
|
||||
@man man/man1/dcmscale.1
|
||||
@man man/man1/dcmsign.1
|
||||
@man man/man1/dcod2lum.1
|
||||
@man man/man1/dconvlum.1
|
||||
@man man/man1/dsr2html.1
|
||||
@man man/man1/dsr2xml.1
|
||||
@man man/man1/dsrdump.1
|
||||
@man man/man1/dump2dcm.1
|
||||
@man man/man1/echoscu.1
|
||||
@man man/man1/findscu.1
|
||||
@man man/man1/movescu.1
|
||||
@man man/man1/pdf2dcm.1
|
||||
@man man/man1/storescp.1
|
||||
@man man/man1/storescu.1
|
||||
@man man/man1/termscu.1
|
||||
@man man/man1/wlmscpfs.1
|
||||
@man man/man1/xml2dcm.1
|
||||
@man man/man1/xml2dsr.1
|
||||
share/dcmtk/
|
||||
share/dcmtk/camera.lut
|
||||
share/dcmtk/dicom.dic
|
||||
share/dcmtk/dsr2xml.xsd
|
||||
share/dcmtk/dumppat.txt
|
||||
share/dcmtk/monitor.lut
|
||||
share/dcmtk/philips.lut
|
||||
share/dcmtk/printer.lut
|
||||
share/dcmtk/scanner.lut
|
||||
share/doc/dcmtk/
|
||||
share/doc/dcmtk/COPYRIGHT
|
||||
share/doc/dcmtk/FAQ
|
||||
share/doc/dcmtk/HISTORY
|
||||
share/doc/dcmtk/asconfig.txt
|
||||
share/doc/dcmtk/ciphers.txt
|
||||
share/doc/dcmtk/datadict.txt
|
||||
share/doc/dcmtk/dcmqrcnf.txt
|
||||
share/doc/dcmtk/dcmqrset.txt
|
||||
share/doc/dcmtk/randseed.txt
|
||||
share/doc/dcmtk/testing.txt
|
||||
share/doc/dcmtk/wwwapp.txt
|
||||
share/examples/dcmtk/
|
||||
@sample ${SYSCONFDIR}/dcmtk/
|
||||
share/examples/dcmtk/dcmpstat.cfg
|
||||
@sample ${SYSCONFDIR}/dcmtk/dcmpstat.cfg
|
||||
share/examples/dcmtk/dcmqrscp.cfg
|
||||
@sample ${SYSCONFDIR}/dcmtk/dcmqrscp.cfg
|
||||
share/examples/dcmtk/printers.cfg
|
||||
@sample ${SYSCONFDIR}/dcmtk/printers.cfg
|
||||
share/examples/dcmtk/storescp.cfg
|
||||
@sample ${SYSCONFDIR}/dcmtk/storescp.cfg
|
||||
share/examples/dcmtk/storescu.cfg
|
||||
@sample ${SYSCONFDIR}/dcmtk/storescu.cfg
|
Loading…
Reference in New Issue
Block a user