freebsd-ports/science/py-mmtf-python/Makefile
Mathieu Arnold 4376dbbb58 Use PY_FLAVOR for dependencies.
FLAVOR is the current port's flavor, it should not be used outside of
this scope.

Sponsored by:	Absolight
2018-06-20 17:05:41 +00:00

29 lines
598 B
Makefile

# $FreeBSD$
PORTNAME= mmtf-python
DISTVERSIONPREFIX= v
DISTVERSION= 1.1.2
CATEGORIES= science python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= MMTF (Macromolecular Transmission Format) Python API
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}msgpack>0:devel/py-msgpack@${PY_FLAVOR}
USES= python
USE_GITHUB= yes
GH_ACCOUNT= rcsb
USE_PYTHON= distutils autoplist
NO_ARCH= yes
post-build:
@${RM} ${STAGEDIR}${PREFIX}/bin/sample
post-plist:
@${REINPLACE_CMD} -e '|bin/sample|d' ${TMPPLIST}
.include <bsd.port.mk>