pkgsrc/mail/queue-fix/Makefile
rillig c7ff05f63e all: replace SUBST_SED with the simpler SUBST_VARS
pkglint -Wall -r --only "substitution command" -F

With manual review and indentation fixes since pkglint doesn't get that
part correct in every case.
2019-05-23 19:22:54 +00:00

39 lines
1,000 B
Makefile

# $NetBSD: Makefile,v 1.11 2019/05/23 19:23:07 rillig Exp $
#
DISTNAME= queue-fix-1.4
PKGREVISION= 1
CATEGORIES= mail
MASTER_SITES= ${HOMEPAGE}
MAINTAINER= schmonz@NetBSD.org
HOMEPAGE= http://www.netmeridian.com/e-huss/
COMMENT= Check and repair the qmail queue structure
INSTALLATION_DIRS= bin
DJB_RESTRICTED= NO
SUBST_CLASSES+= groups
SUBST_STAGE.groups= do-configure
SUBST_FILES.groups= queue-fix.c
SUBST_VARS.groups= QMAIL_QMAIL_GROUP
SUBST_CLASSES+= users
SUBST_STAGE.users= do-configure
SUBST_FILES.users= queue-fix.c
SUBST_VARS.users= QMAIL_QUEUE_USER
SUBST_VARS.users+= QMAIL_REMOTE_USER
SUBST_VARS.users+= QMAIL_SEND_USER
BUILD_DEFS+= QMAIL_QUEUE_USER QMAIL_REMOTE_USER QMAIL_SEND_USER
BUILD_DEFS+= QMAIL_QMAIL_GROUP
INSTALLATION_DIRS+= share/doc/queue-fix
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/queue-fix ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/queue-fix
.include "../../mk/djbware.mk"
.include "../../mk/bsd.pkg.mk"