Search criteria used: - 11.4 - OSREL* - OSVER* - *_FreeBSD_11 Input from: - adridg: devel/qca-legacy - jbeich: _WITH_DPRINTF, _WITH_GETLINE, GNU bfd workarounds - sunpoet: security/p5-*OpenSSL* Reviewed by: doceng, kde, multimedia, perl, python, ruby, rust Differential Revision: https://reviews.freebsd.org/D32008 Test Plan: make index
34 lines
696 B
Makefile
34 lines
696 B
Makefile
PORTNAME= ducc0
|
|
DISTVERSION= 0.20.0
|
|
CATEGORIES= math
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= Distinctly Useful Code Collection (DUCC)
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pybind11>0:devel/py-pybind11@${PY_FLAVOR}
|
|
RUN_DEPENDS= ${PYNUMPY}
|
|
|
|
USES= python:3.6+
|
|
|
|
USE_PYTHON= distutils autoplist
|
|
|
|
MAKE_ENV= DUCC0_OPTIMIZATION=none
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${ARCH:Mpowerpc64*}
|
|
CFLAGS+= -DNO_WARN_X86_INTRINSICS
|
|
USES+= compiler:gcc-c++11-lib
|
|
.else
|
|
USES+= compiler:c++17-lang
|
|
.endif
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/ducc0*.so
|
|
|
|
.include <bsd.port.mk>
|