1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
freebsd-ports/mail/queue-repair/Makefile
Bryan Drewery 0bc41e9815 Farewell qmail. You were good but the lack of an upstream maintainer or
ecosystem maintainers makes this not a viable mail system today. Personally
I am moving to postfix and have so far found it incredibly easy to setup and
already prefer it over qmail.
2015-05-28 15:56:59 +00:00

45 lines
1013 B
Makefile

# Created by: Sergei Kolobov <sergei@kolobov.com>
# $FreeBSD$
PORTNAME= queue-repair
PORTVERSION= 0.9.0
PORTREVISION= 1
CATEGORIES= mail python
MASTER_SITES= http://pyropus.ca/software/${PORTNAME}/
MAINTAINER= ports@FreeBSD.org
COMMENT= Qmail queue diagnostic and repair tool
LICENSE= GPLv2
USES= python
OPTIONS_DEFINE= DOCS QMAIL_PORT
OPTIONS_DEFAULT= QMAIL_PORT
QMAIL_PORT_DESC= Depend on qmail port
QMAIL_PORT_USES= qmail:run
.include <bsd.port.options.mk>
PLIST_FILES= bin/queue-repair
PORTDOCS= BLURB CHANGELOG TODO
do-build:
${REINPLACE_CMD} -e 's,^#!/usr/bin/python,#!${PYTHON_CMD},' \
${WRKSRC}/queue_repair.py
.if ${PORT_OPTIONS:MQMAIL_PORT}
${REINPLACE_CMD} -e 's,nofiles,qnofiles,' ${WRKSRC}/queue_repair.py
.endif
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/queue_repair.py ${STAGEDIR}${PREFIX}/bin/queue-repair
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
. for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
. endfor
.endif
.include <bsd.port.mk>