freebsd-ports/science/py-rmf/Makefile
Mark Linimon 0fc750a4ce This port requires USES=compiler:c++11-lang to build on GCC-based
architectures.

PR:		234355
Submitted by:	Piotr Kubaj
Approved by:	maintainer
2019-01-12 23:32:09 +00:00

29 lines
633 B
Makefile

# $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>