summaryrefslogtreecommitdiff
path: root/science/py-rmf/Makefile
blob: 17108548290bb44bbada8762039c3c7a9a82cb3e (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
# $FreeBSD$

PORTNAME=	rmf
DISTVERSION=	1.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=	swig3.0:devel/swig30
LIB_DEPENDS=	libRMF.so:science/rmf

USES=		cmake compiler:c++11-lang python 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>