9637f7852e
pkglint -r --network --only "migrate" As a side-effect of migrating the homepages, pkglint also fixed a few indentations in unrelated lines. These and the new homepages have been checked manually.
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.27 2020/01/26 17:31:36 rillig Exp $
|
|
#
|
|
|
|
DISTNAME= qmail-qfilter-2.1
|
|
PKGREVISION= 5
|
|
CATEGORIES= mail
|
|
MASTER_SITES= ${HOMEPAGE}
|
|
|
|
MAINTAINER= schmonz@NetBSD.org
|
|
HOMEPAGE= https://untroubled.org/qmail-qfilter/
|
|
COMMENT= Multi-filter front end for qmail-queue
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
DEPENDS+= qmail>=1.03nb9:../../mail/qmail
|
|
|
|
REPLACE_PERL= samples/block-long-dates \
|
|
samples/deny-filetypes \
|
|
samples/rename-filetypes
|
|
|
|
SUBST_CLASSES+= paths
|
|
SUBST_STAGE.paths= do-configure
|
|
SUBST_FILES.paths= qmail-qfilter.c
|
|
SUBST_SED.paths+= -e 's|/var/qmail|${QMAILDIR}|g'
|
|
SUBST_MESSAGE.paths= Fixing paths.
|
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/examples/qmail-qfilter
|
|
INSTALL_ENV+= install_prefix=${DESTDIR:Q}
|
|
BUILD_DEFS+= QMAILDIR
|
|
|
|
DJB_RESTRICTED= NO
|
|
DJB_MAKE_TARGETS= NO
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
post-install:
|
|
for i in ${REPLACE_PERL}; do \
|
|
${INSTALL_SCRIPT} ${WRKSRC}/$${i} \
|
|
${DESTDIR}${PREFIX}/share/examples/qmail-qfilter; \
|
|
done
|
|
|
|
.include "../../devel/bglibs/buildlink3.mk"
|
|
.include "../../mk/djbware.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|