summaryrefslogtreecommitdiffstats
path: root/net/bpft/Makefile
blob: 882725798161f0ac90c8b39dcb99bebad868356d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# New ports collection makefile for:   bpft
# Date created:        26 August 2002
# Whom:            El Vampiro <vampiro@rootshell.ru>
#
# $FreeBSD$

PORTNAME=	bpft
PORTVERSION=	4.0
CATEGORIES=	net
MASTER_SITES=	http://bpft.by.ru/ \
		ftp://vampiro.rootshell.ru/pub/FreeBSD/distfiles/
EXTRACT_SUFX=	_29-07-2002.tgz

MAINTAINER=	vampiro@rootshell.ru

WRKSRC=		${WRKDIR}/bpft
MAN1=		traflog.1 trafstat.1
MAN8=		trafstatd.8 trafd.8
MANCOMPRESSED=	yes

pre-everything:
	@${ECHO_MSG}
	@${ECHO_MSG} "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
	@${ECHO_MSG} "!!!                         WARNING                           !!!"
	@${ECHO_MSG} "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
	@${ECHO_MSG}
	@${ECHO_MSG} "This port uses original trafd binaries layout"
	@${ECHO_MSG} "Original trafd and bpft binaries layout are mutually exclusive"
	@${ECHO_MSG}

post-install:
	${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/WhatsNew ${DOCSDIR}
	${STRIP_CMD} ${PREFIX}/sbin/trafd
	${STRIP_CMD} ${PREFIX}/sbin/trafstatd
	${STRIP_CMD} ${PREFIX}/bin/trafstat
	${STRIP_CMD} ${PREFIX}/bin/traflog

.include <bsd.port.mk>
OpenPOWER on IntegriCloud