svn commit: r471405 - in head/misc: . urbit urbit/files
Yuri Victorovich
yuri at FreeBSD.org
Sat Jun 2 21:05:42 UTC 2018
Author: yuri
Date: Sat Jun 2 21:05:40 2018
New Revision: 471405
URL: https://svnweb.freebsd.org/changeset/ports/471405
Log:
New port: misc/urbit: Operating function
Added:
head/misc/urbit/
head/misc/urbit/Makefile (contents, props changed)
head/misc/urbit/distinfo (contents, props changed)
head/misc/urbit/files/
head/misc/urbit/files/patch-meson.build (contents, props changed)
head/misc/urbit/pkg-descr (contents, props changed)
Modified:
head/misc/Makefile
Modified: head/misc/Makefile
==============================================================================
--- head/misc/Makefile Sat Jun 2 20:51:48 2018 (r471404)
+++ head/misc/Makefile Sat Jun 2 21:05:40 2018 (r471405)
@@ -511,6 +511,7 @@
SUBDIR += unclutter-xfixes
SUBDIR += unicode-emoji
SUBDIR += upclient
+ SUBDIR += urbit
SUBDIR += us-zipcodes
SUBDIR += usbids
SUBDIR += usbrh-libusb
Added: head/misc/urbit/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/misc/urbit/Makefile Sat Jun 2 21:05:40 2018 (r471405)
@@ -0,0 +1,38 @@
+# $FreeBSD$
+
+PORTNAME= urbit
+DISTVERSIONPREFIX= newmodel-
+DISTVERSION= 0.5.1-232
+DISTVERSIONSUFFIX= -g5164bd0d
+CATEGORIES= misc emulators lang
+
+MAINTAINER= yuri at FreeBSD.org
+COMMENT= Operating function
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+BROKEN_i386= __int128 is not supported on this target
+
+BUILD_DEPENDS= re2c:devel/re2c
+LIB_DEPENDS= libcurl.so:ftp/curl \
+ libgmp.so:math/gmp \
+ libh2o.so:www/h2o \
+ libsigsegv.so:devel/libsigsegv \
+ libuv.so:devel/libuv
+
+USES= localbase:ldflags meson ncurses pkgconfig ssl
+USE_GITHUB= yes
+GH_TUPLE= urbit:commonmark-legacy:8555ef1:cmark/subprojects/commonmark-legacy # need the legacy version
+GH_TUPLE+= urbit:ed25519:ba4777a:ed25519/subprojects/ed25519 # not ported
+GH_TUPLE+= urbit:libscrypt:4ebe362:libscrypt/subprojects/libscrypt # https://github.com/urbit/urbit/issues/991
+GH_TUPLE+= urbit:murmur3:001378c:murmur3/subprojects/murmur3
+GH_TUPLE+= urbit:berkeley-softfloat-3:9d43420:softfloat/subprojects/softfloat3 # not ported
+
+PLIST_FILES= bin/urbit
+
+post-install: # https://github.com/urbit/urbit/issues/992
+ @${RM} -r ${STAGEDIR}${PREFIX}/include/*
+ @${RM} ${STAGEDIR}${PREFIX}/lib/*.a
+
+.include <bsd.port.mk>
Added: head/misc/urbit/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/misc/urbit/distinfo Sat Jun 2 21:05:40 2018 (r471405)
@@ -0,0 +1,13 @@
+TIMESTAMP = 1527968212
+SHA256 (urbit-urbit-newmodel-0.5.1-232-g5164bd0d_GH0.tar.gz) = d718293bfc9884cd6137096ac12864ac87994b062382ddfc53e6cf62e30713eb
+SIZE (urbit-urbit-newmodel-0.5.1-232-g5164bd0d_GH0.tar.gz) = 283760
+SHA256 (urbit-commonmark-legacy-8555ef1_GH0.tar.gz) = 1f77582dcabfe376f4f54bcd46d96e7d794d18c599d260732d5e5a20b2c3a0a0
+SIZE (urbit-commonmark-legacy-8555ef1_GH0.tar.gz) = 210151
+SHA256 (urbit-ed25519-ba4777a_GH0.tar.gz) = ca486bb870b97f9c9d1cc0848599c2765dba442a4030f0bcc4258f4d47de4279
+SIZE (urbit-ed25519-ba4777a_GH0.tar.gz) = 226668
+SHA256 (urbit-libscrypt-4ebe362_GH0.tar.gz) = 36aa12cf8459a10efaa11a4ce296676c4955c59421acdbe1356269e1752b6f26
+SIZE (urbit-libscrypt-4ebe362_GH0.tar.gz) = 19884
+SHA256 (urbit-murmur3-001378c_GH0.tar.gz) = 06ba758fe6485c2bd53e5074ab8011da7472e387a7b643e6f2bc0b647a6f13b1
+SIZE (urbit-murmur3-001378c_GH0.tar.gz) = 40771
+SHA256 (urbit-berkeley-softfloat-3-9d43420_GH0.tar.gz) = ec82cb4b78eabb34aa25cd28f4ae59fbd4969e01ba4e810bf907c9245ca3de84
+SIZE (urbit-berkeley-softfloat-3-9d43420_GH0.tar.gz) = 150252
Added: head/misc/urbit/files/patch-meson.build
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/misc/urbit/files/patch-meson.build Sat Jun 2 21:05:40 2018 (r471405)
@@ -0,0 +1,28 @@
+--- meson.build.orig 2018-05-29 20:27:08 UTC
++++ meson.build
+@@ -254,12 +254,12 @@ elif osdet == 'darwin'
+
+ os_deps = os_deps + [ncurses_dep]
+
+-elif osdet == 'bsd'
++elif osdet == 'freebsd'
+ conf_data.set('U3_OS_bsd', true)
+
+ pthread_dep = meson.get_compiler('c').find_library('pthread')
+ kvm_dep = meson.get_compiler('c').find_library('kvm')
+- ncurses_dep = dependency('ncurses')
++ ncurses_dep = meson.get_compiler('c').find_library('ncurses')
+ os_deps = os_deps + [kvm_dep, pthread_dep, ncurses_dep]
+ else
+ error('Unsupported OS detected:' + osdet)
+@@ -284,6 +284,10 @@ if osdet == 'darwin'
+ libcrypto = meson.get_compiler('c').find_library('crypto', dirs: [ '/usr/local/opt/openssl/lib/' ])
+ libssl = meson.get_compiler('c').find_library('ssl', dirs: [ '/usr/local/opt/openssl/lib/' ])
+ openssl_dep = declare_dependency(dependencies: [libcrypto, libssl], include_directories: include_directories('/usr/local/opt/openssl/include'))
++elif osdet == 'freebsd'
++ libcrypto = meson.get_compiler('c').find_library('crypto', dirs: [ '/usr/lib/' ])
++ libssl = meson.get_compiler('c').find_library('ssl', dirs: [ '/usr/lib/' ])
++ openssl_dep = declare_dependency(dependencies: [libcrypto, libssl], include_directories: include_directories('/usr/include'))
+ else
+ openssl_dep = dependency('openssl', version: '>=1.0.0')
+ endif
Added: head/misc/urbit/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/misc/urbit/pkg-descr Sat Jun 2 21:05:40 2018 (r471405)
@@ -0,0 +1,4 @@
+Urbit is a secure peer-to-peer network of personal servers, built on
+a clean-slate system software stack.
+
+WWW: https://urbit.org/
More information about the svn-ports-head
mailing list