freebsd-ports/net-mgmt/ourmon/Makefile
John Marino 41a501d1b5 net-mgmt/ourmon: Reset maintainer and deprecate interactive port
This port was going to be reset in a couple of days anyway due to lack
of maintainer response, but I moved the timeline up since unstaged ports
started being reset today.  Now that it's unmaintained and interactive,
the same expiration date of the other unmaintained interactive port has
been applied.

PR:		191215
Approved by:	portmgr (implicit)
2014-07-02 22:24:47 +00:00

52 lines
1.4 KiB
Makefile

# Created by: Charlie Schluting <manos@cs.pdx.edu>
# $FreeBSD$
PORTNAME= ourmon
PORTVERSION= 2.8.1
PORTREVISION= 7
CATEGORIES= net-mgmt
MASTER_SITES= SF
MASTER_SITE_SUBDIR=${PORTNAME}/${PORTNAME}/${PORTNAME}281
DISTNAME= ourmon281
MAINTAINER= ports@FreeBSD.org
COMMENT= Libpcap-based network monitoring and anomaly detection system
BUILD_DEPENDS= ${LOCALBASE}/lib/libpcap.a:${PORTSDIR}/net/libpcap \
${LOCALBASE}/lib/libpcre.a:${PORTSDIR}/devel/pcre
RUN_DEPENDS= rrdtool:${PORTSDIR}/databases/rrdtool
DEPRECATED= Unmaintained interactive port
EXPIRATION_DATE=2014-08-20
WRKSRC= ${WRKDIR}/mrourmon
USES= perl5
USE_APACHE_RUN= 22+
NO_BUILD= yes
NO_INSTALL_MANPAGES= yes
IS_INTERACTIVE= yes
SUB_FILES= pkg-message
USE_RC_SUBR= ourmon
NO_STAGE= yes
.include <bsd.port.pre.mk>
pre-everything::
@${ECHO_MSG} "==================================================="
@${ECHO_MSG} "ATTENTION: Do not install startup script during"
@${ECHO_MSG} "interactive steps, use the created by port instead."
@${ECHO_MSG} "==================================================="
post-patch:
@${REINPLACE_CMD} -e 's|%%WWWDIR%%|${WWWDIR}|g' ${WRKSRC}/configure.pl
do-install:
@cd ${WRKSRC} && ${PERL5} configure.pl ${PREFIX}
@${FIND} ${WRKSRC} \( -name '*.orig' -o -name '*.bak' -o -name '*.o' \) -delete
@${CP} -R ${WRKSRC} ${PREFIX}
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>