irc/libircclient: Set SSL flags, update to modern options framework

Approved by:	SSL and options blankets
This commit is contained in:
John Marino 2016-09-10 18:32:26 +00:00
parent 9c2235f7e1
commit 79e491244d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=421725

View File

@ -14,20 +14,15 @@ LICENSE= LGPL20
OPTIONS_DEFINE= OPENSSL IPV6 EXAMPLES
OPTIONS_DEFAULT= OPENSSL
OPENSSL_USES= ssl
OPENSSL_CONFIGURE_ENABLE= openssl
OPENSSL_LDFLAGS= -L${OPENSSLLIB}
OPENSSL_CFLAGS= -I${OPENSSLINC}
IPV6_CONFIGURE_ENABLE= ipv6
BUILD_WRKSRC= ${WRKSRC}/src
GNU_CONFIGURE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MOPENSSL}
CONFIGURE_ARGS+= --enable-openssl
USE_OPENSSL= yes
.endif
.if ${PORT_OPTIONS:MIPV6}
CONFIGURE_ARGS+= --enable-ipv6
.endif
do-install:
@${INSTALL_DATA} ${WRKSRC}/include/libircclient.h ${STAGEDIR}${PREFIX}/include
@${INSTALL_DATA} ${WRKSRC}/include/libirc_errors.h ${STAGEDIR}${PREFIX}/include