summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mail/pine4-ssl/Makefile26
1 files changed, 13 insertions, 13 deletions
diff --git a/mail/pine4-ssl/Makefile b/mail/pine4-ssl/Makefile
index 5882bd4e45e7..a184a63b4a5d 100644
--- a/mail/pine4-ssl/Makefile
+++ b/mail/pine4-ssl/Makefile
@@ -7,42 +7,42 @@
#
# 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.
+# A bit more work got it down to 2 frigging warnings and added a new one.
+# The warnings are getting harder to fix.
# Good luck to you. :-P
-PKGNAME= pine4-ssl-4.21.1.4
-
DISTNAME= pine4+ssl-1.4
-
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
- pine4.21${EXTRACT_SUFX}
-
+PKGNAME= pine4-ssl-4.21.1.4
CATEGORIES= mail news
-
MASTER_SITES= ftp://ftp.cac.washington.edu/pine/ \
http://www.kfu.com/~nsayer/encryption/software/
+DISTFILES= pine4.21${EXTRACT_SUFX}
-MAINTAINER= nsayer@freebsd.org
+PATCH_SITES= http://www.kfu.com/~nsayer/encryption/software/
+PATCHFILES= ${DISTNAME}${EXTRACT_SUFX}
-LIB_DEPENDS= crypto.1:${PORTSDIR}/security/openssl \
- ssl.1:${PORTSDIR}/security/openssl
+MAINTAINER= nsayer@freebsd.org
EXTRACT_ONLY= pine4.21${EXTRACT_SUFX}
-RESTRICTED= "Contains cryptography - no export from US"
-
WRKSRC= ${WRKDIR}/pine4.21
MASTERDIR= ${.CURDIR}/../pine4
FILESDIR= ${.CURDIR}/files
+# I cannot use ${PATCHDIR} as it points to the master port, not this one
+EXTRA_PATCHES= patches/extrapatch-*
+
+USE_OPENSSL= RSA
+
.include <bsd.port.pre.mk>
post-extract:
( cd ${WRKSRC} ; tar xfz ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} )
do-build:
-.if exists(${PREFIX}/lib/librsaref.a)
+.if defined(OPENSSL_RSAREF)
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ./build bsf EXTRAAUTHENTICATORS=ssl RSAREF=yes)
.else
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ./build bsf EXTRAAUTHENTICATORS=ssl)