mirror of
https://github.com/netbirdio/FreeBSD-ports.git
synced 2026-05-22 18:42:42 -07:00
sysutils/pftop: create a debug subpackage
This commit is contained in:
@@ -1,14 +1,19 @@
|
||||
PORTNAME= pftop
|
||||
PORTVERSION= 0.12
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= sysutils net
|
||||
MASTER_SITES= https://github.com/grembo/pftop/releases/download/${DISTVERSION}/
|
||||
|
||||
MAINTAINER= grembo@FreeBSD.org
|
||||
COMMENT= Utility for real-time display of statistics for pf
|
||||
COMMENT.debug= Debug files for pftop
|
||||
WWW= https://github.com/grembo/pftop/
|
||||
|
||||
LICENSE= BSD2CLAUSE
|
||||
|
||||
SUBPACKAGES= debug
|
||||
SELF_DEPENDS.debug= main
|
||||
|
||||
LIB_DEPENDS= libpfctl.so:net/libpfctl
|
||||
|
||||
USES= localbase uidfix
|
||||
@@ -19,9 +24,9 @@ ALTQ_DESC= ALTQ support for queue statistics
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
MAKE_ARGS= LOCALBASE="${PREFIX}" MANDIR=${PREFIX}/share/man/man
|
||||
MAKE_ARGS= LOCALBASE="${PREFIX}" MANDIR=${PREFIX}/share/man/man MK_DEBUG_FILES=yes
|
||||
|
||||
CFLAGS+= -DHAVE_SNPRINTF=1 -DHAVE_VSNPRINTF=1
|
||||
CFLAGS+= -g -DHAVE_SNPRINTF=1 -DHAVE_VSNPRINTF=1
|
||||
|
||||
.if ${PORT_OPTIONS:MALTQ}
|
||||
CFLAGS+= -DHAVE_ALTQ=1
|
||||
@@ -31,5 +36,7 @@ MAKE_ARGS+= CSTD=gnu89
|
||||
|
||||
PLIST_FILES= sbin/pftop \
|
||||
share/man/man8/pftop.8.gz
|
||||
PLIST_FILES.debug= \
|
||||
sbin/.debug/pftop.debug
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
||||
Reference in New Issue
Block a user