diff --git a/sysutils/pftop/Makefile b/sysutils/pftop/Makefile index dcfc75b187af..db045837aed4 100644 --- a/sysutils/pftop/Makefile +++ b/sysutils/pftop/Makefile @@ -1,37 +1,38 @@ PORTNAME= pftop PORTVERSION= 0.10 +PORTREVISION= 1 CATEGORIES= sysutils net MAINTAINER= grembo@FreeBSD.org COMMENT= Utility for real-time display of statistics for pf WWW= https://github.com/grembo/pftop/ LICENSE= BSD2CLAUSE LIB_DEPENDS= libpfctl.so:net/libpfctl USES= localbase uidfix USE_GITHUB= yes GH_ACCOUNT= grembo OPTIONS_DEFINE= ALTQ ALTQ_DESC= ALTQ support for queue statistics .include MAKE_ARGS= LOCALBASE="${PREFIX}" CFLAGS+= -DHAVE_SNPRINTF=1 -DHAVE_VSNPRINTF=1 .if ${PORT_OPTIONS:MALTQ} CFLAGS+= -DHAVE_ALTQ=1 .endif MAKE_ARGS+= CSTD=gnu89 MAKE_ENV+= __MAKE_CONF=/dev/null -PLIST_FILES= man/man8/pftop.8.gz \ - sbin/pftop +PLIST_FILES= sbin/pftop \ + share/man/man8/pftop.8.gz .include diff --git a/sysutils/pftop/files/patch-Makefile b/sysutils/pftop/files/patch-Makefile new file mode 100644 index 000000000000..33dccc89d8fe --- /dev/null +++ b/sysutils/pftop/files/patch-Makefile @@ -0,0 +1,11 @@ +--- Makefile.orig 2023-11-13 12:00:08 UTC ++++ Makefile +@@ -13,7 +13,7 @@ MAN= pftop.8 + CFLAGS+= -Wall -Wno-unneeded-internal-declaration -DOS_LEVEL=${OSLEVEL} + LDADD+= -L${LOCALBASE}/lib -lcurses -lpfctl + +-MANDIR=${LOCALBASE}/man/man ++MANDIR=${LOCALBASE}/share/man/man + BINDIR=${LOCALBASE}/sbin + + .y.c: