summaryrefslogtreecommitdiff
path: root/science/py-mmtf-python/Makefile
blob: 6bff6c6cf5ff1d2fa09b44d9b82c6439c4ef6d83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
PORTNAME=	mmtf-python
DISTVERSIONPREFIX=	v
DISTVERSION=	1.1.3
CATEGORIES=	science python
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	MMTF (Macromolecular Transmission Format) Python API
WWW=		https://github.com/rcsb/mmtf-python

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/LICENSE.txt

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}msgpack>=1.0.0:devel/py-msgpack@${PY_FLAVOR} \
		${PYNUMPY}

USES=		python:3.6+
USE_PYTHON=	distutils autoplist

USE_GITHUB=	yes
GH_ACCOUNT=	rcsb

NO_ARCH=	yes

post-build:
	@${RM} ${STAGEDIR}${PREFIX}/bin/sample

post-plist:
	@${REINPLACE_CMD} -e '|bin/sample|d' ${TMPPLIST}

.include <bsd.port.mk>