freebsd-ports/mail/qmHandle/Makefile
Pete Fritchman f2259cd577 - update to 1.0.0
- use bzip2 distfile
- use new master site/WWW: tag

Submitted by:	Maciej Korzeñ <maciekk@linux.sky.pl>
2002-05-15 20:17:33 +00:00

40 lines
782 B
Makefile

# New ports collection makefile for: qmHandle
# Date created: 17 August 2001
# Whom: petef
#
# $FreeBSD$
#
PORTNAME= qmHandle
PORTVERSION= 1.0.0
CATEGORIES= mail
MASTER_SITES= http://www.italpro.net/mb/soft/
MAINTAINER= petef@FreeBSD.org
RUN_DEPENDS= ${QMAIL_DIR}/bin/qmail-qstat:${PORTSDIR}/mail/qmail
NO_WRKSUBDIR= yes
NO_BUILD= yes
USE_BZIP2= 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>