aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2013-03-21 01:01:02 +0800
committergahr <gahr@FreeBSD.org>2013-03-21 01:01:02 +0800
commita7c842506c3b02f611688816132c7f0567aaec0e (patch)
treec851758ffce5eec22033b23044cde18f172903fc /devel
parent2345b840ee47242f61758c1e92c89e05f163e097 (diff)
downloadfreebsd-ports-gnome-a7c842506c3b02f611688816132c7f0567aaec0e.tar.gz
freebsd-ports-gnome-a7c842506c3b02f611688816132c7f0567aaec0e.tar.zst
freebsd-ports-gnome-a7c842506c3b02f611688816132c7f0567aaec0e.zip
- Update to 2.2.2
Release notes: http://gdcm.sourceforge.net/wiki/index.php/GDCM_Release_2.2.2
Diffstat (limited to 'devel')
-rw-r--r--devel/gdcm/Makefile14
-rw-r--r--devel/gdcm/distinfo4
-rw-r--r--devel/gdcm/pkg-plist3
3 files changed, 13 insertions, 8 deletions
diff --git a/devel/gdcm/Makefile b/devel/gdcm/Makefile
index e2c424f2a61f..5f01eaa66385 100644
--- a/devel/gdcm/Makefile
+++ b/devel/gdcm/Makefile
@@ -9,10 +9,11 @@ MASTER_SITES= SF/gdcm/gdcm%202.x/GDCM%20${PORTVERSION}
MAINTAINER= gahr@FreeBSD.org
COMMENT= Grassroots DICOM library
-LIB_DEPENDS= openjpeg.2:${PORTSDIR}/graphics/openjpeg \
- expat.6:${PORTSDIR}/textproc/expat2
+LIB_DEPENDS= openjpeg:${PORTSDIR}/graphics/openjpeg \
+ expat:${PORTSDIR}/textproc/expat2
-OPTIONS_DEFINE= VTK
+OPTIONS_DEFINE= VTK DOCS
+OPTIONS_UNSET= DOCS
VTK_DESC= Build with VTK bindings
USE_BZIP2= yes
@@ -44,13 +45,13 @@ PLIST_SUB+= VTK="@comment "
GDCM_SO= 2
GDCM_MAJ= 2.2
-GDCM_MIN= 1
+GDCM_MIN= 2
PLIST_SUB+= GDCM_MAJ="${GDCM_MAJ}" \
GDCM_MIN="${GDCM_MIN}" \
GDCM_SO="${GDCM_SO}"
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen \
pdfopt:${PORTSDIR}/print/ghostscript9 \
pdflatex:${PORTSDIR}/print/teTeX-base
@@ -69,5 +70,8 @@ CMAKE_ARGS+= -DGDCM_DOCUMENTATION:BOOL=NO
post-patch:
${REINPLACE_CMD} -e 's| NAMELINK_SKIP||; s| NAMELINK_ONLY||' ${WRKSRC}/CMakeLists.txt
${REINPLACE_CMD} -e 's|share/man|man|g;' ${WRKSRC}/CMakeLists.txt
+.if ${PORT_OPTIONS:MDOCS}
+ cd ${WRKSRC}/Utilities/doxygen && ${LOCALBASE}/bin/doxygen -u doxyfile.in
+.endif
.include <bsd.port.mk>
diff --git a/devel/gdcm/distinfo b/devel/gdcm/distinfo
index d773f7dc0d5c..120dadc65fbd 100644
--- a/devel/gdcm/distinfo
+++ b/devel/gdcm/distinfo
@@ -1,2 +1,2 @@
-SHA256 (gdcm-2.2.1.tar.bz2) = 1a6e40b6652c658cccbaaf50c21bd9312efa99c73e612931f215d7f6bd8926ed
-SIZE (gdcm-2.2.1.tar.bz2) = 4234346
+SHA256 (gdcm-2.2.2.tar.bz2) = 2f12f23abf1ff6e1cca5a0de4f7f8cf67a3ad0af7e95e74d6a51e03eaf10eb12
+SIZE (gdcm-2.2.2.tar.bz2) = 4275758
diff --git a/devel/gdcm/pkg-plist b/devel/gdcm/pkg-plist
index 4f2d705efabb..055c5b0ca8fd 100644
--- a/devel/gdcm/pkg-plist
+++ b/devel/gdcm/pkg-plist
@@ -99,6 +99,7 @@ include/gdcm-%%GDCM_MAJ%%/gdcmExplicitImplicitDataElement.h
include/gdcm-%%GDCM_MAJ%%/gdcmExplicitImplicitDataElement.txx
include/gdcm-%%GDCM_MAJ%%/gdcmFiducials.h
include/gdcm-%%GDCM_MAJ%%/gdcmFile.h
+include/gdcm-%%GDCM_MAJ%%/gdcmFileAnonymizer.h
include/gdcm-%%GDCM_MAJ%%/gdcmFileDerivation.h
include/gdcm-%%GDCM_MAJ%%/gdcmFileExplicitFilter.h
include/gdcm-%%GDCM_MAJ%%/gdcmFileMetaInformation.h
@@ -309,8 +310,8 @@ include/gdcm-%%GDCM_MAJ%%/gdcmcharls/interface.h
include/gdcm-%%GDCM_MAJ%%/gdcmcharls/lookuptable.h
include/gdcm-%%GDCM_MAJ%%/gdcmcharls/losslesstraits.h
include/gdcm-%%GDCM_MAJ%%/gdcmcharls/processline.h
+include/gdcm-%%GDCM_MAJ%%/gdcmcharls/publictypes.h
include/gdcm-%%GDCM_MAJ%%/gdcmcharls/scan.h
-include/gdcm-%%GDCM_MAJ%%/gdcmcharls/stdafx.h
include/gdcm-%%GDCM_MAJ%%/gdcmcharls/streams.h
include/gdcm-%%GDCM_MAJ%%/gdcmcharls/util.h
include/gdcm-%%GDCM_MAJ%%/gdcmjpeg/12/jconfig.h