pkgsrc/mail/qmHandle/Makefile
jlam 3e474a90d8 Get rid of USE_PERL5. The new way to express needing the Perl executable
around at either build-time or at run-time is:

	USE_TOOLS+=	perl		# build-time
	USE_TOOLS+=	perl:run	# run-time

Also remove some places where perl5/buildlink3.mk was being included
by a package Makefile, but all that the package wanted was the Perl
executable.
2005-07-16 01:19:06 +00:00

35 lines
948 B
Makefile

# $NetBSD: Makefile,v 1.14 2005/07/16 01:19:13 jlam Exp $
#
DISTNAME= qmhandle-1.2.0
PKGNAME= ${DISTNAME:S/h/H/}
PKGREVISION= 1
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_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
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"