math/py-gau2grid: Add NATIVE option
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user