pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

ledger: fix PLIST for python option



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Sun Jun 28 18:19:17 2026 +0200
Changeset:	ec8eab65a13cecc189bae70e2c36f7ecab60ee0f

Modified Files:
	ledger/Makefile
	ledger/PLIST

Log Message:
ledger: fix PLIST for python option

Fix installed scripts to have the correct interpreter.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=ec8eab65a13cecc189bae70e2c36f7ecab60ee0f

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 ledger/Makefile | 13 ++++++++++++-
 ledger/PLIST    |  2 +-
 2 files changed, 13 insertions(+), 2 deletions(-)

diffs:
diff --git a/ledger/Makefile b/ledger/Makefile
index 357545665d..45a5098d02 100644
--- a/ledger/Makefile
+++ b/ledger/Makefile
@@ -15,6 +15,8 @@ CONFLICTS+=	ledger32>=0
 USE_CXX_FEATURES+=	c++11
 
 USE_LANGUAGES=	c c++
+USE_TOOLS+=	perl:run
+
 TEST_TARGET=	check
 TEST_ENV+=	LD_LIBRARY_PATH=${WRKSRC:Q}/${CMAKE_BUILD_DIR:Q}
 TEST_ENV+=	DYLD_LIBRARY_PATH=${WRKSRC:Q}/${CMAKE_BUILD_DIR:Q}
@@ -27,8 +29,11 @@ CMAKE_CONFIGURE_ARGS+=	-DCMAKE_POLICY_VERSION_MINIMUM=3.16.2
 
 .include "options.mk"
 
-REPLACE_PYTHON+=	contrib/getquote-uk.py
 REPLACE_PYTHON+=	acprep
+REPLACE_PYTHON+=	contrib/getquote-uk.py
+REPLACE_PYTHON+=	contrib/ledger-du
+REPLACE_PYTHON+=	contrib/non-profit-audit-reports/csv2ods.py
+REPLACE_PYTHON+=	contrib/non-profit-audit-reports/readcsv.py
 REPLACE_PYTHON+=	python/demo.py
 REPLACE_PYTHON+=	test/DocTests.py
 REPLACE_PYTHON+=	test/LedgerHarness.py
@@ -36,6 +41,12 @@ REPLACE_PYTHON+=	test/RegressTests.py
 REPLACE_PYTHON+=	test/convert.py
 REPLACE_PYTHON+=	tools/genuuid
 
+REPLACE_PERL+=		contrib/getquote.pl
+REPLACE_PERL+=		contrib/non-profit-audit-reports/*.plx
+REPLACE_PERL+=		contrib/raw/GenerateLatexExpeneseReport.pl
+
+REPLACE_SH+=		contrib/repl.sh
+
 .include "../../devel/boost-headers/buildlink3.mk"
 .include "../../devel/boost-libs/buildlink3.mk"
 .include "../../devel/cmake/build.mk"
diff --git a/ledger/PLIST b/ledger/PLIST
index 4e3b117e81..303f2dbbb9 100644
--- a/ledger/PLIST
+++ b/ledger/PLIST
@@ -60,7 +60,7 @@ include/ledger/value.h
 include/ledger/xact.h
 lib/libledger.so
 lib/libledger.so.3
-${PYSITELIB}/ledger.so
+${PLIST.python}${PYSITELIB}/ledger.so
 man/man1/ledger.1
 share/contrib/README
 share/contrib/bal


Home | Main Index | Thread Index | Old Index