1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/mail/qmhandle/Makefile
Pete Fritchman 8b01dd3ff1 add qmHandle 0.5.1
Tool to view and manage a qmail queue

PR:		29840
2001-08-24 18:29:56 +00:00

39 lines
765 B
Makefile

# 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>