1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/devel/dcmtk/Makefile
Bernard Spil c2f6dd6ade security/openssl-devel: Mark ports broken cat devel
- REASON from build log
2018-02-16 18:35:03 +00:00

51 lines
1.4 KiB
Makefile

# Created by: gahr
# $FreeBSD$
PORTNAME= dcmtk
DISTVERSION= 3.6.0
PORTREVISION= 5
CATEGORIES= devel
MASTER_SITES= ftp://dicom.offis.de/pub/dicom/offis/software/${PORTNAME}/${PORTNAME}${PORTVERSION:S/.//g}/
MAINTAINER= ports@FreeBSD.org
COMMENT= Toolkit to work with DICOM objects
BROKEN_SSL= openssl-devel
BROKEN_SSL_REASON_openssl-devel= use of undeclared identifier 'TLS1_TXT_RSA_EXPORT1024_WITH_DES_CBC_SHA'
LIB_DEPENDS= libtiff.so:graphics/tiff \
libpng.so:graphics/png
USE_GNOME= libxml2
USE_LDCONFIG= yes
USES= cmake:outsource jpeg ssl
CMAKE_ARGS+= -DDCMTK_WITH_DOXYGEN:BOOL=OFF \
-DDCMTK_WITH_OPENSSL:BOOL=ON
SHLIBS= dcmdata dcmdsig dcmimage dcmimgle dcmjpeg dcmnet \
dcmpstat dcmqrdb dcmsr dcmtls dcmwlm ijg8 ijg12 \
ijg16 i2d ofstd oflog charls dcmjpls
SHLIBVER= ${PORTVERSION:R:R}
PLIST_SUB= SHLIBVER=${SHLIBVER}
PORTDOCS= *
OPTIONS_DEFINE= DOCS
post-patch:
${FIND} ${WRKSRC} -name "*.h.orig" -delete
post-patch-DOCS-off:
${FIND} ${WRKSRC} -name CMakeLists.txt | ${XARGS} \
${REINPLACE_CMD} -e '/INSTALL_DOCDIR/d'
post-install:
${INSTALL_DATA} ${WRKSRC}/doxygen/manpages/man1/*.1 ${STAGEDIR}${PREFIX}/man/man1/
.for shlib in ${SHLIBS}
@${MV} ${STAGEDIR}${PREFIX}/lib/lib${shlib}.so ${STAGEDIR}${PREFIX}/lib/lib${shlib}.so.${SHLIBVER}
@${LN} -sf ${PREFIX}/lib/lib${shlib}.so.${SHLIBVER} ${STAGEDIR}${PREFIX}/lib/lib${shlib}.so
.endfor
.include <bsd.port.mk>