git: 84a9e9257b19 - main - editors/lazarus-*devel: Fix build and pkg-plist issues

From: Jose Alonso Cardenas Marquez <acm_at_FreeBSD.org>
Date: Mon, 10 Apr 2023 18:28:00 UTC
The branch main has been updated by acm:

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

commit 84a9e9257b19f68e55edd218f31e55025c6e27a9
Author:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
AuthorDate: 2023-04-10 18:22:08 +0000
Commit:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2023-04-10 18:22:08 +0000

    editors/lazarus-*devel: Fix build and pkg-plist issues
    
    - qt5pas was updated to a recent source code. It fixes issues with
      editors/lazarus-devel-qt5
---
 editors/lazarus-devel/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/editors/lazarus-devel/Makefile b/editors/lazarus-devel/Makefile
index 6367b6c69c16..15a2aa179c68 100644
--- a/editors/lazarus-devel/Makefile
+++ b/editors/lazarus-devel/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	lazarus
 PORTVERSION=	2.3.0
 PKGNAMESUFFIX?=  -gtk2-devel
-PORTREVISION?=	1
+PORTREVISION?=	2
 CATEGORIES=	editors devel
 DIST_SUBDIR=	freepascal
 
@@ -69,6 +69,8 @@ post-extract:
 	@${MV} ${WRKSRC}/install/man/man1/startlazarus.1 ${WRKDIR}/man1/
 	@${MV} ${WRKSRC}/examples ${WRKDIR}/examples
 	@${MV} ${WRKSRC}/docs ${WRKDIR}/docs
+	@${RM} ${WRKSRC}/tools/.gitignore
+	@${RM} ${WRKSRC}/Dockerfile.buildenv
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' -e 's|%%DATADIR%%|${DATADIR}|g' ${WRKSRC}/${MAKEFILE}