04470a19e6
PR: 285957
31 lines
630 B
Makefile
31 lines
630 B
Makefile
PORTNAME= libarea
|
|
PORTVERSION= 20191031
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel cad
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= CAM-related software for profile and pocketing operations
|
|
WWW= https://github.com/heeks/libarea
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
LIB_DEPENDS= ${PY_BOOST}
|
|
BUILD_DEPENDS= ${PY_SETUPTOOLS}
|
|
|
|
USES= cmake python
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= Heeks
|
|
GH_TAGNAME= 2752cd9
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
CXXFLAGS+= "-DBOOST_TIMER_ENABLE_DEPRECATED=yes"
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} 's,COMMAND python ,COMMAND ${PYTHON_CMD} , ; \
|
|
s,COMMAND python-config ,COMMAND ${PYTHON_CMD}-config ,' \
|
|
${WRKSRC}/CMakeLists.txt
|
|
|
|
.include <bsd.port.mk>
|