From nobody Sat Apr 22 09:38:43 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Q3RD422k9z46Tsq; Sat, 22 Apr 2023 09:38:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q3RD40qzkz4Q39; Sat, 22 Apr 2023 09:38:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682156324; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=GhU/PwuFl6/CbcXgzldKf5t2Bt3W1isAJdc1HHIfeAg=; b=RUBAZg6sxI6Q3bg5wUg/JS4kP4XXUmo4gPabGs2sjvON243Z40jCc4DqbWnC4CV7HoXvMi XFL8Pcl+9G66KPvtiYC4MwehrCx1tdxE1amTGdH5WbCCiT8BuMVzCq6VhRZUWWAB3KzxzC MiMZZe+n05XWNryPqWCgnroSkxaWyc8dUJe1bD3AOyRHNk6p9/4vvTuy5BQ5QAOVkDD8Zk Fi92yIHBrT1dvv4h7p3DOBpqSNSj8Ieky/HwDmK6Ye4pmEAKpPf1lm6yXnKb0543Vqt+rP RidT7tiCbgGqpEioKbyrGvNOfgc2zvPUeTztyOmK0mtUolZH1sDygNF86tn9og== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682156324; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=GhU/PwuFl6/CbcXgzldKf5t2Bt3W1isAJdc1HHIfeAg=; b=LXFZPCGMsWL/ivi1vcz/G5J5mHBAohbeSf06Cf5ZDpK9/D5vr040Ygb7E9eeVyHPc3CXja bT+aPwY9HwZek0NzUO1JBzf73QQsTIznQH4RhGDmlsU9wYF3qlRyOBHefl+MEKyC53tT6I N/lIZPMjr2O7LgDo1vnb7VPL39kMfLLLL/ck5W8d2eiOAxGEOZ+cdEdh2cCU8/kx4V6JqL xS8fhar9nAM7KBv74vltkOmNSABCUhAD+mqeiddOFig21eYaaBieiC8Uhe4BQWIfR0pkzE nMLZCSRmj8H9C10iuVfcejMmnyNAzPufOKjQDJ5VTnNVObC4hoDss7dq61MJiQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682156324; a=rsa-sha256; cv=none; b=mqeNaUseSfWeQs8CdWrNb9/BtjgzJbLZLW5PdEGufzRGm8WNdoPB1RBHweiVvCuym/8jxH MlG0nbV5h3jxncqhrqKL1rBMiiJ0ti+w4KRX/xnaajJS8KoWIWLFYoGWTcruG9HwERft9Y fWgmGyhQ50eHnO6DAEjhR8CH0/GNScb0LTgffXs3CT4ns1Jj/qxzWCXLGy7i8eqLIWuT8A lF9QMcQP+e991XyepCp3qv9jEd1LhGzEBYclgYx3EUOFGPa8hglOp7J0yXu/gdiFK8YeMn +cCHQHpus5Qmm+ukLcHrOfKc/WLMykWDBFBrSTZ0qkkaFiwMLWEVbpiDzaeorQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Q3RD33yPKzx1Z; Sat, 22 Apr 2023 09:38:43 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 33M9chwY029912; Sat, 22 Apr 2023 09:38:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33M9chkB029911; Sat, 22 Apr 2023 09:38:43 GMT (envelope-from git) Date: Sat, 22 Apr 2023 09:38:43 GMT Message-Id: <202304220938.33M9chkB029911@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: =?utf-8?Q?Romain=20Tarti=C3=A8re?= Subject: git: f2c49a0538ad - main - devel/undead: New port List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: romain X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f2c49a0538adda595f967cff7beff807c7bc8a0f Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by romain: URL: https://cgit.FreeBSD.org/ports/commit/?id=f2c49a0538adda595f967cff7beff807c7bc8a0f commit f2c49a0538adda595f967cff7beff807c7bc8a0f Author: Romain Tartière AuthorDate: 2023-04-22 09:01:38 +0000 Commit: Romain Tartière CommitDate: 2023-04-22 09:37:58 +0000 devel/undead: New port Need an obsolete Phobos module? Here they are, back from the dead and upgraded to work with the latest D. modules included: * std.bitarray * std.date * std.datebase * std.dateparse * std.regexp * std.signals * std.stream and friends * std.xml Some individual functions have been moved here rather than full Phobos modules. They are: * undead.doformat: Contains the doFormat function from std.format * undead.string: Contains regex style pattern matching functions from std.string --- devel/Makefile | 1 + devel/undead/Makefile | 38 ++++++++++++++++++++++++++++++++++++++ devel/undead/distinfo | 3 +++ devel/undead/files/undead.pc.in | 10 ++++++++++ devel/undead/pkg-descr | 20 ++++++++++++++++++++ devel/undead/pkg-plist | 17 +++++++++++++++++ 6 files changed, 89 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index c63a9ff332d3..46e636c8a1c0 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -7615,6 +7615,7 @@ SUBDIR += ultragetopt SUBDIR += umbrello SUBDIR += umlgraph + SUBDIR += undead SUBDIR += unibilium SUBDIR += universal-ctags SUBDIR += upnp diff --git a/devel/undead/Makefile b/devel/undead/Makefile new file mode 100644 index 000000000000..f7d3a4c463a2 --- /dev/null +++ b/devel/undead/Makefile @@ -0,0 +1,38 @@ +PORTNAME= undead +DISTVERSIONPREFIX=v +DISTVERSION= 1.1.8 +CATEGORIES= devel + +MAINTAINER= romain@FreeBSD.org +COMMENT= Obsolete Phobos modules upgraded to work with the latest D + +LICENSE= BSL +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ldmd2:lang/ldc \ + dub:devel/dub + +USE_GITHUB= yes +GH_ACCOUNT= dlang +GH_PROJECT= undeaD + +DUB_CMD= ${LOCALBASE}/bin/dub build --build=release +D_INCLUDE_DIR= ${PREFIX}/include/d +D_LIB_DIR= ${PREFIX}/lib/d +DC= ${PREFIX}/bin/ldmd2 + +SUB_FILES= undead.pc +SUB_LIST= DISTVERSION=${DISTVERSION} + +do-build: + @cd ${WRKSRC} && DC=${DC} ${DUB_CMD} + +do-install: + @${MKDIR} ${STAGEDIR}${D_INCLUDE_DIR} + @${MKDIR} ${STAGEDIR}${D_LIB_DIR} + @${MKDIR} ${STAGEDIR}${PREFIX}/libdata/pkgconfig + ${INSTALL_DATA} ${WRKSRC}/bin/libundead.a ${STAGEDIR}${D_LIB_DIR} + cd ${WRKSRC}/src && ${COPYTREE_SHARE} . ${STAGEDIR}${D_INCLUDE_DIR} "-name *\.d" + cd ${WRKDIR} && ${COPYTREE_SHARE} undead.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig + +.include diff --git a/devel/undead/distinfo b/devel/undead/distinfo new file mode 100644 index 000000000000..efb7d273eb29 --- /dev/null +++ b/devel/undead/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1682128804 +SHA256 (dlang-undeaD-v1.1.8_GH0.tar.gz) = 36a59b4740b147f4345caa26908f40a97fc7cc67dac6983c226369c59f909e92 +SIZE (dlang-undeaD-v1.1.8_GH0.tar.gz) = 97174 diff --git a/devel/undead/files/undead.pc.in b/devel/undead/files/undead.pc.in new file mode 100644 index 000000000000..f2bb8424d014 --- /dev/null +++ b/devel/undead/files/undead.pc.in @@ -0,0 +1,10 @@ +prefix=%%PREFIX%% +exec_prefix=${prefix} +libdir=${exec_prefix}/lib +includedir=${prefix}/include + +Name: undead +Description: Obsolete Phobos modules, back from the dead. +Version: %%DISTVERSION%% +Libs: -L-L${libdir}/d -L-lundead +Cflags: -I${includedir}/d diff --git a/devel/undead/pkg-descr b/devel/undead/pkg-descr new file mode 100644 index 000000000000..8c15c12bab7e --- /dev/null +++ b/devel/undead/pkg-descr @@ -0,0 +1,20 @@ +Need an obsolete Phobos module? Here they are, back from the dead and upgraded +to work with the latest D. + +modules included: + + * std.bitarray + * std.date + * std.datebase + * std.dateparse + * std.regexp + * std.signals + * std.stream and friends + * std.xml + +Some individual functions have been moved here rather than full Phobos modules. +They are: + + * undead.doformat: Contains the doFormat function from std.format + * undead.string: Contains regex style pattern matching functions from + std.string diff --git a/devel/undead/pkg-plist b/devel/undead/pkg-plist new file mode 100644 index 000000000000..43062fe06269 --- /dev/null +++ b/devel/undead/pkg-plist @@ -0,0 +1,17 @@ +include/d/undead/bitarray.d +include/d/undead/cstream.d +include/d/undead/date.d +include/d/undead/datebase.d +include/d/undead/dateparse.d +include/d/undead/doformat.d +include/d/undead/internal/file.d +include/d/undead/metastrings.d +include/d/undead/regexp.d +include/d/undead/signals.d +include/d/undead/socketstream.d +include/d/undead/stream.d +include/d/undead/string.d +include/d/undead/utf.d +include/d/undead/xml.d +lib/d/libundead.a +libdata/pkgconfig/undead.pc