freebsd-ports/devel/libzookeeper/Makefile
Rainer Hurling 4863a47167 devel/zookeeper: Update to 3.6.2
Changelog: https://zookeeper.apache.org/doc/r3.6.2/releasenotes.html

PR:		250373
Submitted by:	Dmitry Wagin <dmitry.wagin@ya.ru> (maintainer)
Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D26828
2020-10-17 13:20:21 +00:00

35 lines
921 B
Makefile

# Created by: skreuzer@FreeBSD.org
# $FreeBSD$
PORTNAME= zookeeper
PORTVERSION= 3.6.2
CATEGORIES= devel
MASTER_SITES= APACHE/${PORTNAME}/${PORTNAME}-${PORTVERSION}
PKGNAMEPREFIX= lib
DISTNAME= apache-${PORTNAME}-${PORTVERSION}
MAINTAINER= dmitry.wagin@ya.ru
COMMENT= C client interface to Zookeeper server
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libcppunit.so:devel/cppunit
USES= autoreconf libtool pkgconfig
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/${DISTNAME}/zookeeper-client/zookeeper-client-c
post-extract:
@${MKDIR} ${WRKSRC}/generated/
@cd ${FILESDIR} && ${CP} -p zookeeper.jute.* ${WRKSRC}/generated/
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* ${STAGEDIR}${PREFIX}/lib/*.so
${LN} -sf libzookeeper_mt.so.2 ${STAGEDIR}${PREFIX}/lib/libzookeeper_mt.so
${LN} -sf libzookeeper_st.so.2 ${STAGEDIR}${PREFIX}/lib/libzookeeper_st.so
.include <bsd.port.mk>