aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2013-03-17 23:24:17 +0800
committerbdrewery <bdrewery@FreeBSD.org>2013-03-17 23:24:17 +0800
commitff060d50686d1805e9f6fe59aa054698f1a0658b (patch)
tree2b3fdbd4d029d2951b63e987bd4114f24a6a4a16 /mail
parent1395e4184d85e4bc3affac37fafa1fe20549c690 (diff)
downloadfreebsd-ports-gnome-ff060d50686d1805e9f6fe59aa054698f1a0658b.tar.gz
freebsd-ports-gnome-ff060d50686d1805e9f6fe59aa054698f1a0658b.tar.zst
freebsd-ports-gnome-ff060d50686d1805e9f6fe59aa054698f1a0658b.zip
- Take maintainership
- Fix space in WWW - Remove indefinite article from COMMENT - Convert from KNOB to options - Convert NOPORTDOCS
Diffstat (limited to 'mail')
-rw-r--r--mail/queue-repair/Makefile19
-rw-r--r--mail/queue-repair/pkg-descr2
2 files changed, 13 insertions, 8 deletions
diff --git a/mail/queue-repair/Makefile b/mail/queue-repair/Makefile
index fbf1d39fd2a0..3563fc29b100 100644
--- a/mail/queue-repair/Makefile
+++ b/mail/queue-repair/Makefile
@@ -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
+MAINTAINER= bdrewery@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}
diff --git a/mail/queue-repair/pkg-descr b/mail/queue-repair/pkg-descr
index 0b7924f1e849..0c35a6883138 100644
--- a/mail/queue-repair/pkg-descr
+++ b/mail/queue-repair/pkg-descr
@@ -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/