tech-pkg archive

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

Re: sysutils/libtree 3.1.0



At Tue, 22 Mar 2022 11:06:28 +0100, Ismael Luceno <ismael%iodev.co.uk@localhost> wrote:
Subject: sysutils/libtree 3.1.0
>

Excellent!  Most Excellent!

However it doesn't quite handle uses of ${PKGMANDIR}, so:


--- Makefile.~1.1.~	2021-12-31 09:28:11.000000000 -0800
+++ Makefile	2022-03-22 09:58:42.533015333 -0700
@@ -1,6 +1,6 @@
 # $NetBSD: Makefile,v 1.1 2021/12/31 17:28:11 plunky Exp $

-DISTNAME=	libtree-2.0.0
+DISTNAME=	libtree-3.1.0
 CATEGORIES=	sysutils
 MASTER_SITES=	${MASTER_SITE_GITHUB:=haampie/}
 GITHUB_TAG=	v${PKGVERSION_NOREV}
@@ -10,12 +10,16 @@
 COMMENT=	Show library info in a tree form
 LICENSE=	mit

-USE_LANGUAGES=	c c++17
-USE_CMAKE=	yes
+USE_LANGUAGES=	c
+USE_TOOLS+=	gmake

-CMAKE_ARGS+=	-DCMAKE_BUILD_TYPE=Release
+INSTALL_ENV+=	PREFIX=${PREFIX}
+#
+# xxx ${SHAREDIR} _should_ be literally always be exactly ${PREFIX}/share.
+#
+# However the plain Makefile supplied uses ${SHAREDIR}/man for installing the
+# manual page to ${SHARDIR}/man.  (it should probably use ${MANDIR}?)
+#
+INSTALL_ENV+=	SHAREDIR=${PREFIX}/${PKGMANDIR:S|/man$||}

-.include "../../devel/cxxopts/buildlink3.mk"
-.include "../../devel/elfio/buildlink3.mk"
-.include "../../devel/termcolor/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"


Now maybe I can help teach it about Mach-O format dylibs.

--
					Greg A. Woods <gwoods%acm.org@localhost>

Kelowna, BC     +1 250 762-7675           RoboHack <woods%robohack.ca@localhost>
Planix, Inc. <woods%planix.com@localhost>     Avoncote Farms <woods%avoncote.ca@localhost>

Attachment: pgpFsniUw3afV.pgp
Description: OpenPGP Digital Signature



Home | Main Index | Thread Index | Old Index