1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00
freebsd-ports/science/py-rmf/Makefile
Antoine Brodin aa7a6c429e Drop python 2.7 support from a few ports
With hat:	portmgr
2020-12-28 23:02:12 +00:00

30 lines
649 B
Makefile

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