From owner-svn-ports-all@freebsd.org Tue Dec 15 12:29:13 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A2B164B517C; Tue, 15 Dec 2020 12:29:13 +0000 (UTC) (envelope-from makc@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CwHcn4C3Mz3pft; Tue, 15 Dec 2020 12:29:13 +0000 (UTC) (envelope-from makc@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 832A613C39; Tue, 15 Dec 2020 12:29:13 +0000 (UTC) (envelope-from makc@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 0BFCTDIg095602; Tue, 15 Dec 2020 12:29:13 GMT (envelope-from makc@FreeBSD.org) Received: (from makc@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 0BFCTCQ7095596; Tue, 15 Dec 2020 12:29:12 GMT (envelope-from makc@FreeBSD.org) Message-Id: <202012151229.0BFCTCQ7095596@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: makc set sender to makc@FreeBSD.org using -f From: Max Brazhnikov Date: Tue, 15 Dec 2020 12:29:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r558158 - head/math/cddlib X-SVN-Group: ports-head X-SVN-Commit-Author: makc X-SVN-Commit-Paths: head/math/cddlib X-SVN-Commit-Revision: 558158 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Dec 2020 12:29:13 -0000 Author: makc Date: Tue Dec 15 12:29:12 2020 New Revision: 558158 URL: https://svnweb.freebsd.org/changeset/ports/558158 Log: math/cddlib: - Update to 0.94l - Adopt port - Simplify COMMENT. - Remove USE_GITHUB and include MASTER_SITES instead. We are only working with releases anyway, and the release tar.gz includes already build documentation, which means we don't depend on TeX Live for building the manual anymore. - Replace MANUAL with the more common DOCS option. - Remove do-install target and non-standard variable HEADERSDIR. The header files are installed in ${PREFIX}/include/cddlib by default. Create a link to ${PREFIX}/include/cdd in post-install target. Some applications expect the headers to be in cdddlib others in cdd, so we should provide both directories. - Rewrite pkg-descr. PR: 250878 Submitted by: Moritz Schmitt Modified: head/math/cddlib/Makefile head/math/cddlib/distinfo head/math/cddlib/pkg-descr head/math/cddlib/pkg-plist Modified: head/math/cddlib/Makefile ============================================================================== --- head/math/cddlib/Makefile Tue Dec 15 12:01:34 2020 (r558157) +++ head/math/cddlib/Makefile Tue Dec 15 12:29:12 2020 (r558158) @@ -1,12 +1,12 @@ # $FreeBSD$ PORTNAME= cddlib -PORTVERSION= 0.94j -PORTREVISION= 2 +PORTVERSION= 0.94l CATEGORIES= math +MASTER_SITES= https://github.com/cddlib/cddlib/releases/download/${DISTVERSION}/ -MAINTAINER= ports@FreeBSD.org -COMMENT= C implementation of the Double Description Method of Motzkin et al +MAINTAINER= moritz@schmi.tt +COMMENT= C-library implementation of the Double Description Method LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING @@ -15,40 +15,18 @@ LIB_DEPENDS= libgmp.so:math/gmp USES= autoreconf gmake libtool:build localbase:ldflags USE_LDCONFIG= yes -USE_GITHUB= yes -GH_ACCOUNT= cddlib GNU_CONFIGURE= yes -OPTIONS_DEFINE= MANUAL EXAMPLES +OPTIONS_DEFINE= DOCS EXAMPLES OPTIONS_SUB= yes -MANUAL_DESC= User manual (many dependencies, including texlive) -MANUAL_BUILD_DEPENDS= latex:print/tex-formats \ - dvips:print/tex-dvipsk +DOCS_DESC= Install cddlib user manual +EXAMPLES_DESC= Install cddlib examples -HEADERSDIR= ${PREFIX}/include/cdd - -pre-build-MANUAL-off: - ${REINPLACE_CMD} 's,doc lib-src,lib-src,' ${WRKSRC}/Makefile.am - -do-install: - ${MKDIR} ${STAGEDIR}${HEADERSDIR} - cd ${WRKSRC}/src/.libs && ${COPYTREE_BIN} . ${STAGEDIR}${PREFIX}/bin - cd ${WRKSRC}/lib-src/.libs && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/lib '-name *\.so*' - cd ${WRKSRC}/lib-src/.libs && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/lib '-name *\.a' - cd ${WRKSRC}/lib-src && ${COPYTREE_SHARE} . ${STAGEDIR}${HEADERSDIR} '-name *\.h' - -post-install-MANUAL-on: - ${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_MAN} ${WRKSRC}/doc/cddlibman.dvi ${STAGEDIR}${DOCSDIR} - ${INSTALL_MAN} ${WRKSRC}/doc/cddlibman.pdf ${STAGEDIR}${DOCSDIR} - ${INSTALL_MAN} ${WRKSRC}/doc/cddlibman.ps ${STAGEDIR}${DOCSDIR} - -post-install-EXAMPLES-on: - ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} - cd ${WRKSRC} && ${COPYTREE_SHARE} "examples*" ${STAGEDIR}${EXAMPLESDIR} - post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so + ${RLN} ${STAGEDIR}${PREFIX}/include/cddlib ${STAGEDIR}${PREFIX}/include/cdd + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${MV} ${STAGEDIR}${DOCSDIR}/example* ${STAGEDIR}${EXAMPLESDIR} .include Modified: head/math/cddlib/distinfo ============================================================================== --- head/math/cddlib/distinfo Tue Dec 15 12:01:34 2020 (r558157) +++ head/math/cddlib/distinfo Tue Dec 15 12:29:12 2020 (r558158) @@ -1,3 +1,3 @@ -TIMESTAMP = 1535463043 -SHA256 (cddlib-cddlib-0.94j_GH0.tar.gz) = f54bba785b9f6814be5cf6d76861dd61082997c7b48e0244fc3ccea7195892d4 -SIZE (cddlib-cddlib-0.94j_GH0.tar.gz) = 496651 +TIMESTAMP = 1604604071 +SHA256 (cddlib-0.94l.tar.gz) = 1ef6b1ee44509a26d480cda699ca1a9a38ecc9a2aba5092dbd7390ca285769e0 +SIZE (cddlib-0.94l.tar.gz) = 1350988 Modified: head/math/cddlib/pkg-descr ============================================================================== --- head/math/cddlib/pkg-descr Tue Dec 15 12:01:34 2020 (r558157) +++ head/math/cddlib/pkg-descr Tue Dec 15 12:29:12 2020 (r558158) @@ -1,13 +1,5 @@ -Cddlib is a C library that implements the Double Description Method -of Motzkin et al. for generating all vertices (i.e. extreme points) -and extreme rays of a general convex polyhedron given by a system of -linear inequalities in any finite dimensional real coordinate space. - -The program can be used for the reverse operation (i.e. convex hull -computation). This means that one can move back and forth between an -inequality representation and a generator (i.e. vertex and ray) -representation of a polyhedron with cddlib. Also, cddlib can solve a -linear programming problem, i.e. a problem of maximizing and -minimizing a linear function over P. +cddlib is a C library implementation of the Double Description Method. Given a +convex polyhedron P in R^n, it can be used to change between the V- and +H-representation and to solve linear programming problems over P. WWW: https://github.com/cddlib/cddlib Modified: head/math/cddlib/pkg-plist ============================================================================== --- head/math/cddlib/pkg-plist Tue Dec 15 12:01:34 2020 (r558157) +++ head/math/cddlib/pkg-plist Tue Dec 15 12:29:12 2020 (r558158) @@ -12,12 +12,6 @@ bin/projection bin/projection_gmp bin/redcheck bin/redcheck_gmp -bin/redexter -bin/redexter_gmp -bin/redundancies -bin/redundancies_clarkson -bin/redundancies_clarkson_gmp -bin/redundancies_gmp bin/scdd bin/scdd_gmp bin/testcdd1 @@ -32,25 +26,27 @@ bin/testlp3 bin/testlp3_gmp bin/testshoot bin/testshoot_gmp -include/cdd/cdd.h -include/cdd/cdd_f.h -include/cdd/cddmp.h -include/cdd/cddmp_f.h -include/cdd/cddtypes.h -include/cdd/cddtypes_f.h -include/cdd/setoper.h -include/cdd/splitmix64.h +include/cdd +include/cddlib/cdd.h +include/cddlib/cdd_f.h +include/cddlib/cddmp.h +include/cddlib/cddmp_f.h +include/cddlib/cddtypes.h +include/cddlib/cddtypes_f.h +include/cddlib/setoper.h +include/cddlib/splitmix64.h lib/libcdd.a lib/libcdd.so lib/libcdd.so.0 -lib/libcdd.so.0.0.0 +lib/libcdd.so.0.1.1 lib/libcddgmp.a lib/libcddgmp.so lib/libcddgmp.so.0 lib/libcddgmp.so.0.0.0 -%%MANUAL%%%%DOCSDIR%%/cddlibman.dvi -%%MANUAL%%%%DOCSDIR%%/cddlibman.pdf -%%MANUAL%%%%DOCSDIR%%/cddlibman.ps +libdata/pkgconfig/cddlib.pc +%%PORTDOCS%%%%DOCSDIR%%/cddlibman.dvi +%%PORTDOCS%%%%DOCSDIR%%/cddlibman.pdf +%%PORTDOCS%%%%DOCSDIR%%/cddlibman.ps %%PORTEXAMPLES%%%%EXAMPLESDIR%%/examples-ext/ccc4.ext %%PORTEXAMPLES%%%%EXAMPLESDIR%%/examples-ext/ccc5.ext %%PORTEXAMPLES%%%%EXAMPLESDIR%%/examples-ext/ccc6.ext