aboutsummaryrefslogtreecommitdiff
path: root/mail/queue-repair
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-10-14 13:31:21 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-10-14 13:31:21 +0000
commit426e7dfaff89ef71976cab93b9bc88564678c0d4 (patch)
treea1ff39daf962c826469b4b4724e05a689a820c2a /mail/queue-repair
parentdb95d33df99eeb6a20f69d6e8c6e65f78f10dadb (diff)
downloadports-426e7dfaff89ef71976cab93b9bc88564678c0d4.tar.gz
ports-426e7dfaff89ef71976cab93b9bc88564678c0d4.zip
Notes
Diffstat (limited to 'mail/queue-repair')
-rw-r--r--mail/queue-repair/Makefile13
-rw-r--r--mail/queue-repair/pkg-plist1
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