svn commit: r481995 - in head/math: . cddlib

Adam Weinberger adamw at adamw.org
Sat Oct 13 17:14:37 UTC 2018


On Sat, Oct 13, 2018 at 10:29 AM Fernando Apesteguía
<fernape at freebsd.org> wrote:
>
> Author: fernape
> Date: Sat Oct 13 16:29:45 2018
> New Revision: 481995
> URL: https://svnweb.freebsd.org/changeset/ports/481995
>
> Log:
>   New port: math/cddlib
>
>   C implementation of the Double Description Method of Motzkin et al
>
>   PR:   231161
>   Submitted by: phascolarctos at protonmail.ch
>   Reviewed by:  tcberner (mentor, implicit)
>   Differential Revision:        https://reviews.freebsd.org/D17385
>
> Added:
>   head/math/cddlib/
>   head/math/cddlib/Makefile   (contents, props changed)
>   head/math/cddlib/distinfo   (contents, props changed)
>   head/math/cddlib/pkg-descr   (contents, props changed)
>   head/math/cddlib/pkg-plist   (contents, props changed)
> Modified:
>   head/math/Makefile
>
> Modified: head/math/Makefile
> ==============================================================================
> --- head/math/Makefile  Sat Oct 13 15:56:02 2018        (r481994)
> +++ head/math/Makefile  Sat Oct 13 16:29:45 2018        (r481995)
> @@ -150,6 +150,7 @@
>      SUBDIR += cbc
>      SUBDIR += cblas
>      SUBDIR += ccmath
> +    SUBDIR += cddlib
>      SUBDIR += ceres-solver
>      SUBDIR += cgal
>      SUBDIR += cgl
>
> Added: head/math/cddlib/Makefile
> ==============================================================================
> --- /dev/null   00:00:00 1970   (empty, because file is newly added)
> +++ head/math/cddlib/Makefile   Sat Oct 13 16:29:45 2018        (r481995)
> @@ -0,0 +1,50 @@
> +# $FreeBSD$
> +
> +PORTNAME=      cddlib
> +PORTVERSION=   0.94j
> +CATEGORIES=    math
> +
> +MAINTAINER=    phascolarctos at protonmail.ch
> +COMMENT=       C implementation of the Double Description Method of Motzkin et al
> +
> +LICENSE=       GPLv2+
> +LICENSE_FILE=  ${WRKSRC}/COPYING
> +
> +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_SUB=   yes
> +MANUAL_DESC=   User manual (many dependencies, including texlive)
> +MANUAL_BUILD_DEPENDS=  latex:print/tex-formats \
> +                       dvips:print/tex-dvipsk
> +
> +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_BIN} . ${STAGEDIR}${PREFIX}/lib '-name *\.so*'

COPYTREE_BIN looks wrong here. Why should libraries be executable?

# Adam



-- 
Adam Weinberger
adamw at adamw.org
https://www.adamw.org


More information about the svn-ports-head mailing list