Files
ports/devel/libarea/Makefile
T
Antoine Brodin 04470a19e6 misc: fix build with python 3.12
PR:		285957
2026-02-15 07:51:06 +00:00

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>