summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsthen <sthen@openbsd.org>2017-05-25 11:48:11 (GMT)
committersthen <sthen@openbsd.org>2017-05-25 11:48:11 (GMT)
commitef0f21e80b48e01d1590e05e198e34c6b3e3ccf9 (patch)
tree42922b7782ab0589a7669e103d083f05814f652f
parent08c2ece6d7f49e54f4afa063624743555c87ecf2 (diff)
downloadopenbsd-ports-ef0f21e80b48e01d1590e05e198e34c6b3e3ccf9.tar.gz
openbsd-ports-ef0f21e80b48e01d1590e05e198e34c6b3e3ccf9.tar.xz
import ports/devel/blocksruntime, tweaks/ok pirofti@
A clone of the BlocksRuntime library portion of the compiler-rt library (http://compiler-rt.llvm.org/) for use with the clang compiler's -fblocks option.
-rw-r--r--devel/blocksruntime/Makefile29
-rw-r--r--devel/blocksruntime/distinfo2
-rw-r--r--devel/blocksruntime/pkg/DESCR3
-rw-r--r--devel/blocksruntime/pkg/PLIST3
4 files changed, 37 insertions, 0 deletions
diff --git a/devel/blocksruntime/Makefile b/devel/blocksruntime/Makefile
new file mode 100644
index 0000000..cdfb3af
--- /dev/null
+++ b/devel/blocksruntime/Makefile
@@ -0,0 +1,29 @@
+# $OpenBSD: Makefile,v 1.1.1.1 2017/05/25 11:48:11 sthen Exp $
+
+COMMENT= implementation of Apple "Blocks" runtime interfaces
+
+GH_ACCOUNT= mackyle
+GH_PROJECT= blocksruntime
+GH_COMMIT= b5c5274daf1e0e46ecc9ad8f6f69889bce0a0a5d
+
+DISTNAME= blocksruntime-0.20140704
+
+CATEGORIES= devel
+
+HOMEPAGE= http://mackyle.github.io/blocksruntime/
+
+MAINTAINER= Stuart Henderson <sthen@openbsd.org>
+
+# MIT/UIUC
+PERMIT_PACKAGE_CDROM= Yes
+
+do-build:
+ cd ${WRKSRC}; CC="${CC}" CFLAGS="${CFLAGS}" ./buildlib
+
+do-install:
+ cd ${WRKSRC}; prefix="${TRUEPREFIX}" ./installlib
+
+do-test:
+ cd ${WRKSRC}; CC="/usr/bin/clang" ./checktests
+
+.include <bsd.port.mk>
diff --git a/devel/blocksruntime/distinfo b/devel/blocksruntime/distinfo
new file mode 100644
index 0000000..b86d57d
--- /dev/null
+++ b/devel/blocksruntime/distinfo
@@ -0,0 +1,2 @@
+SHA256 (blocksruntime-0.20140704-b5c5274d.tar.gz) = HhjRHRkfCF8Zzb4BK6DHrJrH9+BIozyPzz9Hh5iGZvo=
+SIZE (blocksruntime-0.20140704-b5c5274d.tar.gz) = 39755
diff --git a/devel/blocksruntime/pkg/DESCR b/devel/blocksruntime/pkg/DESCR
new file mode 100644
index 0000000..6778372
--- /dev/null
+++ b/devel/blocksruntime/pkg/DESCR
@@ -0,0 +1,3 @@
+A clone of the BlocksRuntime library portion of the compiler-rt library
+(http://compiler-rt.llvm.org/) for use with the clang compiler's -fblocks
+option.
diff --git a/devel/blocksruntime/pkg/PLIST b/devel/blocksruntime/pkg/PLIST
new file mode 100644
index 0000000..cdc0447
--- /dev/null
+++ b/devel/blocksruntime/pkg/PLIST
@@ -0,0 +1,3 @@
+@comment $OpenBSD: PLIST,v 1.1.1.1 2017/05/25 11:48:11 sthen Exp $
+include/Block.h
+lib/libBlocksRuntime.a