blob: 64d570cb95aa3e0104fda73f42c8026360c1bff9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# New ports collection makefile for: nagios-spamd-plugin
# Date created: 2005-10-29
# Whom: arved
#
# $FreeBSD$
PORTNAME= nagios-spamd-plugin
PORTVERSION= 1.4
PORTREVISION= 2
CATEGORIES= net-mgmt
MASTER_SITES= ftp://jhweiss.de/pub/users/weiss/nagios/plugins/
DISTNAME= check_spamd-${PORTVERSION}.pl
EXTRACT_SUFX=
MAINTAINER= alexey@renatasystems.org
COMMENT= Nagios plugin for checking SpamAssassins spamd
RUN_DEPENDS+= ${LOCALBASE}/${NAGIOS_PLUGIN_DIR}/utils.pm:${PORTSDIR}/net-mgmt/nagios-plugins
USES= perl5
NO_WRKSUBDIR= yes
NO_BUILD= yes
PLIST_FILES= ${NAGIOS_PLUGIN_DIR}/check_spamd.pl
PLIST_DIRS= ${NAGIOS_PLUGIN_DIR}
NAGIOS_PLUGIN_DIR= libexec/nagios
do-extract:
${MKDIR} ${WRKSRC}
${CP} ${DISTDIR}/${DISTNAME} ${WRKSRC}/check_spamd.pl
post-patch:
${REINPLACE_CMD} -e \
"s,/usr/local/nagios/libexec,${PREFIX}/${NAGIOS_PLUGIN_DIR}," \
${WRKSRC}/check_spamd.pl
do-install:
${MKDIR} ${PREFIX}/${NAGIOS_PLUGIN_DIR}
${INSTALL_SCRIPT} ${WRKSRC}/check_spamd.pl ${PREFIX}/${NAGIOS_PLUGIN_DIR}
.include <bsd.port.mk>
|