summaryrefslogtreecommitdiff
path: root/sysutils/sievelog/Makefile
blob: 8943f8089ed219f832b6f60c996862c46eae3e9d (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: 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

NO_STAGE=	yes
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>