blob: 023c1edb9bd1bba28b52ebbc26891300eacc51c9 (
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# New ports collection makefile for: pine-pgp-filters
# Date created: 22 January 2003
# Whom: dougb
#
# $FreeBSD$
#
PORTNAME= pine-pgp-filters
PORTVERSION= 1.7
CATEGORIES= mail security
MASTER_SITES= http://dougbarton.us/PGP/ppf/ \
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= dougb
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}${EXTRACT_SUFX}.asc
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= DougB@FreeBSD.org
COMMENT= Simple /bin/sh-based filters to use GnuPG with Alpine
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
.include <bsd.port.pre.mk>
RUN_DEPENDS= alpine:${PORTSDIR}/mail/alpine
# We want to be version-agnostic here, but also record the right dependency
# if the user installs the package and already has one or the other installed.
.if exists(${LOCALBASE}/bin/gpg2)
BUILD_DEPENDS= gpg2:${PORTSDIR}/security/gnupg
RUN_DEPENDS+= gpg2:${PORTSDIR}/security/gnupg
.else
BUILD_DEPENDS= gpg:${PORTSDIR}/security/gnupg1
RUN_DEPENDS+= gpg:${PORTSDIR}/security/gnupg1
.endif
verify: checksum
gpg --verify ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}.asc
do-configure:
@(cd ${WRKSRC} && ./configure --prefix=${PREFIX})
PORTDOCS= BUGS CHANGES INSTALL LICENSE README
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
|