Re: git: 281830982455 - main - security/rosenpass: install manual pages

From: Ashish SHUKLA <ashish_at_FreeBSD.org>
Date: Tue, 12 Sep 2023 11:27:36 UTC
On 2023-09-11 19:11, Robert Clausecker wrote:
> Hi Ashish,
> 
> Once again, this one already exists as net/rosenpass.
> Please remove the duplicate port.

Sorry, I'll remove it shortly :(

I checked my ports tree's INDEX-13 file, and bugzilla after updating the 
ports tree before committing it :( but apparently "make -C /usr/ports 
update" does not seem to update index file anymore like it was in 
portsnap times (I use git now).

> 
> Yours,
> Robert Clausecker
> 
> Am Mon, Sep 11, 2023 at 02:34:09PM +0000 schrieb Ashish SHUKLA:
>> The branch main has been updated by ashish:
>> 
>> URL: 
>> https://cgit.FreeBSD.org/ports/commit/?id=2818309824556ff615c79a003c9e2ea8b52c4ead
>> 
>> commit 2818309824556ff615c79a003c9e2ea8b52c4ead
>> Author:     Ashish SHUKLA <ashish@FreeBSD.org>
>> AuthorDate: 2023-09-11 14:26:27 +0000
>> Commit:     Ashish SHUKLA <ashish@FreeBSD.org>
>> CommitDate: 2023-09-11 14:32:46 +0000
>> 
>>     security/rosenpass: install manual pages
>> ---
>>  security/rosenpass/Makefile | 9 ++++++++-
>>  1 file changed, 8 insertions(+), 1 deletion(-)
>> 
>> diff --git a/security/rosenpass/Makefile b/security/rosenpass/Makefile
>> index 71173a311e74..1a1bdb1d0c51 100644
>> --- a/security/rosenpass/Makefile
>> +++ b/security/rosenpass/Makefile
>> @@ -1,6 +1,7 @@
>>  PORTNAME=	rosenpass
>>  DISTVERSIONPREFIX=	v
>>  DISTVERSION=	0.2.0
>> +PORTREVISION=	1
>>  CATEGORIES=	security
>> 
>>  MAINTAINER=	ashish@FreeBSD.org
>> @@ -20,12 +21,18 @@ RUN_DEPENDS=	${LOCALBASE}/bin/bash:shells/bash
>>  USES=		cargo
>>  USE_GITHUB=	yes
>>  PLIST_FILES=	bin/rosenpass \
>> -		bin/rp
>> +		bin/rp \
>> +		share/man/man1/rp.1.gz \
>> +		share/man/man1/rosenpass.1.gz
>> 
>>  post-patch:
>>  	${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/rp
>> 
>>  post-install:
>> +.for MANPAGE in ${PLIST_FILES:Mshare/man/*:T}
>> +	${INSTALL_MAN} ${WRKSRC}/doc/${MANPAGE:S/.gz//} \
>> +		${STAGEDIR}${MANPREFIX}/share/man/man${MANPAGE:C/^[^.]*[.]//:S/.gz//}/${MANPAGE:S/.gz//}
>> +.endfor
>>  	${INSTALL_SCRIPT} ${WRKSRC}/rp ${STAGEDIR}${PREFIX}/bin/rp
>> 
>>  .include <bsd.port.mk>
> 
> --
> ()  ascii ribbon campaign - for an 8-bit clean world
> /\  - against html email  - against proprietary attachments

-- 
Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116  20B6 C746 CFA9 E74F A4B0