Files
ports/devel/libqb/Makefile
T
Florian Smeets 773b64ffad Fix build/distinfo.
Switch to using the release tarball instead of using the GitHub tag, as I
don't have the original tarball that was used to generate the distinfo
for the upgrade to 2.0. The release tarball has sha256 signatures posted
and they match with what is being committed now.

PR:		246916
Reported by:	Juraj Lutter <juraj@lutter.sk>
Approved by:	blanket approval, tivial build fixes
2020-06-07 07:39:41 +00:00

50 lines
1.1 KiB
Makefile

# Created by: David Shane Holden <dpejesh@yahoo.com>
# $FreeBSD$
PORTNAME= libqb
PORTVERSION= 2.0.0
MASTER_SITES= https://github.com/ClusterLabs/libqb/releases/download/v2.0.0/
CATEGORIES= devel
MAINTAINER= egypcio@FreeBSD.org
COMMENT= High performance logging, tracing, ipc, and polling library
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libxml2.so:textproc/libxml2
TEST_DEPENDS= checkmk:devel/check
GROUPS= haclient
QB_SOCKET_DIR?= /var/run/qb
PLIST_SUB+= QB_SOCKET_DIR=${QB_SOCKET_DIR}
USES= autoreconf gmake libtool pathfix pkgconfig python
USE_BINUTILS= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-socket-dir=${QB_SOCKET_DIR} \
PACKAGE_STRING="${PORTNAME} ${PORTVERSION}" \
PACKAGE_VERSION=${PORTVERSION}
LDFLAGS+= -B${LOCALBASE}/bin
PATHFIX_MAKEFILEIN= Makefile.am
INSTALL_TARGET= install-strip
TEST_TARGET= check
OPTIONS_DEFINE= DOCS DOXYGEN
OPTIONS_SUB= yes
DOXYGEN_IMPLIES= DOCS
DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen
post-patch:
${REINPLACE_CMD} -e 's/doxygen2man//g' ${WRKSRC}/Makefile.am
post-install:
${MKDIR} ${STAGEDIR}${QB_SOCKET_DIR}
.include <bsd.port.mk>