git: adc4d990a605 - main - textproc/btparse: Strip shared library

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 25 Jul 2024 04:20:32 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=adc4d990a6052d93c1b4706b391ab20d4d47efc1

commit adc4d990a6052d93c1b4706b391ab20d4d47efc1
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-07-25 04:18:56 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-07-25 04:18:56 +0000

    textproc/btparse: Strip shared library
    
    - Remove unnecessary substitution
    - Update WWW
    - Remove GNU_CONFIGURE_MANPREFIX
    - Bump PORTREVISION for package change
---
 textproc/btparse/Makefile | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/textproc/btparse/Makefile b/textproc/btparse/Makefile
index 40d417945b0a..7a87deba3c96 100644
--- a/textproc/btparse/Makefile
+++ b/textproc/btparse/Makefile
@@ -1,20 +1,23 @@
 PORTNAME=	btparse
 PORTVERSION=	0.35
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	textproc
 MASTER_SITES=	CPAN
-MASTER_SITE_SUBDIR=	CPAN:AMBS/${PORTNAME}
+MASTER_SITE_SUBDIR=	CPAN:AMBS/btparse
 
 MAINTAINER=	perl@FreeBSD.org
 COMMENT=	C library for parsing and processing BibTeX data files
-WWW=		http://www.gerg.ca/software/btOOL
+WWW=		https://www.gerg.ca/software/btOOL/
+
+USES=		libtool pathfix perl5
+USE_PERL5=	build
 
 GNU_CONFIGURE=	yes
-GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 USE_LDCONFIG=	yes
-USES=		perl5 libtool pathfix
-USE_PERL5=	build
 
 CONFLICTS_INSTALL=	p5-Text-BibTeX # bin/bibparse
 
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libbtparse.so
+
 .include <bsd.port.mk>