File:  [cvs.NetBSD.org] / pkgsrc / mail / qmHandle / Makefile
Revision 1.25: download - view: text, annotated - select for diffs
Sat Jul 9 06:38:31 2016 UTC (8 years, 5 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, HEAD
Bump PKGREVISION for perl-5.24.0 for everything mentioning perl.

# $NetBSD: Makefile,v 1.25 2016/07/09 06:38:31 wiz Exp $
#

DISTNAME=		qmhandle-1.3.2
PKGNAME=		${DISTNAME:S/h/H/}
PKGREVISION=		5
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
LICENSE=		gnu-gpl-v2

USE_TOOLS+=		perl:run
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

INSTALLATION_DIRS=	bin share/doc/qmHandle
BUILD_DEFS+=		QMAIL_QUEUE_DIR RCD_SCRIPTS_DIR

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/qmHandle ${DESTDIR}${PREFIX}/bin
	${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/qmHandle

.include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>