1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/security/sslwrap/Makefile
Mathieu Arnold a28f0f7f7f Remove all USE_OPENSSL occurrences.
Sponsored by:	Absolight
2017-03-15 14:45:30 +00:00

43 lines
1.0 KiB
Makefile

# 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}
USES= ssl
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>