blob: 818bb5a266c4f207992659853e4a79712e0c4e08 (
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
47
48
49
50
51
52
53
54
55
56
57
58
|
# New ports collection makefile for: pop-before-smtp
# Date created: March 7, 2003
# Whom: Eric W. Bates
#
# $FreeBSD$
#
PORTNAME= pop-before-smtp
PORTVERSION= 1.42
CATEGORIES= mail perl5
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= popbsmtp
MAINTAINER= jadawin@tuxaco.net
COMMENT= A log parser to identify valid POP/IMAP logins for later smtp
RUN_DEPENDS= ${SITE_PERL}/Net/Netmask.pm:${PORTSDIR}/net-mgmt/p5-Net-Netmask \
${SITE_PERL}/Date/Parse.pm:${PORTSDIR}/devel/p5-TimeDate \
${SITE_PERL}/Date/Format.pm:${PORTSDIR}/devel/p5-TimeDate
NO_BUILD= yes
USE_PERL5_RUN= yes
USE_RC_SUBR= pop-before-smtp.sh
SUB_FILES= pkg-message
SUB_LIST= PERL=${PERL}
MAN8= ${PORTNAME}.8
post-patch:
@${REINPLACE_CMD} 's|^#!/usr/bin/perl|#!${PERL}|; \
s|/etc/postfix/pop-before-smtp|${PREFIX}/etc/postfix/pop-before-smtp|g;' \
${WRKSRC}/pop-before-smtp
pre-install:
@pod2man ${WRKSRC}/${PORTNAME} > ${MANPREFIX}/man/man8/${PORTNAME}.8
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/pop-before-smtp ${PREFIX}/sbin
${INSTALL_SCRIPT} \
${WRKSRC}/pop-before-smtp-conf.pl \
${PREFIX}/etc/pop-before-smtp-conf.pl.sample
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for FILE in COPYING ChangeLog README TODO
${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
.endfor
.for FILE in README.QUICKSTART README.rootless-install popauth.m4
${INSTALL_DATA} ${WRKSRC}/contrib/${FILE} ${DOCSDIR}
.endfor
@${MKDIR} ${DOCSDIR}/popa3d
.for FILE in README popa3d-0.4.patch popa3d-0.6.4.patch
${INSTALL_DATA} ${WRKSRC}/contrib/popa3d/${FILE} ${DOCSDIR}/popa3d
.endfor
.endif
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
|