blob: 171fb1f7968a21e1b0d2ad9a18d514504b916a7a (
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
|
# New ports collection makefile for: vodmr
# Date created: 12 January 2003.
# Whom: James Raftery <james@now.ie>
#
# $FreeBSD$
#
# Use make -DWITHOUT_TCPSERVER ... to install without a dependenacy
# on djb's tcpserver.
#
PORTNAME= vodmr
PORTVERSION= 0.13
CATEGORIES= mail perl5
MASTER_SITES= http://romana.now.ie/software/ \
http://www.lecter.phlegethon.org/vodmr/
MAINTAINER= james@now.ie
COMMENT= An ODMR/ATRN server for vpopmail+qmail
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/CDB_File.pm:${PORTSDIR}/databases/p5-CDB_File \
${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64 \
${SITE_PERL}/${PERL_ARCH}/vpopmail.pm:${PORTSDIR}/mail/p5-vpopmail \
${SITE_PERL}/Mail/Header.pm:${PORTSDIR}/mail/p5-Mail-Tools \
${SITE_PERL}/Digest/HMAC_MD5.pm:${PORTSDIR}/security/p5-Digest-HMAC
.if !defined(WITHOUT_TCPSERVER)
RUN_DEPENDS+= tcpserver:${PORTSDIR}/sysutils/ucspi-tcp
.endif
NO_BUILD= yes
USE_PERL5_RUN= yes
USE_REINPLACE= yes
SUB_FILES= pkg-message
SUB_LIST= SCRIPT="${PREFIX}/sbin/odmrd"
PORTDOCS= FAQ README INSTALL INTERNALS TODO sample-odmrd.rules
do-configure:
@${REINPLACE_CMD} -e 's|^\#!/usr/bin/perl|\#!${PERL}|' ${WRKSRC}/odmrd
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/odmrd ${PREFIX}/sbin
${INSTALL_SCRIPT} ${FILESDIR}/odmrd.sh-sample ${PREFIX}/etc/rc.d
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
|