aboutsummaryrefslogtreecommitdiffstats
path: root/mail/pine4-ssl/Makefile
blob: 4e2bb31bf1b1d35a75c446f6d25d8d430bf0077d (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.0
# Date created:     22 June 1999
# Whom:         Nick Sayer <nsayer@freebsd.org>
#
# $Id:$
#
# 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=        pine-4.10+ssl-1.0

DISTNAME=   pine4+ssl-1.0

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"