summaryrefslogtreecommitdiff
path: root/sysutils/fetchlog/Makefile
blob: 32efde35e093e6ff1025e9148fcdcfb4de9c252e (plain) (blame)
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
# Created by: Alexander Haderer <alexander.haderer@loescap.de>
# $FreeBSD$

PORTNAME=	fetchlog
PORTVERSION=	1.4
CATEGORIES=	sysutils
MASTER_SITES=	SF

MAINTAINER=	alexander.haderer@loescap.de
COMMENT=	Fetch and convert new messages of a logfile

MAN1=		fetchlog.1
PORTDOCS=	CHANGES README README.Nagios README.SNMP
PORTEXAMPLES=	fetchlog.cfg fetchlog_service.cfg notify.cfg.example

PLIST_FILES=	bin/fetchlog

NO_STAGE=	yes
do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/fetchlog ${PREFIX}/bin
	cd ${WRKSRC} && ${INSTALL_MAN} ${MAN1} ${PREFIX}/man/man1
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
.if !defined(NOPORTEXAMPLES)
	@${MKDIR} ${EXAMPLESDIR}
	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTEXAMPLES} ${EXAMPLESDIR}
.endif

.include <bsd.port.mk>