mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-15 07:56:36 +00:00
168f57451a
COMMENT typos and surrounding whitespace fixes. A few Makefiles where not included as they contain Latin-1 characters that break the Phabricator workflow. Category M. CR: D306 Approved by: portmgr (bapt)
39 lines
890 B
Makefile
39 lines
890 B
Makefile
# Created by: Thomas Seck <tmseck@netcologne.de>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= usendmail
|
|
PORTVERSION= 0.1.6
|
|
PORTREVISION= 2
|
|
CATEGORIES= mail
|
|
MASTER_SITES= http://www.ohse.de/uwe/usendmail/
|
|
|
|
MAINTAINER= tmseck@FreeBSD.org
|
|
COMMENT= Replacement for qmail's sendmail drop-in
|
|
|
|
USES= qmail
|
|
|
|
WRKSRC= ${WRKDIR}/mail/${DISTNAME}
|
|
|
|
PLIST_FILES= sbin/usendmail
|
|
PORTDOCS= NEWS README
|
|
SUB_FILES= pkg-message
|
|
SUB_LIST= QMAIL_PREFIX=${QMAIL_PREFIX}
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's,/var/qmail,${QMAIL_PREFIX},' \
|
|
${WRKSRC}/src/usendmail.c
|
|
@${REINPLACE_CMD} -e 's,^CC=,CC\?=,' \
|
|
${WRKSRC}/src/Makefile
|
|
|
|
regression-test: build
|
|
cd ${WRKSRC} && ./package/check
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/command/usendmail ${STAGEDIR}${PREFIX}/sbin
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
cd ${WRKSRC}/src && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|