From nobody Thu Sep 28 00:26:05 2023 X-Original-To: dev-commits-ports-main@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 4RwvR15j6Yz4vChQ; Thu, 28 Sep 2023 00:26:05 +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 4RwvR13RCcz3CH2; Thu, 28 Sep 2023 00:26:05 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695860765; 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=CrJYf+n9dUBbLWXB8Cx3ujjSlEJfnifbMRyCYXc/qow=; b=kunu55eAZZgx+GCks0Dro9Hz3ME2E4R2FNMbMwrzjPyv7zWiQ89K2MxKTT24obbuwuVRTN ZTwKvcWqqgS7cMTGM3j6MlP9y5z6sbnhVycXZtD0HIonKh8sZyYy1fLxFyxSGZL7gh6FLO HXAjmLIWsSGdyUuWdrkbpqcrDY66kEKy1XZC6uwjmjuCxZAAA4Mu6h/sX4BTMT5n2fHU0z UYlteqhanlQnE6HFB/EtbN6ivsGO+t+6VlAi5zXRqxM8ILgRWlexMSM1qInBSJuVQQadae onXU1OOSlfwLdbhXB7I5n5S4EngsLtYyWW780bV1Xu6q7ADo6fKzOCYWjfUqew== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695860765; a=rsa-sha256; cv=none; b=Db2Ktzk1Rgaj636fqLtGz66+dI+O8irbwhhhq7i8GjnPCFgdGugVMMlFh+ryG7/PcYR35f JFslwNgN3xytbaAk1QBH5jF9kXTijJnInPoO1XWLph9icqwKyIbAhDsrsWrPRh2blIJyo9 QPpOJXr9TF9pizne1uRciL+Y6ZLNa+uojm+2DZaezuKVYlwrVYAYzBg7OsPP8hlJkXXvjL bbLNYud/NX2y44FaZ6at+pFbCAqb+94Z8lNtje121GDxlXkiRV7CD5PBYNV9V8rgMKSA/N t3dkDtmvegm+NKRZPbeBIM2YC+4JdriCg6P5UW4NncVSL8TvKn7bxADPK+vmuQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695860765; 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=CrJYf+n9dUBbLWXB8Cx3ujjSlEJfnifbMRyCYXc/qow=; b=pvntFoUW6RST7tgSYkkvQmRy4/80qGq3l+JCKfuh4o5AOQBZLZWVU+q3ws/je9ndwj5JsF f3NvPSK09amTqwy7lIMrJjp/xtfKWQC77VNIl46GFrpFD5jyVy4RCTYe4x35cSOZhxS+gC VskCDWDnCt8Ckgytv/iyPyjRMO0ao8n9VJkJdN5rtKdY6arA6388zZcSO8+iSfEMeR6HzJ eHq+NFidZWHFzEe4ioEdq79EU42G0ckzIRqOJcHhytpeYJsxqGDjrX5BmvtH7QnNYst9JQ m5nyQtluTGpgOXnqjLuGMZ1IuLOELQ0bTFN9yt7PF/y8C7T9Zj3XQq83rm3uQw== 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 4RwvR12PN1z10RH; Thu, 28 Sep 2023 00:26:05 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 38S0Q5Qu073749; Thu, 28 Sep 2023 00:26:05 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 38S0Q59e073746; Thu, 28 Sep 2023 00:26:05 GMT (envelope-from git) Date: Thu, 28 Sep 2023 00:26:05 GMT Message-Id: <202309280026.38S0Q59e073746@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Koichiro Iwao Subject: git: 7ebf6dfd8ddb - main - textproc/bsd-spell: A port of the 4.4BSD spell and derof commands List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: meta X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7ebf6dfd8ddb5b85546d72cd96ee1fef6ff39cd2 Auto-Submitted: auto-generated The branch main has been updated by meta: URL: https://cgit.FreeBSD.org/ports/commit/?id=7ebf6dfd8ddb5b85546d72cd96ee1fef6ff39cd2 commit 7ebf6dfd8ddb5b85546d72cd96ee1fef6ff39cd2 Author: Gordon Bergling AuthorDate: 2023-09-26 06:24:21 +0000 Commit: Koichiro Iwao CommitDate: 2023-09-28 00:25:21 +0000 textproc/bsd-spell: A port of the 4.4BSD spell and derof commands spell(1) collects words from the named documents and looks them up in a spelling list. Words that neither occur among nor are derivable (by applying certain inflections, prefixes or suffixes) from words in the spelling list are printed on the standard output. deroff(1) reads each file in sequence and removes all roff command lines, backslash constructions, macro definitions, eqn constructs (between ".EQ" and ".EN" lines or between delimiters), pic pictures, and table descriptions and writes the remainder to the standard output. spell(1) and deroff(1) did not appear in freely redistributable BSD releases for licensing reasons. After Caldera relicensed early UNIX releases the 4.4BSD version was added to NetBSD and OpenBSD. PR: 274098 --- textproc/Makefile | 1 + textproc/bsd-spell/Makefile | 39 +++++++++++++++++++++++++++++++++++++++ textproc/bsd-spell/distinfo | 3 +++ textproc/bsd-spell/pkg-descr | 9 +++++++++ 4 files changed, 52 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index b70ef9c5fcb5..d129c87fc82d 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -83,6 +83,7 @@ SUBDIR += biodiff SUBDIR += bn-aspell SUBDIR += br-aspell + SUBDIR += bsd-spell SUBDIR += bsddiff SUBDIR += bsdgrep SUBDIR += btparse diff --git a/textproc/bsd-spell/Makefile b/textproc/bsd-spell/Makefile new file mode 100644 index 000000000000..d94af4fb7edd --- /dev/null +++ b/textproc/bsd-spell/Makefile @@ -0,0 +1,39 @@ +PORTNAME= bsd-spell +DISTVERSIONPREFIX= v +DISTVERSION= 1.0.1 +CATEGORIES= textproc + +MAINTAINER= gbe@FreeBSD.org +COMMENT= This is a port of the 4.4BSD spell command +WWW= https://github.com/gbergling/bsdspell + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +USE_GITHUB= yes +GH_ACCOUNT= gbergling +GH_PROJECT= bsdspell + +PLIST_FILES= libexec/spellprog bin/spell bin/deroff \ + man/man1/spell.1.gz man/man1/deroff.1.gz \ + share/dict/american \ + share/dict/british \ + share/dict/special.4bsd \ + share/dict/special.math \ + share/dict/stop + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/usr.bin/spell/spellprog ${STAGEDIR}${PREFIX}/libexec + ${INSTALL_PROGRAM} ${WRKSRC}/usr.bin/deroff/deroff ${STAGEDIR}${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/usr.bin/spell/spell.sh ${STAGEDIR}${PREFIX}/bin/spell + + ${INSTALL_DATA} ${WRKSRC}/usr.bin/spell/american ${STAGEDIR}${PREFIX}/share/dict + ${INSTALL_DATA} ${WRKSRC}/usr.bin/spell/british ${STAGEDIR}${PREFIX}/share/dict + ${INSTALL_DATA} ${WRKSRC}/usr.bin/spell/special.4bsd ${STAGEDIR}${PREFIX}/share/dict + ${INSTALL_DATA} ${WRKSRC}/usr.bin/spell/special.math ${STAGEDIR}${PREFIX}/share/dict + ${INSTALL_DATA} ${WRKSRC}/usr.bin/spell/stop ${STAGEDIR}${PREFIX}/share/dict + + ${INSTALL_MAN} ${WRKSRC}/usr.bin/spell/spell.1.gz ${STAGEDIR}${MAN1PREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/usr.bin/deroff/deroff.1.gz ${STAGEDIR}${MAN1PREFIX}/man/man1 + +.include diff --git a/textproc/bsd-spell/distinfo b/textproc/bsd-spell/distinfo new file mode 100644 index 000000000000..208c180d5cd7 --- /dev/null +++ b/textproc/bsd-spell/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1695708591 +SHA256 (gbergling-bsdspell-v1.0.1_GH0.tar.gz) = 05698e613d3e54caf4c206f844c7ac59eac62b6e4806255a4e3470a9c918fe58 +SIZE (gbergling-bsdspell-v1.0.1_GH0.tar.gz) = 34757 diff --git a/textproc/bsd-spell/pkg-descr b/textproc/bsd-spell/pkg-descr new file mode 100644 index 000000000000..4b89452e908d --- /dev/null +++ b/textproc/bsd-spell/pkg-descr @@ -0,0 +1,9 @@ +spell(1) collects words from the named documents and looks them up in a +spelling list. Words that neither occur among nor are derivable +(by applying certain inflections, prefixes or suffixes) from words in the +spelling list are printed on the standard output. + +deroff(1) reads each file in sequence and removes all roff command lines, +backslash constructions, macro definitions, eqn constructs (between ".EQ" +and ".EN" lines or between delimiters), pic pictures, and table descriptions +and writes the remainder to the standard output.