File:
[cvs.NetBSD.org] /
pkgsrc /
mail /
py-policyd-spf /
Makefile
Revision
1.5:
download - view:
text,
annotated -
select for diffs
Tue Jan 4 20:54:11 2022 UTC (2 years, 9 months ago) by
wiz
Branches:
MAIN
CVS tags:
pkgsrc-2024Q3-base,
pkgsrc-2024Q3,
pkgsrc-2024Q2-base,
pkgsrc-2024Q2,
pkgsrc-2024Q1-base,
pkgsrc-2024Q1,
pkgsrc-2023Q4-base,
pkgsrc-2023Q4,
pkgsrc-2023Q3-base,
pkgsrc-2023Q3,
pkgsrc-2023Q2-base,
pkgsrc-2023Q2,
pkgsrc-2023Q1-base,
pkgsrc-2023Q1,
pkgsrc-2022Q4-base,
pkgsrc-2022Q4,
pkgsrc-2022Q3-base,
pkgsrc-2022Q3,
pkgsrc-2022Q2-base,
pkgsrc-2022Q2,
pkgsrc-2022Q1-base,
pkgsrc-2022Q1,
HEAD
*: bump PKGREVISION for egg.mk users
They now have a tool dependency on py-setuptools instead of a DEPENDS
# $NetBSD: Makefile,v 1.5 2022/01/04 20:54:11 wiz Exp $
DISTNAME= pypolicyd-spf-2.0.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^py//}
PKGREVISION= 2
CATEGORIES= mail python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pypolicyd-spf/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://pypi.python.org/pypi/pypolicyd-spf
COMMENT= Python based policy daemon for Postfix SPF checking
LICENSE= apache-2.0
DEPENDS+= ${PYPKGPREFIX}-authres-[0-9]*:../../mail/py-authres
DEPENDS+= ${PYPKGPREFIX}-spf>=2.0.9:../../mail/py-spf
PYTHON_VERSIONS_INCOMPATIBLE= 27
DOCDIR= share/doc/${PKGBASE}
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
PKG_SYSCONFSUBDIR= python-policyd-spf
SUBST_CLASSES+= paths
SUBST_STAGE.paths= pre-configure
SUBST_FILES.paths= policyd-spf policyd-spf.1 policyd-spf.conf.5
SUBST_FILES.paths+= policyd-spf.peruser.5 setup.py
SUBST_VARS.paths= PKGMANDIR PKG_SYSCONFDIR
INSTALLATION_DIRS= ${DOCDIR} ${EGDIR} ${PKGMANDIR}/man1 ${PKGMANDIR}/man5
CONF_FILES= ${EGDIR}/policyd-spf.conf ${PKG_SYSCONFDIR}/policyd-spf.conf
PLIST_SUBST+= DOCDIR=${DOCDIR:Q} PKGBASE=${PKGBASE}
PRINT_PLIST_AWK+= { gsub(/${DOCDIR:S|/|\\/|g}/, "$${DOCDIR}"); }
PRINT_PLIST_AWK+= { gsub(/${PKGBASE}/, "$${PKGBASE}"); }
post-install:
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/README.per_user_whitelisting ${DESTDIR}${PREFIX}/${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/policyd-spf.conf.commented ${DESTDIR}${EGDIR}/policyd-spf.conf
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>