Support staging
This commit is contained in:
parent
c08ac98e2f
commit
70a79a04f1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346014
1 changed files with 3 additions and 8 deletions
|
@ -10,11 +10,6 @@ MASTER_SITES= http://www.eee.metu.edu.tr/~canacar/
|
|||
MAINTAINER= araujo@FreeBSD.org
|
||||
COMMENT= Utility for real-time display of statistics for pf
|
||||
|
||||
MAN8= pftop.8
|
||||
|
||||
MANCOMPRESSED= no
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 900039
|
||||
|
@ -38,7 +33,7 @@ EXTRA_PATCHES+= ${FILESDIR}/extra-patch-engine.c
|
|||
MAKE_ARGS+= CSTD=gnu89
|
||||
MAKE_ENV+= __MAKE_CONF=/dev/null
|
||||
|
||||
PLIST_FILES= sbin/pftop
|
||||
PLIST_FILES= sbin/pftop man/man8/pftop.8.gz
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|<sys/queue.h>|"${FILESDIR}/queue.h"|g' \
|
||||
|
@ -49,7 +44,7 @@ post-patch:
|
|||
${WRKSRC}/sf-gencode.c
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/pftop ${PREFIX}/sbin
|
||||
${INSTALL_MAN} ${WRKSRC}/pftop.8 ${PREFIX}/man/man8
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/pftop ${STAGEDIR}${PREFIX}/sbin
|
||||
${INSTALL_MAN} ${WRKSRC}/pftop.8 ${STAGEDIR}${MANPREFIX}/man/man8
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
Loading…
Reference in a new issue