bae4830c23
1.2.0 * CHANGED SWITCH NAME: "-m" is now used to view messages (no more "-v") * Added "-V" switch to print program version * Added switch to delete messages based on subject [thanks Arne Bernin] * Included GPL licence in the distribution * Now qmail is stopped only once for multiple deletions of messages, which makes things a bit faster * Corrected a bug which might have caused wrong messages to be deleted * Corrected several minor bugs 1.1.1 (July 10, 2003) * Corrected a bug which caused the -a switch not not work. 1.1.0 (June 4, 2003) * First release as a Sourceforge.Net community project... development resumes!!! * Added -a option to immediately send queued messages. Notable pkgsrc changes: * Configure using subst.mk. * Remove RESTRICTED (it no longer appears to be true). * Take MAINTAINER.
32 lines
906 B
Makefile
32 lines
906 B
Makefile
# $NetBSD: Makefile,v 1.11 2004/07/22 00:52:36 schmonz Exp $
|
|
#
|
|
|
|
DISTNAME= qmhandle-1.2.0
|
|
PKGNAME= ${DISTNAME:S/h/H/}
|
|
CATEGORIES= mail
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=qmhandle/}
|
|
|
|
MAINTAINER= schmonz@NetBSD.org
|
|
HOMEPAGE= http://qmhandle.sourceforge.net/
|
|
COMMENT= Tool to view and manage the qmail message queue
|
|
|
|
WRKSRC= ${WRKDIR}
|
|
USE_PERL5= YES
|
|
REPLACE_PERL= qmHandle
|
|
NO_BUILD= YES
|
|
|
|
SUBST_CLASSES+= config
|
|
SUBST_STAGE.config= do-configure
|
|
SUBST_FILES.config= qmHandle
|
|
SUBST_SED.config= -e 's|/var/qmail/queue/|${QMAIL_QUEUE_DIR}/|g'
|
|
SUBST_SED.config+= -e 's|/etc/init.d/qmail|${RCD_SCRIPTS_DIR}/qmail|g'
|
|
.if exists(/usr/bin/pgrep)
|
|
SUBST_SED.config+= -e 's|pidof|/usr/bin/pgrep|g'
|
|
.endif
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/qmHandle ${PREFIX}/bin
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/qmHandle
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/qmHandle
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|