2004-07-22 02:52:36 +02:00
|
|
|
# $NetBSD: Makefile,v 1.11 2004/07/22 00:52:36 schmonz Exp $
|
2001-04-27 17:46:03 +02:00
|
|
|
#
|
|
|
|
|
2004-07-22 02:52:36 +02:00
|
|
|
DISTNAME= qmhandle-1.2.0
|
|
|
|
PKGNAME= ${DISTNAME:S/h/H/}
|
2001-04-27 17:46:03 +02:00
|
|
|
CATEGORIES= mail
|
2004-07-22 02:52:36 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=qmhandle/}
|
2001-04-27 17:46:03 +02:00
|
|
|
|
2004-07-22 02:52:36 +02:00
|
|
|
MAINTAINER= schmonz@NetBSD.org
|
|
|
|
HOMEPAGE= http://qmhandle.sourceforge.net/
|
2003-07-21 18:56:41 +02:00
|
|
|
COMMENT= Tool to view and manage the qmail message queue
|
2001-04-27 17:46:03 +02:00
|
|
|
|
2004-01-20 13:18:15 +01:00
|
|
|
WRKSRC= ${WRKDIR}
|
2001-04-27 17:46:03 +02:00
|
|
|
USE_PERL5= YES
|
2001-08-13 17:03:45 +02:00
|
|
|
REPLACE_PERL= qmHandle
|
2001-04-27 17:46:03 +02:00
|
|
|
NO_BUILD= YES
|
|
|
|
|
2004-07-22 02:52:36 +02:00
|
|
|
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
|
|
|
|
|
2001-04-27 17:46:03 +02:00
|
|
|
do-install:
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/qmHandle ${PREFIX}/bin
|
2004-07-22 02:52:36 +02:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/qmHandle
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/qmHandle
|
2001-04-27 17:46:03 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|