35 lines
988 B
Makefile
35 lines
988 B
Makefile
|
# $OpenBSD: Makefile,v 1.1.1.1 2010/05/02 11:17:48 sthen Exp $
|
||
|
|
||
|
COMMENT= Nagios plugin to check Microsoft SQL Server
|
||
|
|
||
|
DISTNAME= check_mssql_health-1.5.3
|
||
|
CATEGORIES= net databases
|
||
|
|
||
|
HOMEPAGE= http://labs.consol.de/lang/en/nagios/check_mssql_health/
|
||
|
|
||
|
# GPLv2
|
||
|
PERMIT_PACKAGE_CDROM= Yes
|
||
|
PERMIT_PACKAGE_FTP= Yes
|
||
|
PERMIT_DISTFILES_CDROM= Yes
|
||
|
PERMIT_DISTFILES_FTP= Yes
|
||
|
|
||
|
MASTER_SITES= http://labs.consol.de/wp-content/uploads/2009/11/
|
||
|
|
||
|
PKG_ARCH= *
|
||
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
||
|
RUN_DEPENDS= ::databases/p5-DBD-Sybase
|
||
|
|
||
|
CONFIGURE_STYLE= gnu
|
||
|
CONFIGURE_ENV= ac_cv_path_mkdir=/bin/mkdir
|
||
|
CONFIGURE_ARGS= --with-mymodules-dir=${LOCALBASE}/libexec/nagios \
|
||
|
--with-mymodules-dyn-dir=${LOCALBASE}/libexec/nagios \
|
||
|
--libexecdir=${LOCALBASE}/libexec/nagios \
|
||
|
--with-nagios-user=_nagios \
|
||
|
--with-nagios-group=_nagios
|
||
|
|
||
|
post-install:
|
||
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/check_mssql_health
|
||
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/check_mssql_health
|
||
|
|
||
|
.include <bsd.port.mk>
|