summaryrefslogtreecommitdiff
path: root/mail/pine-pgp-filters/Makefile
blob: 930378d4722f6db1d3461da13bde13201ed3c2ce (plain)
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
36
37
38
39
40
41
PORTNAME=	pine-pgp-filters
PORTVERSION=	1.8
PORTREVISION=	2
CATEGORIES=	mail security
MASTER_SITES=	LOCAL/marino
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}${EXTRACT_SUFX}.asc
EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}

MAINTAINER=	mbeis@xs4all.nl
COMMENT=	Simple sh-based filters to use GnuPG with Alpine

LICENSE=	BSD2CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE

BUILD_DEPENDS=	gpg2:security/gnupg
RUN_DEPENDS=	alpine:mail/alpine \
		gpg2:security/gnupg

HAS_CONFIGURE=	yes
CONFIGURE_ARGS=	--prefix=${PREFIX}
NO_ARCH=	yes

PORTDOCS=	BUGS CHANGES INSTALL README
PLIST_FILES=	bin/ppf_mime bin/ppf_mime_decrypt \
		libexec/ppf_decrypt libexec/ppf_encrypt libexec/ppf_mime \
		libexec/ppf_mime_decrypt libexec/ppf_sign libexec/ppf_verify

OPTIONS_DEFINE=	DOCS

DOCS_SUB_FILES=	pkg-message

verify:	checksum
	gpg --verify ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}.asc

post-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in ${PORTDOCS}
	${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
.endfor

.include <bsd.port.mk>