pkgsrc-Changes archive

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

CVS commit: pkgsrc/math/admesh



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon Oct  6 07:56:40 UTC 2025

Modified Files:
        pkgsrc/math/admesh: Makefile PLIST distinfo
Added Files:
        pkgsrc/math/admesh/patches: patch-Makefile.am

Log Message:
admesh: add libtool dependency to fix build

Use standard installation target to fix installation.

Simplify.

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 pkgsrc/math/admesh/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/math/admesh/PLIST
cvs rdiff -u -r1.7 -r1.8 pkgsrc/math/admesh/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/math/admesh/patches/patch-Makefile.am

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

Modified files:

Index: pkgsrc/math/admesh/Makefile
diff -u pkgsrc/math/admesh/Makefile:1.13 pkgsrc/math/admesh/Makefile:1.14
--- pkgsrc/math/admesh/Makefile:1.13    Sat Oct  4 17:15:36 2025
+++ pkgsrc/math/admesh/Makefile Mon Oct  6 07:56:40 2025
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.13 2025/10/04 17:15:36 kikadf Exp $
+# $NetBSD: Makefile,v 1.14 2025/10/06 07:56:40 wiz Exp $
 
 DISTNAME=              admesh-0.98.5
+PKGREVISION=           1
 CATEGORIES=            math
 MASTER_SITES=          ${MASTER_SITE_GITHUB:=admesh/}
 GITHUB_TAG=            v${PKGVERSION_NOREV}
@@ -11,28 +12,18 @@ COMMENT=            Program for processing triangu
 LICENSE=               gnu-gpl-v2
 
 GNU_CONFIGURE=         yes
-INSTALLATION_DIRS=     bin
-INSTALLATION_DIRS+=    lib
-INSTALLATION_DIRS+=    share/doc/admesh
 INSTALLATION_DIRS+=    share/examples/admesh
+USE_LIBTOOL=           yes
 USE_TOOLS+=            autoheader automake autoreconf
 USE_LANGUAGES=         c
 
+PKGCONFIG_OVERRIDE+=   libadmesh.pc.in
+
 pre-configure:
-       cd ${WRKSRC} && \
-               ${SED} -i.bak -e '/git/d' \
-                       -e '/fortag/d' Makefile.am && \
-               ${SH} ./autogen.sh
-
-do-install:
-       ${INSTALL_PROGRAM} ${WRKSRC}/.libs/admesh ${DESTDIR}${PREFIX}/bin
-.for lib in libadmesh.so libadmesh.so.1 libadmesh.so.1.0
-       ${INSTALL_LIB} ${WRKSRC}/.libs/${lib} ${DESTDIR}${PREFIX}/lib
-.endfor
-       cd ${WRKSRC} && ${INSTALL_DATA} README.md admesh-doc.txt \
-               ${DESTDIR}${PREFIX}/share/doc/admesh
+       cd ${WRKSRC} && autoreconf -fiv
+
+post-install:
        ${INSTALL_DATA} ${WRKSRC}/block.stl \
                ${DESTDIR}${PREFIX}/share/examples/admesh
 
-
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/math/admesh/PLIST
diff -u pkgsrc/math/admesh/PLIST:1.3 pkgsrc/math/admesh/PLIST:1.4
--- pkgsrc/math/admesh/PLIST:1.3        Sat Oct  4 17:15:36 2025
+++ pkgsrc/math/admesh/PLIST    Mon Oct  6 07:56:40 2025
@@ -1,8 +1,11 @@
-@comment $NetBSD: PLIST,v 1.3 2025/10/04 17:15:36 kikadf Exp $
+@comment $NetBSD: PLIST,v 1.4 2025/10/06 07:56:40 wiz Exp $
 bin/admesh
-lib/libadmesh.so
-lib/libadmesh.so.1
-lib/libadmesh.so.1.0
+include/admesh/stl.h
+lib/libadmesh.la
+lib/pkgconfig/libadmesh.pc
+man/man1/admesh.1
+share/doc/admesh/COPYING
+share/doc/admesh/ChangeLog.old
 share/doc/admesh/README.md
 share/doc/admesh/admesh-doc.txt
 share/examples/admesh/block.stl

Index: pkgsrc/math/admesh/distinfo
diff -u pkgsrc/math/admesh/distinfo:1.7 pkgsrc/math/admesh/distinfo:1.8
--- pkgsrc/math/admesh/distinfo:1.7     Sat Oct  4 17:15:36 2025
+++ pkgsrc/math/admesh/distinfo Mon Oct  6 07:56:40 2025
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.7 2025/10/04 17:15:36 kikadf Exp $
+$NetBSD: distinfo,v 1.8 2025/10/06 07:56:40 wiz Exp $
 
 BLAKE2s (admesh-0.98.5.tar.gz) = c9f30eb0dc7284a4d2dab74ecd46c3dccdcfa88b4bb969551afb170d4de818d3
 SHA512 (admesh-0.98.5.tar.gz) = 3ee049e2194365798ca42ec29efa85fbec5651b8876385ab79a81301054be7ce1194b3083a5efe202db63884be8a709ea4c1b9a9247a941283aaa525ee2cc03b
 Size (admesh-0.98.5.tar.gz) = 41122 bytes
+SHA1 (patch-Makefile.am) = af2fdd7020747681554c6b04bb3da663761a3949
 SHA1 (patch-src_portable__endian.h) = 603cc2afac5a0def66f65a5b2cb2de0d880d75e0

Added files:

Index: pkgsrc/math/admesh/patches/patch-Makefile.am
diff -u /dev/null pkgsrc/math/admesh/patches/patch-Makefile.am:1.1
--- /dev/null   Mon Oct  6 07:56:40 2025
+++ pkgsrc/math/admesh/patches/patch-Makefile.am        Mon Oct  6 07:56:40 2025
@@ -0,0 +1,15 @@
+$NetBSD: patch-Makefile.am,v 1.1 2025/10/06 07:56:40 wiz Exp $
+
+AUTHORS file needs git and network access, ChangeLog file too.
+
+--- Makefile.am.orig   2022-11-21 12:31:04.000000000 +0000
++++ Makefile.am
+@@ -10,8 +10,6 @@ doc_DATA = \
+       admesh-doc.txt \
+       README.md \
+       COPYING \
+-      AUTHORS \
+-      ChangeLog \
+       ChangeLog.old
+ 
+ EXTRA_DIST = \



Home | Main Index | Thread Index | Old Index