security/tlswrap: Add SSL flags and base configuration

While here, unsuppress installation commands

Approved by:	SSL blanket
This commit is contained in:
John Marino 2016-09-11 06:01:49 +00:00
parent 6caef54cd0
commit b3d513d467
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=421799

View File

@ -11,8 +11,10 @@ DISTNAME= ${PORTNAME}-1.04
MAINTAINER= johans@FreeBSD.org
COMMENT= FTP proxy that wraps data and control with TLS/SSL
USES= ssl
GNU_CONFIGURE= yes
USE_OPENSSL= yes
CONFIGURE_ARGS= --with-ssl=${OPENSSLBASE}
CFLAGS+= -I${OPENSSLINC}
OPTIONS_DEFINE= DOCS
@ -23,8 +25,8 @@ post-patch:
${WRKSRC}/misc.[ch] ${WRKSRC}/network.c ${WRKSRC}/tlswrap.c
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/tlswrap ${STAGEDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/tlswrap ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>