blob: dbcad28223db0364b97f3c78e0da96b4358f0134 (
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
|
# Created by: Zahemszky, Gabor <ZGabor at CoDe dot HU>
# $FreeBSD$
PORTNAME= sslwrap
PORTVERSION= 2.0.6
PORTREVISION= 2
CATEGORIES= security
MASTER_SITES= http://www.rickk.com/sslwrap/
DISTNAME= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Another SSL Wrapper application, which uses SSLEay/OpenSSL
# 4th clause is actually different here and does not really apply
# to FreeBSD, but the license still contains advertising clause
# making it identical to classic BSD4CLAUSE
LICENSE= BSD4CLAUSE
WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION:S/.//g}
USE_OPENSSL= yes
PORTDOCS= README docs.html
PLIST_FILES= bin/sslwrap
OPTIONS_DEFINE= DOCS
post-patch:
@${FIND} ${WRKSRC} -name "*.[ch]" | ${XARGS} ${REINPLACE_CMD} -e \
's|SSL_OP_NON_EXPORT_FIRST|SSL_OP_CIPHER_SERVER_PREFERENCE|g ; \
s|OPENSSL"|"openssl/|g'
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/sslwrap ${STAGEDIR}${PREFIX}/bin
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>
|