blob: d1da922e196c11222e63a5db8c912b6e45c388c8 (
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
|
# New ports collection makefile for: serialmail
# Date created: 2 November 1998
# Whom: Tom Hukins <tom@eborcom.com>
#
# $FreeBSD$
#
PORTNAME= serialmail
PORTVERSION= 0.75
CATEGORIES= mail
MASTER_SITES= http://cr.yp.to/software/ \
ftp://ftp.gbnet.net/pub/qmail/ \
ftp://ftp.de.uu.net/pub/unix/mail/qmail/ \
ftp://ftp.iway.fr/pub/unix/mail/qmail/
MAINTAINER= ports@FreeBSD.org
COMMENT= Tools for passing mail across serial links
MAN1= maildirqmtp.1 maildirserial.1 maildirsmtp.1 serialqmtp.1 serialsmtp.1 setlock.1
# QMAIL_DIR is the directory where qmail is installed
QMAIL_DIR?= /var/qmail
RUN_DEPENDS= ${PREFIX}/bin/tcpserver:${PORTSDIR}/sysutils/ucspi-tcp \
${QMAIL_DIR}/bin/qmail-send:${PORTSDIR}/mail/qmail
NO_PACKAGE= Unsure of djb's license
ALL_TARGET= it
post-configure:
@${ECHO_CMD} ${PREFIX} > ${WRKSRC}/conf-home
@${ECHO_CMD} ${CC} ${CFLAGS} > ${WRKSRC}/conf-cc
@${ECHO_CMD} ${CC} -s > ${WRKSRC}/conf-ld
@${ECHO_CMD} ${QMAIL_DIR} > ${WRKSRC}/conf-qmail
do-install:
.for file in serialqmtp serialsmtp maildirserial setlock
@${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin
.endfor
.for file in maildirqmtp maildirsmtp
@${INSTALL_SCRIPT} ${WRKSRC}/${file} ${PREFIX}/bin
.endfor
.for file in maildirqmtp.1 maildirserial.1 maildirsmtp.1 serialqmtp.1 serialsmtp.1 setlock.1
@${INSTALL_MAN} ${WRKSRC}/${file} ${PREFIX}/man/man1
.endfor
.if !defined(NOPORTDOCS)
@${ECHO} "===> Copying documents to ${PREFIX}/share/doc/serialmail"
@${MKDIR} ${PREFIX}/share/doc/serialmail
.for file in FROMISP TOISP AUTOTURN
@${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/serialmail
.endfor
.endif
.include <bsd.port.mk>
|