2013-06-25 15:31:45 +02:00
|
|
|
# Created by: Kubilay Kocak <koobs@FreeBSD.org>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= concurrencykit
|
2016-02-14 13:52:22 +01:00
|
|
|
PORTVERSION= 0.5.1
|
2013-06-25 15:31:45 +02:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= http://concurrencykit.org/releases/ \
|
|
|
|
http://repnop.org/releases/
|
|
|
|
DISTNAME= ck-${PORTVERSION}
|
|
|
|
|
|
|
|
MAINTAINER= koobs@FreeBSD.org
|
|
|
|
COMMENT= Lock-free data structures for high performance concurrent systems
|
|
|
|
|
2014-02-16 13:28:31 +01:00
|
|
|
LICENSE= BSD2CLAUSE
|
2014-08-27 14:20:30 +02:00
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
2013-06-25 15:31:45 +02:00
|
|
|
|
2017-11-30 06:55:17 +01:00
|
|
|
ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 i386 powerpc powerpc64 sparc64
|
2016-11-16 01:33:20 +01:00
|
|
|
BROKEN_aarch64= Fails to configure: Detecting machine architecture...failed [unsupported]
|
|
|
|
BROKEN_armv6= Fails to configure: Finding suitable compiler........failed [not found]
|
2017-11-30 06:55:17 +01:00
|
|
|
BROKEN_armv7= Fails to configure: Finding suitable compiler........failed [not found]
|
2015-07-10 18:42:22 +02:00
|
|
|
|
2015-02-09 03:15:21 +01:00
|
|
|
OPTIONS_DEFINE= RTM VMAPACK
|
|
|
|
OPTIONS_DEFAULT= VMAPACK
|
2014-02-19 09:28:38 +01:00
|
|
|
|
|
|
|
RTM_DESC= Restricted Transactional Memory (x86_64 only)
|
|
|
|
VMAPACK_DESC= Enable pointer packing
|
|
|
|
|
|
|
|
RTM_CONFIGURE_ON= --enable-rtm
|
|
|
|
VMAPACK_CONFIGURE_ON= --enable-pointer-packing
|
|
|
|
|
2013-06-25 15:31:45 +02:00
|
|
|
USES= pkgconfig
|
|
|
|
USE_LDCONFIG= yes
|
2014-02-19 09:28:38 +01:00
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --mandir=${PREFIX}/man
|
2013-06-25 15:31:45 +02:00
|
|
|
|
2016-01-07 08:28:00 +01:00
|
|
|
TEST_TARGET= check
|
|
|
|
|
2013-07-21 08:01:49 +02:00
|
|
|
PLIST_SUB+= VERSION=${PORTVERSION}
|
2013-06-25 15:31:45 +02:00
|
|
|
|
|
|
|
post-extract:
|
|
|
|
${REINPLACE_CMD} -e 's|PKGCONFIG_DATA=@LIBRARY@|PKGCONFIG_DATA=${PREFIX}/libdata/|g' \
|
|
|
|
${WRKSRC}/Makefile.in
|
|
|
|
|
2015-01-30 13:42:12 +01:00
|
|
|
post-install:
|
|
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libck.so.${PORTVERSION}
|
|
|
|
|
2013-06-25 15:31:45 +02:00
|
|
|
.include <bsd.port.mk>
|