summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgerald <gerald@FreeBSD.org>2014-03-04 20:46:07 +0000
committergerald <gerald@FreeBSD.org>2014-03-04 20:46:07 +0000
commit03c49d911cf913b8ac243f72189a33ee5d0811a1 (patch)
treef1361dc88ea5d2546b3bfce1b27de141fc0d66ed
parentf5b1de1d753e76a91ccebe9d3814a4c6eedb5865 (diff)
downloadFreeBSD-ports-03c49d911cf913b8ac243f72189a33ee5d0811a1.zip
FreeBSD-ports-03c49d911cf913b8ac243f72189a33ee5d0811a1.tar.gz
Chase libdbi update.
Convert to staging, USES=gmake, and the new LIB_DEPENDS standard.
-rw-r--r--net/bmon/Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/net/bmon/Makefile b/net/bmon/Makefile
index e40e8a7..2212fea 100644
--- a/net/bmon/Makefile
+++ b/net/bmon/Makefile
@@ -3,7 +3,7 @@
PORTNAME= bmon
PORTVERSION= 2.1.0
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= net
MASTER_SITES= http://people.suug.ch/~tgr/bmon/files/
@@ -17,15 +17,13 @@ RRDTOOL_DESC= Usage graphs support
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
+USES= gmake
GNU_CONFIGURE= YES
CONFIGURE_ARGS= --disable-asound
-USE_GMAKE= YES
MAKEFILE= GNUmakefile
-MAN1= bmon.1
-PLIST_FILES= sbin/bmon
+PLIST_FILES= sbin/bmon man/man1/bmon.1.gz
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MRRDTOOL}
@@ -35,13 +33,13 @@ CONFIGURE_ARGS+=--disable-rrd
.endif
.if ${PORT_OPTIONS:MDBI}
-LIB_DEPENDS= dbi.1:${PORTSDIR}/databases/libdbi
+LIB_DEPENDS= libdbi.so:${PORTSDIR}/databases/libdbi
.else
CONFIGURE_ARGS+=--disable-dbi
.endif
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/src/bmon ${PREFIX}/sbin
- ${INSTALL_MAN} ${WRKSRC}/man/bmon.1 ${PREFIX}/man/man1/bmon.1
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/bmon ${STAGEDIR}${PREFIX}/sbin
+ ${INSTALL_MAN} ${WRKSRC}/man/bmon.1 ${STAGEDIR}${PREFIX}/man/man1/bmon.1
.include <bsd.port.mk>
OpenPOWER on IntegriCloud