summaryrefslogtreecommitdiff
path: root/sysutils/sievelog/Makefile
blob: c32ca29e72e562fa57e5f9b864902184072094dd (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
32
33
# New ports collection makefile for:	sievelog
# Date created:				2010-07-26
# Whom:					Jesse Kempf <jessekempf@gmail.com>
# $FreeBSD$
#

PORTNAME=	sievelog
PORTVERSION=	1.0.1
CATEGORIES=	sysutils python
MASTER_SITES=	GOOGLE_CODE
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	jessekempf@gmail.com
COMMENT=	Syslog message filter

USE_PYTHON=	2.5+
USE_PYDISTUTILS=yes

SUB_FILES=	pkg-message

PLIST_FILES=	bin/${PORTNAME} \
		etc/${PORTNAME}.conf.example

MAN1=		${PORTNAME}.1
MAN5=		${PORTNAME}.conf.5

post-install:
	@${CP} -p ${WRKSRC}/test.sv ${PREFIX}/etc/${PORTNAME}.conf.example
	@${INSTALL_MAN} ${WRKSRC}/man/man1/${MAN1} ${MANPREFIX}/man/man1
	@${INSTALL_MAN} ${WRKSRC}/man/man5/${MAN5} ${MANPREFIX}/man/man5
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>