1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00

- Take maintainership

- Fix space in WWW
- Remove indefinite article from COMMENT
- Convert from KNOB to options
- Convert NOPORTDOCS
This commit is contained in:
Bryan Drewery 2013-03-17 15:24:17 +00:00
parent e717bfb3a2
commit 56d20528f0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=314454
2 changed files with 14 additions and 9 deletions

View File

@ -7,28 +7,33 @@ PORTREVISION= 1
CATEGORIES= mail python
MASTER_SITES= http://pyropus.ca/software/${PORTNAME}/
MAINTAINER= ports@FreeBSD.org
COMMENT= A qmail queue diagnostic and repair tool
.if !defined(WITHOUT_QMAIL_PORT)
USES= qmail:run
.endif
MAINTAINER= bdrewery@FreeBSD.org
COMMENT= Qmail queue diagnostic and repair tool
USE_PYTHON= yes
OPTIONS_DEFINE= DOCS QMAIL
OPTIONS_DEFAULT= QMAIL
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MQMAIL}
USES= qmail:run
.endif
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 !defined(WITHOUT_QMAIL_PORT)
.if ${PORT_OPTIONS:MQMAIL}
${REINPLACE_CMD} -e 's,nofiles,qnofiles,' ${WRKSRC}/queue_repair.py
.endif
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/queue_repair.py ${PREFIX}/bin/queue-repair
.if !defined(NOPORTDOCS)
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
. for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}

View File

@ -16,4 +16,4 @@ queue_repair features include:
- can run in repair or test (report-only) modes. The default is test mode.
WWW: http://pyropus.ca/software/queue-repair/
WWW: http://pyropus.ca/software/queue-repair/