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.
31 lines
701 B
Makefile
31 lines
701 B
Makefile
# $NetBSD: Makefile,v 1.10 2005/07/16 01:19:13 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
|
|
|
|
EXTRACT_CMD= ${CP} ${DOWNLOADED_DISTFILE} ${WRKSRC}
|
|
|
|
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
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin/qmail-lint
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|