blob: 4364e0c031ae67dd27122d6dbdaa871b6e804765 (
plain) (
blame)
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
|
# New ports collection makefile for: trafd
# Date created: 22 January 2000
# Whom: Michael Vasilenko <acid@stu.cn.ua>
#
# $FreeBSD$
#
PORTNAME= trafd
PORTVERSION= 3.0.1
CATEGORIES= net
MASTER_SITES= ftp://ftp.riss-telecom.ru/pub/dev/trafd/
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/trafd/trafd ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/trafd/trafstart ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/trafd/trafstop ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/trafd/trafsave ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/trafd/trafdump ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/trafstat/trafstat ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/trafstatd/trafstatd ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/traflog/traflog ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/traflog/traflog.format ${PREFIX}/etc
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/trafd
${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/trafd/README
.endif
${MKDIR} ${PREFIX}/var/trafd
${MKDIR} ${PREFIX}/var/log
.include <bsd.port.mk>
|