View | Details | Raw Unified | Return to bug 121650 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-3 / +15 lines)
Lines 7-21 Link Here
7
7
8
PORTNAME=	bmon
8
PORTNAME=	bmon
9
PORTVERSION=	2.1.0
9
PORTVERSION=	2.1.0
10
PORTREVISION=	1
10
PORTREVISION=	2
11
CATEGORIES=	net
11
CATEGORIES=	net
12
MASTER_SITES=	http://people.suug.ch/~tgr/bmon/files/
12
MASTER_SITES=	http://people.suug.ch/~tgr/bmon/files/
13
13
14
MAINTAINER=	nistor@snickers.org
14
MAINTAINER=	nistor@snickers.org
15
COMMENT=	Portable bandwidth monitor and rate estimator
15
COMMENT=	Portable bandwidth monitor and rate estimator
16
16
17
LIB_DEPENDS=	dbi.0:${PORTSDIR}/databases/libdbi
17
OPTIONS=	RRDTOOL "Enable RRD support" Off \
18
		DBI	"Enable DBI support" On
18
19
20
CONFIGURE_ENV+=	"LDFLAGS=-L${LOCALBASE}/lib" "CPPFLAGS=-I${LOCALBASE}/include"
19
GNU_CONFIGURE=	YES
21
GNU_CONFIGURE=	YES
20
USE_GMAKE=	YES
22
USE_GMAKE=	YES
21
MAKEFILE=	GNUmakefile
23
MAKEFILE=	GNUmakefile
Lines 23-30 Link Here
23
MAN1=		bmon.1
25
MAN1=		bmon.1
24
PLIST_FILES=	sbin/bmon
26
PLIST_FILES=	sbin/bmon
25
27
28
.include <bsd.port.pre.mk>
29
30
.if defined(WITH_RRDTOOL)
31
BUILD_DEPENDS=	rrdtool:${PORTSDIR}/databases/rrdtool
32
.endif
33
34
.if defined(WITH_DBI)
35
LIB_DEPENDS=	dbi.0:${PORTSDIR}/databases/libdbi
36
.endif
37
26
do-install:
38
do-install:
27
	${INSTALL_PROGRAM} ${WRKSRC}/src/bmon ${PREFIX}/sbin
39
	${INSTALL_PROGRAM} ${WRKSRC}/src/bmon ${PREFIX}/sbin
28
	${INSTALL_MAN} ${WRKSRC}/man/bmon.1 ${PREFIX}/man/man1/bmon.1
40
	${INSTALL_MAN} ${WRKSRC}/man/bmon.1 ${PREFIX}/man/man1/bmon.1
29
41
30
.include <bsd.port.mk>
42
.include <bsd.port.post.mk>

Return to bug 121650