Date: Fri, 15 Mar 2013 13:28:14 +0000 (UTC) From: Pietro Cerutti <gahr@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r314302 - head/devel/dcmtk Message-ID: <201303151328.r2FDSEIT026295@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: gahr Date: Fri Mar 15 13:28:13 2013 New Revision: 314302 URL: http://svnweb.freebsd.org/changeset/ports/314302 Log: - Respect NOPORTDOCS [1] - Trim Makefile header - Remove shared library version from LIB_DEPENDS Reported by: bapt [1] Modified: head/devel/dcmtk/Makefile (contents, props changed) head/devel/dcmtk/pkg-plist (contents, props changed) Modified: head/devel/dcmtk/Makefile ============================================================================== --- head/devel/dcmtk/Makefile Fri Mar 15 13:28:09 2013 (r314301) +++ head/devel/dcmtk/Makefile Fri Mar 15 13:28:13 2013 (r314302) @@ -1,9 +1,5 @@ -# New ports collection Makefile for: dcmtk -# Date created: 26 July 2010 -# Whom: gahr -# +# Created by: gahr # $FreeBSD$ -# PORTNAME= dcmtk DISTVERSION= 3.6.0 @@ -14,14 +10,15 @@ MASTER_SITES= ftp://dicom.offis.de/pub/d MAINTAINER= gahr@FreeBSD.org COMMENT= A toolkit to work with DICOM files -LIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff \ +LIB_DEPENDS= tiff:${PORTSDIR}/graphics/tiff \ png15:${PORTSDIR}/graphics/png \ - jpeg.11:${PORTSDIR}/graphics/jpeg + jpeg:${PORTSDIR}/graphics/jpeg USE_GNOME= libxml2 USE_LDCONFIG= yes USE_CMAKE= yes CMAKE_OUTSOURCE=yes +CMAKE_ARGS+= -DDCMTK_WITH_DOXYGEN:BOOL=OFF SHLIBS= dcmdata dcmdsig dcmimage dcmimgle dcmjpeg dcmnet \ dcmpstat dcmqrdb dcmsr dcmtls dcmwlm ijg8 ijg12 \ @@ -30,6 +27,8 @@ SHLIBS= dcmdata dcmdsig dcmimage dcmimg SHLIBVER= ${PORTVERSION:R:R} PLIST_SUB= SHLIBVER=${SHLIBVER} +PORTDOCS= * + .include <bsd.port.pre.mk> .if ${ARCH} == "amd64" @@ -38,6 +37,10 @@ CFLAGS+= -fPIC post-patch: ${FIND} ${WRKSRC} -name "*.h.orig" -delete +.if !${PORT_OPTIONS:MDOCS} + ${FIND} ${WRKSRC} -name CMakeLists.txt | ${XARGS} \ + ${REINPLACE_CMD} -e '/INSTALL_DOCDIR/d' +.endif post-install: .for shlib in ${SHLIBS} Modified: head/devel/dcmtk/pkg-plist ============================================================================== --- head/devel/dcmtk/pkg-plist Fri Mar 15 13:28:09 2013 (r314301) +++ head/devel/dcmtk/pkg-plist Fri Mar 15 13:28:13 2013 (r314302) @@ -614,30 +614,10 @@ lib/libofstd.so.%%SHLIBVER%% %%DATADIR%%/wlistqry/wlistqry7.dump %%DATADIR%%/wlistqry/wlistqry8.dump %%DATADIR%%/wlistqry/wlistqry9.dump -%%DOCSDIR%%/config.txt -%%DOCSDIR%%/envvars.txt -%%DOCSDIR%%/modules.txt -%%DOCSDIR%%/dirstruc.txt -%%DOCSDIR%%/macros.txt -%%DOCSDIR%%/datadict.txt -%%DOCSDIR%%/ciphers.txt -%%DOCSDIR%%/randseed.txt -%%DOCSDIR%%/asconfig.txt -%%DOCSDIR%%/testing.txt -%%DOCSDIR%%/dcmqrcnf.txt -%%DOCSDIR%%/dcmqrset.txt -%%DOCSDIR%%/wwwapp.txt -%%DOCSDIR%%/ANNOUNCE.360 -%%DOCSDIR%%/CHANGES.360 -%%DOCSDIR%%/COPYRIGHT -%%DOCSDIR%%/FAQ -%%DOCSDIR%%/HISTORY -%%DOCSDIR%%/VERSION @dirrm %%DATADIR%%/wlistdb/OFFIS @dirrm %%DATADIR%%/wlistqry @dirrm %%DATADIR%%/wlistdb @dirrm %%DATADIR%% -@dirrm %%DOCSDIR%%/html @dirrm %%DOCSDIR%% @dirrm etc/dcmtk @dirrm bin/dcmtk
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303151328.r2FDSEIT026295>