math/py-gau2grid: Add NATIVE option

This commit is contained in:
Yuri Victorovich
2023-07-14 08:01:27 -07:00
parent 758cd80273
commit 1b33f9978e

View File

@@ -1,7 +1,7 @@
PORTNAME= gau2grid
DISTVERSIONPREFIX= v
DISTVERSION= 2.0.7
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= math python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -25,6 +25,10 @@ USE_PYTHON= flavors
CMAKE_ON= INSTALL_PYMOD
CMAKE_ARGS= -DPYMOD_INSTALL_LIBDIR:STRING=${PYTHON_SITELIBDIR} -DFREEBSD_PYTHON_VER:STRING=${PYTHON_VER}
OPTIONS_DEFINE= NATIVE
NATIVE_CMAKE_BOOL= ENABLE_XHOST
post-install:
@${RM} -r ${STAGEDIR}${PYTHON_SITELIBDIR}/gau2grid/__pycache__
@${RM} -r ${STAGEDIR}${LOCALBASE}//lib/usr # LICENSE is installed under there