blob: 96f3dd37c36459148cd767cc4b9c66ddb21093c5 (
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
39
40
41
42
43
44
45
46
|
# New ports collection makefile for: postfix-policyd-weight
# Date created: 25 Apr 2005
# Whom: Robert Felber <robtone@ek-muc.de>
#
# $FreeBSD$
#
PORTNAME= policyd-weight
PORTVERSION= 0.1.14
CATEGORIES= mail
MASTER_SITES= http://www.policyd-weight.org/releases/
PKGNAMEPREFIX= postfix-
MAINTAINER= robtone@ek-muc.de
COMMENT= Weighted policy daemon for postfix
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Net/DNS.pm:${PORTSDIR}/dns/p5-Net-DNS \
postfix:${PORTSDIR}/mail/postfix
SUB_FILES= pkg-message
PLIST_FILES= libexec/postfix/${PORTNAME} etc/${PORTNAME}.conf.sample
USE_RC_SUBR+= policyd-weight
MAN8+= policyd-weight.8
MAN5+= policyd-weight.conf.5
.include <bsd.port.pre.mk>
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/libexec/postfix/
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf.sample ${PREFIX}/etc/
.for i in 5 8
@${MKDIR} ${PREFIX}/man/man$i
. for j in ${MAN${i}}
${INSTALL_MAN} ${WRKSRC}/man/man${i}/$j ${PREFIX}/man/man${i}/
. endfor
.endfor
pre-install:
@${SETENV} PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
|