mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-04 11:23:46 +00:00
34 lines
737 B
Makefile
34 lines
737 B
Makefile
# Created by: Daniel O'Connor <darius@dons.net.au>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= tlswrap
|
|
PORTVERSION= 1.0.4
|
|
PORTREVISION= 1
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://www.tlswrap.com/
|
|
DISTNAME= ${PORTNAME}-1.04
|
|
|
|
MAINTAINER= johans@FreeBSD.org
|
|
COMMENT= An FTP proxy that wraps data and control with TLS/SSL
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_OPENSSL= yes
|
|
|
|
PLIST_FILES= bin/tlswrap
|
|
PORTDOCS= README
|
|
|
|
NO_STAGE= yes
|
|
post-patch:
|
|
@${REINPLACE_CMD} -E 's,^(CC|CFLAGS|LDFLAGS).*=,\1?=,g' \
|
|
${WRKSRC}/Makefile.in
|
|
@${REINPLACE_CMD} -E 's,pipe([12]),pipe0\1,g' \
|
|
${WRKSRC}/misc.[ch] ${WRKSRC}/network.c ${WRKSRC}/tlswrap.c
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|