summaryrefslogtreecommitdiff
path: root/mail/pine4-ssl/Makefile
blob: 21abe3062c3fc164c55801adf0a82872d7420f67 (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
# New ports collection makefile for:	pine4-ssl
# Version required:     1.2
# Date created:		29 Jul 1999
# Whom:			Nick Sayer <nsayer@freebsd.org>
#
# $Id: Makefile,v 1.3 1999/07/02 18:03:12 nsayer Exp $
#
# I spent a <strong>very frustrating</strong> half hour with portlint
# on this one and could never get it to fewer than 8 frigging warnings.
# Good luck to you. :-P

PKGNAME=        pine4-ssl-4.10.1.2

DISTNAME=	pine4+ssl-1.2

DISTFILES=	${DISTNAME}${EXTRACT_SUFX} \
		pine4.10${EXTRACT_SUFX}

CATEGORIES=	mail news

MAINTAINER=	nsayer@freebsd.org

BUILD_DEPENDS+=	${PREFIX}/lib/libssl.a:${PORTSDIR}/security/openssl \
		${PREFIX}/lib/libcrypto.a:${PORTSDIR}/security/openssl \
		${PREFIX}/lib/libRSAglue.a:${PORTSDIR}/security/openssl \
		${PREFIX}/lib/librsaref.a:${PORTSDIR}/security/rsaref

EXTRACT_ONLY=	pine4.10${EXTRACT_SUFX}

RESTRICTED=	"Contains cryptography - no export from US"

WRKSRC=		${WRKDIR}/pine4.10

MASTERDIR=	${.CURDIR}/../pine4

FILESDIR=	${.CURDIR}/files

.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
IGNORE='Please fill out the form at http://www.kfu.com/~nsayer/encryption/pine.html and place the sources at ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} then run make again'
.endif

post-extract:
	( cd ${WRKSRC} ; tar xfz ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} )

do-build:
	@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ./build bsf EXTRAAUTHENTICATORS=ssl)

.include "${MASTERDIR}/Makefile"