diff options
author | petef <petef@FreeBSD.org> | 2001-08-24 18:29:56 +0000 |
---|---|---|
committer | petef <petef@FreeBSD.org> | 2001-08-24 18:29:56 +0000 |
commit | 9f61e3f927e00a473a69801d57585bde85370117 (patch) | |
tree | 063221e0bf37318694a95015cf9d99711ae981ab /mail/qmhandle/Makefile | |
parent | d31a556e3996b93506b0975a5ef6b0197fc0820d (diff) | |
download | FreeBSD-ports-9f61e3f927e00a473a69801d57585bde85370117.zip FreeBSD-ports-9f61e3f927e00a473a69801d57585bde85370117.tar.gz |
add qmHandle 0.5.1
Tool to view and manage a qmail queue
PR: 29840
Diffstat (limited to 'mail/qmhandle/Makefile')
-rw-r--r-- | mail/qmhandle/Makefile | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/mail/qmhandle/Makefile b/mail/qmhandle/Makefile new file mode 100644 index 0000000..9e9939b --- /dev/null +++ b/mail/qmhandle/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: qmHandle +# Date created: 17 August 2001 +# Whom: petef +# +# $FreeBSD$ +# + +PORTNAME= qmHandle +PORTVERSION= 0.5.1 +CATEGORIES= mail +MASTER_SITES= http://www.io.com/~mick/soft/ + +MAINTAINER= petef@FreeBSD.org + +RUN_DEPENDS= ${QMAIL_DIR}/bin/qmail-qstat:${PORTSDIR}/mail/qmail + +NO_WRKSUBDIR= yes +NO_BUILD= yes + +.if exists(${LOCALBASE}/qmail/bin/qmail-qstat) +QMAIL_DIR?= ${LOCALBASE}/qmail +.else +QMAIL_DIR?= /var/qmail +.endif + +post-patch: + @${PERL} -pi -e 's,^#!/usr/bin/perl,#!${PERL},' ${WRKSRC}/qmHandle + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/qmHandle ${PREFIX}/bin +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for file in HISTORY README + ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} +.endfor +.endif + +.include <bsd.port.mk> |