mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-25 09:34:11 +00:00
aa7a6c429e
With hat: portmgr
30 lines
649 B
Makefile
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>
|