pkgsrc/mail/qmail-lint/Makefile
jlam a80fd13efc Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
2008-03-04 17:57:17 +00:00

33 lines
720 B
Makefile

# $NetBSD: Makefile,v 1.13 2008/03/04 17:57:19 jlam Exp $
#
DISTNAME= qmail-lint-0.55
PKGREVISION= 1
CATEGORIES= mail
MASTER_SITES= ${HOMEPAGE}
EXTRACT_SUFX= #
MAINTAINER= schmonz@NetBSD.org
HOMEPAGE= http://www.qmail.org/
COMMENT= Examine the qmail configuration for common errors
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}
USE_TOOLS+= perl:run
REPLACE_PERL= ${DISTNAME}
NO_BUILD= yes
SUBST_CLASSES+= qmaildir
SUBST_STAGE.qmaildir= do-configure
SUBST_FILES.qmaildir= ${DISTNAME}
SUBST_SED.qmaildir= -e 's|/var/qmail|${QMAILDIR}|g'
INSTALLATION_DIRS= bin
BUILD_DEFS+= QMAILDIR
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} \
${DESTDIR}${PREFIX}/bin/qmail-lint
.include "../../mk/bsd.pkg.mk"