diff options
author | Pietro Cerutti <gahr@FreeBSD.org> | 2011-07-01 09:56:53 +0000 |
---|---|---|
committer | Pietro Cerutti <gahr@FreeBSD.org> | 2011-07-01 09:56:53 +0000 |
commit | e6a3328b18df87e42fd86b24d533a9697f9c03c0 (patch) | |
tree | d857c4f8168e6023b953bd18fc46b97368d94212 /devel/gdcm/Makefile | |
parent | 598d32e3ae46bd4a5f295e2285fdb8e44e736e41 (diff) | |
download | ports-e6a3328b18df87e42fd86b24d533a9697f9c03c0.tar.gz ports-e6a3328b18df87e42fd86b24d533a9697f9c03c0.zip |
Notes
Diffstat (limited to 'devel/gdcm/Makefile')
-rw-r--r-- | devel/gdcm/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/devel/gdcm/Makefile b/devel/gdcm/Makefile index 783e6947e54f..d670185b5df5 100644 --- a/devel/gdcm/Makefile +++ b/devel/gdcm/Makefile @@ -6,12 +6,15 @@ PORTNAME= gdcm PORTVERSION= ${GDCM_MAJ}.${GDCM_MIN} +PORTREVISION= 1 CATEGORIES= devel 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 + OPTIONS= VTK "Build the VTK bindings" off USE_BZIP2= yes @@ -39,7 +42,8 @@ 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} + -DGDCM_INSTALL_DATA_DIR:STRING=${DATADIR} \ + -DGDCM_USE_SYSTEM_OPENJPEG:BOOL=YES .if !defined(NOPORTDOCS) BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen \ @@ -49,7 +53,6 @@ CMAKE_ARGS+= -DGDCM_DOCUMENTATION:BOOL=YES \ 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 -MAN3= libopenjpeg.3 PORTDOCS= * post-install: ${MKDIR} ${DOCSDIR} @@ -66,8 +69,6 @@ MANUAL_PACKAGE_BUILD= hangs on pointyhat post-patch: ${REINPLACE_CMD} -e 's| NAMELINK_SKIP||; s| NAMELINK_ONLY||' ${WRKSRC}/CMakeLists.txt - ${REINPLACE_CMD} -e 's|share/man|man|g; /DESTINATION/s|$${OPENJPEG_INSTALL_DOC_DIR}|${DOCSDIR}|g' \ - ${WRKSRC}/Utilities/gdcmopenjpeg-v1/CMakeLists.txt \ - ${WRKSRC}/CMakeLists.txt + ${REINPLACE_CMD} -e 's|share/man|man|g;' ${WRKSRC}/CMakeLists.txt .include <bsd.port.post.mk> |