Chase libdbi update.
Convert to staging, USES=gmake, and the new LIB_DEPENDS standard.
This commit is contained in:
parent
7ff1144766
commit
4b1baa1800
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=347069
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user