mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
897d06aa97
the ECHO macro is set to "echo" by default, but it is set to "true" if make(1) is invoked with the -s option while ECHO_CMD is always set to the echo command.
61 lines
1.6 KiB
Makefile
61 lines
1.6 KiB
Makefile
# 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.qmail.org/pub/koobera.math.uic.edu/pub/software/ \
|
|
${MASTER_SITE_LOCAL}
|
|
MASTER_SITE_SUBDIR= tom
|
|
|
|
MAINTAINER= tom@FreeBSD.org
|
|
|
|
MAN1= maildirqmtp.1 maildirserial.1 maildirsmtp.1 serialqmtp.1 serialsmtp.1 setlock.1
|
|
|
|
.if defined(NOPORTDOCS)
|
|
PLIST= ${PKGDIR}/pkg-plist.nodocs
|
|
.endif
|
|
|
|
# QMAIL_DIR is the directory where qmail is installed
|
|
.if !defined(QMAIL_DIR)
|
|
QMAIL_DIR= /var/qmail
|
|
.endif
|
|
|
|
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>
|