Skip to content

Commit

Permalink
Add cvs-for-gits: Make CVS a bit more Gittish
Browse files Browse the repository at this point in the history
For most `cvs` subcommands, `cvs-for-gits` simply executes `cvs(1)`,
passing along any command-line arguments.

For `cvs diff`, output is colorized and paged just like `git diff`.
  • Loading branch information
schmonz committed Jun 6, 2023
1 parent c09b8e8 commit bd59657
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 0 deletions.
4 changes: 4 additions & 0 deletions devel/cvs-for-gits/DESCR
@@ -0,0 +1,4 @@
For most `cvs` subcommands, `cvs-for-gits` simply executes `cvs(1)`,
passing along any command-line arguments.

For `cvs diff`, output is colorized and paged just like `git diff`.
27 changes: 27 additions & 0 deletions devel/cvs-for-gits/Makefile
@@ -0,0 +1,27 @@
# $NetBSD: Makefile,v 1.1 2023/06/06 04:17:39 schmonz Exp $

DISTNAME= cvs-for-gits-20230606
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=schmonz/}
GITHUB_TAG= v${PKGVERSION_NOREV}

MAINTAINER= schmonz@NetBSD.org
HOMEPAGE= https://github.com/schmonz/cvs-for-gits/
COMMENT= Make CVS a bit more Gittish
LICENSE= unlicense

DEPENDS+= colordiff-[0-9]*:../../devel/colordiff
.if !exists(/usr/bin/less)
DEPENDS+= less-[0-9]*:../../misc/less
.endif

USE_LANGUAGES= # none
REPLACE_SH= ${PKGBASE}
NO_BUILD= yes

INSTALLATION_DIRS= bin

do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PKGBASE} ${DESTDIR}${PREFIX}/bin

.include "../../mk/bsd.pkg.mk"
2 changes: 2 additions & 0 deletions devel/cvs-for-gits/PLIST
@@ -0,0 +1,2 @@
@comment $NetBSD: PLIST,v 1.1 2023/06/06 04:17:39 schmonz Exp $
bin/cvs-for-gits
5 changes: 5 additions & 0 deletions devel/cvs-for-gits/distinfo
@@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1 2023/06/06 04:17:39 schmonz Exp $

BLAKE2s (cvs-for-gits-20230606.tar.gz) = aaef51c33790eb698ccb9d9818329cada9872213d13b9911eade0fa72b10d902
SHA512 (cvs-for-gits-20230606.tar.gz) = 3c9fbff35328788df757a56b43990930bc7422d4b9955222edfd1aecdaf89ca0bb96f6a4dfc95e1c3d56d8d00538f546c1bf5417e1dd81ee150ec168e24b1a44
Size (cvs-for-gits-20230606.tar.gz) = 1945 bytes

0 comments on commit bd59657

Please sign in to comment.