mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
29c208b31b
PR: 232126 Submitted by: ndowens@yahoo.com Approved by: jlaffaye (maintainer timeout, 2 months)
36 lines
866 B
Makefile
36 lines
866 B
Makefile
# Created by: Julien Laffaye <kimelto@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libircclient
|
|
PORTVERSION= 1.7
|
|
CATEGORIES= irc devel
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= jlaffaye@FreeBSD.org
|
|
COMMENT= IRC library to create IRC clients
|
|
|
|
LICENSE= LGPL3+
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
OPTIONS_DEFINE= OPENSSL IPV6 EXAMPLES
|
|
OPTIONS_DEFAULT= OPENSSL
|
|
|
|
OPENSSL_USES= ssl
|
|
OPENSSL_CONFIGURE_ENV= ac_cv_lib_ssl_SSL_library_init=yes
|
|
OPENSSL_CONFIGURE_ENABLE= openssl
|
|
OPENSSL_LDFLAGS= -L${OPENSSLLIB}
|
|
OPENSSL_CFLAGS= -I${OPENSSLINC}
|
|
IPV6_CONFIGURE_ENABLE= ipv6
|
|
|
|
BUILD_WRKSRC= ${WRKSRC}/src
|
|
GNU_CONFIGURE= yes
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${WRKSRC}/include/*.h ${STAGEDIR}${PREFIX}/include
|
|
${INSTALL_DATA} ${WRKSRC}/src/libircclient.a ${STAGEDIR}${PREFIX}/lib
|
|
|
|
do-install-EXAMPLES-on:
|
|
(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
|
|
|
|
.include <bsd.port.mk>
|