1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

Support staging

This commit is contained in:
Emanuel Haupt 2014-02-24 16:00:32 +00:00
parent 7291482228
commit 9baf29f4b1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345874
2 changed files with 4 additions and 7 deletions

View File

@ -5,19 +5,15 @@ PORTNAME= tcpshow
PORTVERSION= 1.74
PORTREVISION= 1
CATEGORIES= net security
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITES= LOCAL
MASTER_SITE_SUBDIR= obrien
# http://www.cs.berkeley.edu/~daw/mike/
# http://ftp.cerias.purdue.edu/pub/tools/unix/sysutils/tcpshow/
DISTFILES= tcpshow.c tcpshow.1
MAINTAINER= obrien@FreeBSD.org
COMMENT= Decode tcpdump(1) output
NO_WRKSUBDIR= yes
MAN1= tcpshow.1
NO_STAGE= yes
do-extract:
@${MKDIR} ${WRKDIR}
@${CP} ${DISTDIR}/tcpshow.c ${WRKDIR}
@ -27,7 +23,7 @@ do-build:
(cd ${WRKSRC} && ${CC} ${CFLAGS} -o tcpshow tcpshow.c)
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tcpshow ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/tcpshow.1 ${PREFIX}/man/man1
${INSTALL_PROGRAM} ${WRKSRC}/tcpshow ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/tcpshow.1 ${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.mk>

View File

@ -1 +1,2 @@
bin/tcpshow
man/man1/tcpshow.1.gz