aboutsummaryrefslogtreecommitdiffstats
path: root/mail/postpals/Makefile
blob: e036943231d4d0996f011a7dee75c96c59fb0a50 (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
34
35
36
37
38
# New ports collection makefile for:    postpals
# Date created:             7 March 2010
# Whom:                 Sahil Tandon <sahil@tandon.net>
#
# $FreeBSD$
#

PORTNAME=   postpals
PORTVERSION=    0.01
CATEGORIES= mail
MASTER_SITES=   http://mailfud.org/${PORTNAME}/
DISTFILES=  ${PORTNAME} ${PORTNAME}-taillog
EXTRACT_ONLY=   # none

MAINTAINER= sahil@FreeBSD.org
COMMENT=    Postpals is a simple policy daemon for Postfix

RUN_DEPENDS=    p5-IO-Multiplex>=0:${PORTSDIR}/devel/p5-IO-Multiplex \
        p5-Net-Server>=0:${PORTSDIR}/net/p5-Net-Server \
        p5-File-Tail>=0:${PORTSDIR}/devel/p5-File-Tail

SUB_FILES=  pkg-message

USE_RC_SUBR=    ${PORTNAME} ${PORTNAME}-taillog
USE_PERL5_RUN=  yes
NO_BUILD=   yes

USERS=      postpals
GROUPS=     postpals

do-install:
    @${INSTALL_SCRIPT} ${DISTFILES:S|^|${DISTDIR}/|} ${PREFIX}/sbin/
    @${INSTALL} -o ${PORTNAME} -g ${PORTNAME} -m 700 -d /var/db/postpals

post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>