aboutsummaryrefslogtreecommitdiff
path: root/mail/postsrsd/Makefile
blob: 18b7bee90abbff3a39212b815acf6e8bdc529742 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
PORTNAME=	postsrsd
DISTVERSION=	1.10
PORTEPOCH=	1
CATEGORIES=	mail

MAINTAINER=	ports@bsdserwis.com
COMMENT=	Postfix Sender Rewriting Scheme daemon
WWW=		https://github.com/roehling/postsrsd

LICENSE=	GPLv2+
LICENSE_FILE=	${WRKSRC}/LICENSE

BUILD_DEPENDS=	help2man:misc/help2man

USES=		cmake cpe pkgconfig
CPE_VENDOR=	${PORTNAME}_project

USE_GITHUB=	yes
GH_ACCOUNT=	roehling
USE_RC_SUBR=	${PORTNAME}

CMAKE_ARGS=	--no-warn-unused-cli \
		-DCMAKE_INCLUDE_PATH="${LOCALBASE}/include" \
		-DCMAKE_LIBRARY_PATH="${LOCALBASE}/lib"

PLIST_FILES=	man/man8/postsrsd.8.gz \
		sbin/postsrsd

PORTDOCS=	README.md README_UPGRADE.md main.cf.ex

OPTIONS_DEFINE=	DOCS

DOCS_CMAKE_BOOL=	ENABLE_DOCS

.include <bsd.port.mk>