1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00
freebsd-ports/mail/queue-repair/Makefile
Robert Clausecker 60abf2a4fd mail/queue-repair: fix patch and refactor
- remove stray shebang, (q)nofiles changes from patch file
   (I ran makepatch, which picked up REINPLACE_CMD changes)
 - replace homegrown REINPLACE_CMD with USES=shebangfix
 - set NO_ARCH=yes, NO_BUILD=yes
 - express options-dependent commands in more declarative manner

Fixes:		809ff8bfc9
Reported by:	danfe
Approved by:	portmgr (build fix, infrastructure blanket)
MFH:		2023Q2
2023-05-09 10:27:49 +02:00

41 lines
915 B
Makefile

PORTNAME= queue-repair
PORTVERSION= 0.9.0
PORTREVISION= 3
CATEGORIES= mail python
MASTER_SITES= http://pyropus.ca/software/${PORTNAME}/
MAINTAINER= jeff.jschmidt@gmail.com
COMMENT= Qmail queue diagnostic and repair tool
WWW= http://pyropus.ca/software/queue-repair/
LICENSE= GPLv2
USES= python shebangfix
SHEBANG_FILES= queue_repair.py
NO_ARCH= yes
NO_BUILD= yes
OPTIONS_DEFINE= DOCS QMAIL_PORT
OPTIONS_DEFAULT= QMAIL_PORT
QMAIL_PORT_DESC= Depend on qmail port
QMAIL_PORT_USES= qmail:run
PLIST_FILES= bin/queue-repair
PORTDOCS= BLURB CHANGELOG TODO
do-configure-QMAIL_PORT-on:
${REINPLACE_CMD} -e 's,nofiles,qnofiles,' ${WRKSRC}/queue_repair.py
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/queue_repair.py ${STAGEDIR}${PREFIX}/bin/queue-repair
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>