mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
d63665f7cd
This is a separate commit to facilitate easier cherry-picking for quarterly. PR: 262853, 262940, 262877, 263126 Approved by: fluffy (mentor)
52 lines
1.2 KiB
Makefile
52 lines
1.2 KiB
Makefile
# Created by: David Shane Holden <dpejesh@yahoo.com>
|
|
|
|
PORTNAME= libqb
|
|
DISTVERSION= 2.0.4
|
|
PORTREVISION= 2
|
|
CATEGORIES= devel
|
|
MASTER_SITES= https://github.com/ClusterLabs/${PORTNAME}/releases/download/v${DISTVERSION}/
|
|
|
|
MAINTAINER= egypcio@FreeBSD.org
|
|
COMMENT= High performance logging, tracing, ipc, and polling library
|
|
|
|
LICENSE= LGPL21
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
TEST_DEPENDS= checkmk:devel/check
|
|
|
|
GROUPS= haclient
|
|
|
|
QB_SOCKET_DIR?= /var/run/qb
|
|
PLIST_SUB+= QB_SOCKET_DIR=${QB_SOCKET_DIR}
|
|
|
|
USES= cpe gmake gnome libtool pkgconfig python tar:xz
|
|
CPE_VENDOR= clusterlabs
|
|
GNU_CONFIGURE= yes
|
|
USE_GNOME= libxml2
|
|
USE_LDCONFIG= yes
|
|
|
|
CONFIGURE_ARGS= --with-socket-dir=${QB_SOCKET_DIR} \
|
|
PACKAGE_STRING="${PORTNAME} ${DISTVERSION}" \
|
|
PACKAGE_VERSION=${DISTVERSION}
|
|
LDFLAGS= -B${LOCALBASE}/bin
|
|
|
|
INSTALL_TARGET= install-strip
|
|
TEST_TARGET= check
|
|
|
|
OPTIONS_DEFINE= DOCS DOXYGEN
|
|
OPTIONS_SUB= yes
|
|
|
|
DOXYGEN_IMPLIES= DOCS
|
|
DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen
|
|
|
|
post-configure:
|
|
${REINPLACE_CMD} -e 's/install: install-am/install:/g' ${WRKSRC}/doxygen2man/Makefile
|
|
|
|
post-configure-DOXYGEN-off:
|
|
${REINPLACE_CMD} -e 's/doxygen2man docs//g' ${WRKSRC}/Makefile
|
|
|
|
post-install:
|
|
${MKDIR} ${STAGEDIR}${QB_SOCKET_DIR}
|
|
|
|
.include <bsd.port.mk>
|