diff options
-rw-r--r-- | mail/queue-repair/Makefile | 13 | ||||
-rw-r--r-- | mail/queue-repair/pkg-plist | 1 |
2 files changed, 11 insertions, 3 deletions
diff --git a/mail/queue-repair/Makefile b/mail/queue-repair/Makefile index 3968684716d8..c1d848757224 100644 --- a/mail/queue-repair/Makefile +++ b/mail/queue-repair/Makefile @@ -7,24 +7,33 @@ PORTNAME= queue-repair PORTVERSION= 0.8.6 +PORTREVISION= 1 CATEGORIES= mail python MASTER_SITES= http://www.qcc.ca/~charlesc/software/queue_repair/ MAINTAINER= sergei@kolobov.com +.if !defined(WITHOUT_QMAIL_PORT) +RUN_DEPENDS= ${QMAIL_DIR}/bin/qmail-send:${PORTSDIR}/mail/qmail +QMAIL_DIR?= /var/qmail +.endif + USE_PYTHON= yes USE_REINPLACE= yes -DOCS= BLURB CHANGELOG COPYING TODO docs.txt +DOCS= BLURB CHANGELOG TODO docs.txt do-build: ${REINPLACE_CMD} -e 's,^#!/usr/bin/python,#!${PYTHON_CMD},' \ ${WRKSRC}/queue_repair.py +.if !defined(WITHOUT_QMAIL_PORT) + ${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) - ${MKDIR} ${DOCSDIR} + @${MKDIR} ${DOCSDIR} .for file in ${DOCS} ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} .endfor diff --git a/mail/queue-repair/pkg-plist b/mail/queue-repair/pkg-plist index db516b0aa207..b4dc7a719a84 100644 --- a/mail/queue-repair/pkg-plist +++ b/mail/queue-repair/pkg-plist @@ -1,7 +1,6 @@ bin/queue-repair %%PORTDOCS%%share/doc/queue-repair/BLURB %%PORTDOCS%%share/doc/queue-repair/CHANGELOG -%%PORTDOCS%%share/doc/queue-repair/COPYING %%PORTDOCS%%share/doc/queue-repair/TODO %%PORTDOCS%%share/doc/queue-repair/docs.txt %%PORTDOCS%%@dirrm share/doc/queue-repair |