freebsd-ports/devel/libzookeeper/Makefile
Stefan Eßer 730dd8d005 devel/libzookeeper: Add CPE information
Approved by:	portmgr (blanket)
2021-10-14 23:30:30 +02:00

35 lines
932 B
Makefile

# Created by: skreuzer@FreeBSD.org
PORTNAME= zookeeper
PORTVERSION= 3.7.0
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 cpe libtool pkgconfig
CPE_VENDOR= apache
USE_LDCONFIG= yes
GNU_CONFIGURE= 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>