Lines 1-45
Link Here
|
1 |
# Created by: Jon Nistor <nistor@snickers.org> |
1 |
# Created by: Michelle Sullivan <michelle@sorbs.net> |
2 |
# $FreeBSD: head/net/bmon/Makefile 347069 2014-03-04 20:46:07Z gerald $ |
|
|
3 |
|
2 |
|
4 |
PORTNAME= bmon |
3 |
PORTNAME= bmon |
5 |
PORTVERSION= 2.1.0 |
4 |
PORTVERSION= 3.2 |
6 |
PORTREVISION= 5 |
|
|
7 |
CATEGORIES= net |
5 |
CATEGORIES= net |
8 |
MASTER_SITES= http://people.suug.ch/~tgr/bmon/files/ |
6 |
MASTER_SITES= GH |
9 |
|
7 |
|
10 |
MAINTAINER= nistor@snickers.org |
8 |
MAINTAINER= michelle@sorbs.net |
11 |
COMMENT= Portable bandwidth monitor and rate estimator |
9 |
COMMENT= Capture networking related statistics and display them human readable |
12 |
|
10 |
|
13 |
OPTIONS_DEFINE= DBI RRDTOOL |
11 |
LICENSE= MIT |
14 |
OPTIONS_DEFAULT= DBI |
|
|
15 |
DBI_DESC= LibDBI output module for rsyslog |
16 |
RRDTOOL_DESC= Usage graphs support |
17 |
|
18 |
CPPFLAGS+= -I${LOCALBASE}/include |
19 |
LDFLAGS+= -L${LOCALBASE}/lib |
20 |
USES= gmake |
21 |
GNU_CONFIGURE= YES |
22 |
CONFIGURE_ARGS= --disable-asound |
23 |
MAKEFILE= GNUmakefile |
24 |
|
25 |
PLIST_FILES= sbin/bmon man/man1/bmon.1.gz |
26 |
|
27 |
.include <bsd.port.options.mk> |
28 |
|
29 |
.if ${PORT_OPTIONS:MRRDTOOL} |
30 |
BUILD_DEPENDS= rrdtool:${PORTSDIR}/databases/rrdtool |
31 |
.else |
32 |
CONFIGURE_ARGS+=--disable-rrd |
33 |
.endif |
34 |
|
35 |
.if ${PORT_OPTIONS:MDBI} |
36 |
LIB_DEPENDS= libdbi.so:${PORTSDIR}/databases/libdbi |
37 |
.else |
38 |
CONFIGURE_ARGS+=--disable-dbi |
39 |
.endif |
40 |
|
41 |
do-install: |
42 |
${INSTALL_PROGRAM} ${WRKSRC}/src/bmon ${STAGEDIR}${PREFIX}/sbin |
43 |
${INSTALL_MAN} ${WRKSRC}/man/bmon.1 ${STAGEDIR}${PREFIX}/man/man1/bmon.1 |
44 |
|
12 |
|
45 |
.include <bsd.port.mk> |
13 |
LIB_DEPENDS= libconfuse.so:${PORTSDIR}/devel/libconfuse |
|
|
14 |
|
15 |
CONFLICTS_INSTALL= bmon-* |
16 |
|
17 |
USE_GITHUB= yes |
18 |
GH_ACCOUNT= tgraf |
19 |
GH_PROJECT= bmon |
20 |
GH_COMMIT= b34be16 |
21 |
GH_TAGNAME= ${GH_COMMIT} |
22 |
|
23 |
USE_AUTOTOOLS= autoconf autoheader automake aclocal |
24 |
AUTOMAKE_ARGS+= --force-missing --add-missing |
25 |
GNU_CONFIGURE= yes |
26 |
|
27 |
.include <bsd.port.pre.mk> |
28 |
|
29 |
post-extract: |
30 |
@${MKDIR} ${WRKSRC}/build-aux |
31 |
|
32 |
.include <bsd.port.post.mk> |