summaryrefslogtreecommitdiff
path: root/science/py-rmf/Makefile
blob: e2f1b67b87f82dd0ace99dc70103cd1965d14036 (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
PORTNAME=	rmf
DISTVERSION=	1.1
PORTREVISION=	1
CATEGORIES=	science graphics
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Library to support reading and writing of Rich Molecular Format files

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/COPYING

BUILD_DEPENDS=	swig:devel/swig
LIB_DEPENDS=	libRMF.so:science/rmf

USES=		cmake compiler:c++11-lang python:3.6+ shebangfix
USE_GITHUB=	yes
GH_ACCOUNT=	salilab
GH_TAGNAME=	f917cf2
SHEBANG_GLOB=	*.py
USE_PYTHON=	flavors

CMAKE_ARGS=	-DCMAKE_INSTALL_PYTHONDIR:STRING=${PYTHON_SITELIBDIR}
BINARY_ALIAS=	python=${PYTHON_CMD}
LDFLAGS+=	-lRMF

.include <bsd.port.mk>