summaryrefslogtreecommitdiff
path: root/mail/postsrsd/Makefile
blob: ccaeb6472ea6fe58d6760d2a16b86769f986ca6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $NetBSD: Makefile,v 1.2 2017/12/31 13:22:46 wiz Exp $

DISTNAME=	postsrsd-1.4
PKGREVISION=	1
CATEGORIES=	mail
MASTER_SITES=	${MASTER_SITE_GITHUB:=roehling/}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://github.com/roehling/postsrsd
COMMENT=	Postfix Sender Rewriting Scheme daemon
LICENSE=	gnu-gpl-v2

USE_CMAKE=	yes
BUILD_DEPENDS+=	help2man-[0-9]*:../../converters/help2man

SUBST_CLASSES+=		man
SUBST_STAGE.man=	pre-configure
SUBST_SED.man+=		-e "s,share/man,${PKGMANDIR},"
SUBST_FILES.man+=	CMakeLists.txt
SUBST_MESSAGE.man=	Fixing man page installation path.

.include "../../mk/bsd.pkg.mk"