blob: 7d4f7e226e0e8c21368d8f62a96a179e709d9b3f (
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
35
36
37
38
39
40
41
42
43
44
45
|
# Created by: Janos.Mohacsi@bsd.hu
# $FreeBSD$
PORTNAME= rude
PORTVERSION= 0.70
PORTREVISION= 4
CATEGORIES= net
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Rude is a Real-time UDP Data Emitter and Collector (crude)
LICENSE= GPLv2 # or later
LICENSE_FILE= ${WRKSRC}/DOC/COPYING
RUN_DEPENDS= p5-Tk>=0:${PORTSDIR}/x11-toolkits/p5-Tk
HAS_CONFIGURE= yes
CONFIGURE_ENV= --with-debug-lvl=3
USES= perl5 shebangfix
SHEBANG_FILES= grude/grude
WRKSRC= ${WRKDIR}/${PORTNAME}
PORTDOCS= README README.rude README.crude TODO example.cfg
PORTEXAMPLES= crude_jitter.pl crude_parse.pl dump2trace.pl
OPTIONS_DEFINE= DOCS EXAMPLES
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/grude/grude ${STAGEDIR}${PREFIX}/bin
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for FILE in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/DOC/${FILE} ${STAGEDIR}${DOCSDIR}
.endfor
do-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for FILE in ${PORTEXAMPLES}
${INSTALL_DATA} ${WRKSRC}/scripts/${FILE} ${STAGEDIR}${EXAMPLESDIR}
.endfor
.include <bsd.port.mk>
|