git: 18617a0174cc - main - sysutils/pftop: Update to 0.10

From: Michael Gmelin <grembo_at_FreeBSD.org>
Date: Mon, 13 Nov 2023 12:05:34 UTC
The branch main has been updated by grembo:

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

commit 18617a0174cc5069611a7f1c37ba9b80feb70a7a
Author:     Michael Gmelin <grembo@FreeBSD.org>
AuthorDate: 2023-11-13 12:04:28 +0000
Commit:     Michael Gmelin <grembo@FreeBSD.org>
CommitDate: 2023-11-13 12:04:28 +0000

    sysutils/pftop: Update to 0.10
---
 sysutils/pftop/Makefile | 12 ++----------
 sysutils/pftop/distinfo |  6 +++---
 2 files changed, 5 insertions(+), 13 deletions(-)

diff --git a/sysutils/pftop/Makefile b/sysutils/pftop/Makefile
index a48c78026d7c..c05b8533eaf0 100644
--- a/sysutils/pftop/Makefile
+++ b/sysutils/pftop/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	pftop
-PORTVERSION=	0.9
+PORTVERSION=	0.10
 CATEGORIES=	sysutils net
 
 MAINTAINER=	grembo@FreeBSD.org
@@ -10,12 +10,10 @@ LICENSE=	BSD2CLAUSE
 
 LIB_DEPENDS=	libpfctl.so:net/libpfctl
 
+USES=		localbase
 USE_GITHUB=	yes
 GH_ACCOUNT=	grembo
 
-CFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib -lpfctl
-
 OPTIONS_DEFINE=	ALTQ
 
 ALTQ_DESC=	ALTQ support for queue statistics
@@ -36,10 +34,4 @@ MAKE_ENV+=	__MAKE_CONF=/dev/null
 PLIST_FILES=	man/man8/pftop.8.gz \
 		sbin/pftop
 
-do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/pftop \
-		${STAGEDIR}${PREFIX}/sbin
-	${INSTALL_MAN} ${WRKSRC}/pftop.8 \
-		${STAGEDIR}${MANPREFIX}/man/man8
-
 .include <bsd.port.mk>
diff --git a/sysutils/pftop/distinfo b/sysutils/pftop/distinfo
index cdc0c5c4a12a..3b2940ef5e89 100644
--- a/sysutils/pftop/distinfo
+++ b/sysutils/pftop/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1699105116
-SHA256 (grembo-pftop-0.9_GH0.tar.gz) = 9b2dd44dba66c228ae03a88d65e6424f42872d2d73be776e055c5005998731d9
-SIZE (grembo-pftop-0.9_GH0.tar.gz) = 62612
+TIMESTAMP = 1699877043
+SHA256 (grembo-pftop-0.10_GH0.tar.gz) = a92b2dbea059f24c837877bf301e55a99532d1c2c70d7189c3d215e0e635c844
+SIZE (grembo-pftop-0.10_GH0.tar.gz) = 62623