pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/csharp-xapian csharp-xapian: give up on fixed...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ffffe0833c5b
branches:  trunk
changeset: 390620:ffffe0833c5b
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Dec 24 23:09:48 2022 +0000

description:
csharp-xapian: give up on fixed PLIST

The name of the library contains a checksum and it's not stable.
Just generate the PLIST dynamically to fix packaging this.

diffstat:

 textproc/csharp-xapian/Makefile |  7 ++++++-
 textproc/csharp-xapian/PLIST    |  9 ---------
 2 files changed, 6 insertions(+), 10 deletions(-)

diffs (34 lines):

diff -r 9ef1b7e83a7e -r ffffe0833c5b textproc/csharp-xapian/Makefile
--- a/textproc/csharp-xapian/Makefile   Sat Dec 24 15:48:22 2022 +0000
+++ b/textproc/csharp-xapian/Makefile   Sat Dec 24 23:09:48 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2022/11/23 16:21:11 adam Exp $
+# $NetBSD: Makefile,v 1.27 2022/12/24 23:09:48 wiz Exp $
 
 PKGNAME=               csharp-${PKGNAME_MODULE}
 PKGREVISION=           2
@@ -7,6 +7,11 @@
 
 CONFIGURE_ARGS+=       --with-csharp
 
+GENERATE_PLIST+=       \
+       cd ${DESTDIR:Q}${PREFIX:Q} && \
+               ${FIND} * \( -type f -o -type l \) | ${SORT};
+PLIST_SRC=             # none
+
 .include "../../lang/mono/buildlink3.mk"
 .include "../../textproc/xapian/module.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 9ef1b7e83a7e -r ffffe0833c5b textproc/csharp-xapian/PLIST
--- a/textproc/csharp-xapian/PLIST      Sat Dec 24 15:48:22 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-@comment $NetBSD: PLIST,v 1.5 2022/12/21 16:28:56 wiz Exp $
-lib/_XapianSharp.a
-lib/_XapianSharp.so
-lib/mono/XapianSharp/XapianSharp.dll
-lib/mono/gac/XapianSharp/${PKGVERSION}.0__732e01d90df1025d/XapianSharp.dll
-share/doc/xapian-bindings/csharp/examples/SimpleExpand.cs
-share/doc/xapian-bindings/csharp/examples/SimpleIndex.cs
-share/doc/xapian-bindings/csharp/examples/SimpleSearch.cs
-share/doc/xapian-bindings/csharp/index.html



Home | Main Index | Thread Index | Old Index