git: 2f037722d722 - main - cad/surelog: Fix PYTHON option
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 27 May 2023 10:02:11 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=2f037722d7222a457a9e1c31ec35583e3c6f5227 commit 2f037722d7222a457a9e1c31ec35583e3c6f5227 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2023-05-26 06:23:36 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2023-05-27 10:02:08 +0000 cad/surelog: Fix PYTHON option --- cad/surelog/Makefile | 2 ++ cad/surelog/pkg-plist | 3 +++ 2 files changed, 5 insertions(+) diff --git a/cad/surelog/Makefile b/cad/surelog/Makefile index 7437354b09b8..0108d1a2435f 100644 --- a/cad/surelog/Makefile +++ b/cad/surelog/Makefile @@ -1,6 +1,7 @@ PORTNAME= surelog DISTVERSIONPREFIX= v DISTVERSION= 1.59 +PORTREVISION= 1 CATEGORIES= cad MAINTAINER= yuri@FreeBSD.org @@ -50,6 +51,7 @@ OPTIONS_SUB= yes PYTHON_USES= python PYTHON_USES_OFF= python:build +PYTHON_BUILD_DEPENDS= swig:devel/swig PYTHON_CMAKE_BOOL= SURELOG_WITH_PYTHON PYTHON_CMAKE_ON= -DFREEBSD_PYTHON_DISTVERSION=${PYTHON_DISTVERSION} diff --git a/cad/surelog/pkg-plist b/cad/surelog/pkg-plist index 859ff7149bac..aaab31c5c151 100644 --- a/cad/surelog/pkg-plist +++ b/cad/surelog/pkg-plist @@ -83,4 +83,7 @@ lib/cmake/Surelog/SurelogTargets.cmake lib/surelog/libantlr4-runtime.a lib/surelog/libflatbuffers.a lib/surelog/libsurelog.so +%%PYTHON%%lib/surelog/python/slSV3_1aPythonListener.py +%%PYTHON%%lib/surelog/python/slformatmsg.py +%%PYTHON%%lib/surelog/python/slwaivers.py libdata/pkgconfig/Surelog.pc