svn commit: r314454 - head/mail/queue-repair
Bryan Drewery
bdrewery at FreeBSD.org
Sun Mar 17 15:24:18 UTC 2013
Author: bdrewery
Date: Sun Mar 17 15:24:17 2013
New Revision: 314454
URL: http://svnweb.freebsd.org/changeset/ports/314454
Log:
- Take maintainership
- Fix space in WWW
- Remove indefinite article from COMMENT
- Convert from KNOB to options
- Convert NOPORTDOCS
Modified:
head/mail/queue-repair/Makefile
head/mail/queue-repair/pkg-descr
Modified: head/mail/queue-repair/Makefile
==============================================================================
--- head/mail/queue-repair/Makefile Sun Mar 17 15:22:02 2013 (r314453)
+++ head/mail/queue-repair/Makefile Sun Mar 17 15:24:17 2013 (r314454)
@@ -7,28 +7,33 @@ PORTREVISION= 1
CATEGORIES= mail python
MASTER_SITES= http://pyropus.ca/software/${PORTNAME}/
-MAINTAINER= ports at FreeBSD.org
-COMMENT= A qmail queue diagnostic and repair tool
+MAINTAINER= bdrewery at FreeBSD.org
+COMMENT= Qmail queue diagnostic and repair tool
-.if !defined(WITHOUT_QMAIL_PORT)
+USE_PYTHON= yes
+
+OPTIONS_DEFINE= DOCS QMAIL
+OPTIONS_DEFAULT= QMAIL
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MQMAIL}
USES= qmail:run
.endif
-USE_PYTHON= yes
-
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}
Modified: head/mail/queue-repair/pkg-descr
==============================================================================
--- head/mail/queue-repair/pkg-descr Sun Mar 17 15:22:02 2013 (r314453)
+++ head/mail/queue-repair/pkg-descr Sun Mar 17 15:24:17 2013 (r314454)
@@ -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/
More information about the svn-ports-all
mailing list