git: c60556fc5089 - main - dns/pear-Net_DNS2: Install more files

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 25 Dec 2023 09:11:38 UTC
The branch main has been updated by sunpoet:

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

commit c60556fc5089dc5a200f43a902fb4de932c86763
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-12-25 09:03:08 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-12-25 09:03:08 +0000

    dns/pear-Net_DNS2: Install more files
    
    - Bump PORTREVISION for package change
    
    PR:             270822
    Reported by:    John Levine <freebsd@m.jl.ly>
---
 dns/pear-Net_DNS2/Makefile | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/dns/pear-Net_DNS2/Makefile b/dns/pear-Net_DNS2/Makefile
index 206b4941e5e1..8ebac7ddafb0 100644
--- a/dns/pear-Net_DNS2/Makefile
+++ b/dns/pear-Net_DNS2/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	Net_DNS2
 PORTVERSION=	1.5.4
 DISTVERSIONPREFIX=	v
+PORTREVISION=	1
 CATEGORIES=	dns net pear
 
 MAINTAINER=	sunpoet@FreeBSD.org
@@ -19,4 +20,11 @@ GH_PROJECT=	netdns2
 
 NO_ARCH=	yes
 
+PLIST_FILES=	${PEARDIR}/Net/DNS2/Names.php \
+		${PEARDIR}/Net/DNS2/RR/ZONEMD.php
+
+post-install:
+	${INSTALL_DATA} ${WRKSRC}/Net/DNS2/Names.php ${STAGEDIR}${PEARDIR}/Net/DNS2/Names.php
+	${INSTALL_DATA} ${WRKSRC}/Net/DNS2/RR/ZONEMD.php ${STAGEDIR}${PEARDIR}/Net/DNS2/RR/ZONEMD.php
+
 .include <bsd.port.mk>