freebsd-ports/mail/qmhandle/Makefile
Renato Botelho d48b4b6f30 - Use pgrep to get qmail-send pid and prevent some problems when pid has less
than 5 digits
- Bump PORTREVISION

PR:		ports/123724
Submitted by:	mitsuru@riken.jp
2008-05-20 18:26:27 +00:00

39 lines
737 B
Makefile

# New ports collection makefile for: qmHandle
# Date created: 17 August 2001
# Whom: petef
#
# $FreeBSD$
#
PORTNAME= qmhandle
PORTVERSION= 1.3.2
PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= SF
MAINTAINER= garga@FreeBSD.org
COMMENT= Tool to view and manage a qmail queue
USE_QMAIL_RUN= yes
NO_BUILD= yes
USE_PERL5= yes
USE_BZIP2= yes
PLIST_FILES= bin/qmHandle
PORTDOCS= HISTORY README
post-patch:
@${PERL} -pi -e 's,^#!/usr/bin/perl,#!${PERL},; \
s,%%LOCALBASE%%,${LOCALBASE},g' ${WRKSRC}/qmHandle
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/qmHandle ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>