openbsd-ports/sysutils/monit/Makefile

39 lines
943 B
Makefile

# $OpenBSD: Makefile,v 1.8 2005/02/07 19:01:50 pvalchev Exp $
COMMENT= "monitoring and managing daemons utility"
VERSION= 4.2.1
DISTNAME= monit-${VERSION}
CATEGORIES= sysutils
HOMEPAGE= http://www.tildeslash.com/monit/
MASTER_SITES= ${HOMEPAGE}dist/old/
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c crypto kvm pthread ssl
CONFIGURE_STYLE= gnu
USE_GMAKE= Yes
NO_REGRESS= Yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/monit
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/monit
cd ${WRKSRC} && ${INSTALL_DATA} FAQ.txt README.SSL UPGRADE.txt \
${PREFIX}/share/doc/monit
cd ${WRKSRC}/doc && ${INSTALL_DATA} monit.html examples.html \
${PREFIX}/share/doc/monit
cd ${WRKSRC}/protocols && ${INSTALL_DATA} NOTES \
${PREFIX}/share/doc/monit
cd ${WRKSRC} && ${INSTALL_DATA} monitrc \
${PREFIX}/share/examples/monit
.include <bsd.port.mk>