aboutsummaryrefslogtreecommitdiffstats
path: root/mail/postsrsd/Makefile
blob: 72a471fd10d5487fd3a07b2340339d2c83c568dd (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
# Created by: Krzysztof Stryjek <ports@bsdserwis.com>
# $FreeBSD$

PORTNAME=   postsrsd
PORTVERSION=    1.1
CATEGORIES= mail

MAINTAINER= ports@bsdserwis.com
COMMENT=    Postfix Sender Rewriting Scheme daemon

LICENSE=    GPLv2

BUILD_DEPENDS+= help2man:${PORTSDIR}/misc/help2man \
        base64:${PORTSDIR}/converters/base64
RUN_DEPENDS+=   base64:${PORTSDIR}/converters/base64

USE_GITHUB= yes
GH_ACCOUNT= roehling
GH_COMMIT=  4a3349d

USES=       cmake pkgconfig
CMAKE_ARGS+=    --no-warn-unused-cli \
        -DCMAKE_INCLUDE_PATH="${LOCALBASE}/include" \
        -DCMAKE_LIBRARY_PATH="${LOCALBASE}/lib"
USE_LDCONFIG=   ${PREFIX}/lib/${PORTNAME}
USE_RC_SUBR=    ${PORTNAME}

PORTDOCS=   README.md main.cf.ex

OPTIONS_DEFINE= DOCS

DOCS_CMAKE_ON=  -DENABLE_DOCS:STRING="ON"

.include <bsd.port.mk>