aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/sievelog/Makefile
blob: 4adf6d2d70b9ec44e98a0d4b3bfe54a9c186ab97 (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= yes
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>