Add new port misc/ctm.

This port is a slightly modified version of the port as distributed with
FreeBSD up to version 12. The port install man pages in section 8 instead
of section 1, since all binaries are installed in sbin.

Approved by:	antoine (mentor)
This commit is contained in:
Stefan Eßer 2018-10-27 18:08:59 +00:00
parent 95f40f80fb
commit 98320db027
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=483162
5 changed files with 72 additions and 0 deletions

View file

@ -60,6 +60,7 @@
SUBDIR += cryptoballot
SUBDIR += cs
SUBDIR += cstream
SUBDIR += ctm
SUBDIR += dahdi
SUBDIR += dahdi-kmod
SUBDIR += dahdi-kmod26

46
misc/ctm/Makefile Normal file
View file

@ -0,0 +1,46 @@
# $FreeBSD$
PORTNAME= ctm
PORTVERSION= 2.0
CATEGORIES= misc
MAINTAINER= se@FreeBSD.org
COMMENT= Generate, receive and apply FreeBSD source updates per mail
LICENSE= Beerware BSD2CLAUSE
LICENSE_COMB= multi
LICENSE_NAME_Beerware= Beerware
LICENSE_TEXT_Beerware= "THE BEER-WARE LICENSE" (Revision 42): \
<phk@FreeBSD.org> wrote this file. As long as you retain this notice you \
can do whatever you want with this stuff. If we meet some day, and you think \
this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
LICENSE_PERMS_Beerware= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
USES= tar:txz
USE_GITHUB= yes
GH_ACCOUNT= bsdimp
GH_TAGNAME= ef289f3
OPTIONS_DEFINE= DOCS
MAKE_FLAGS= MK_MAN=no
do-install:
.for f in ctm ctm_dequeue ctm_rmail ctm_smail
${INSTALL_PROGRAM} ${WRKSRC}/${f}/${f} \
${STAGEDIR}${PREFIX}/sbin
.endfor
.for f in ctm ctm_rmail
${INSTALL_MAN} ${WRKSRC}/${f}/${f}.8 \
${STAGEDIR}${MAN8PREFIX}/man/man8/
.endfor
.for f in ctm_dequeue ctm_smail
${LN} ${STAGEDIR}${MAN8PREFIX}/man/man8/ctm_rmail.8 \
${STAGEDIR}${MAN8PREFIX}/man/man8/${f}.8
.endfor
${INSTALL_MAN} ${WRKSRC}/ctm/ctm.5 \
${STAGEDIR}${MAN5PREFIX}/man/man5/
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>

3
misc/ctm/distinfo Normal file
View file

@ -0,0 +1,3 @@
TIMESTAMP = 1540662310
SHA256 (bsdimp-ctm-2.0-ef289f3_GH0.tar.gz) = 793d88b328699e41a68f214fbd581b5730f86631532728e01ad0a08cd8807bfb
SIZE (bsdimp-ctm-2.0-ef289f3_GH0.tar.gz) = 40160

12
misc/ctm/pkg-descr Normal file
View file

@ -0,0 +1,12 @@
CTM was originally "CVS Through eMail", but has since changed scope to be
much more general.
CTM is now meant to be the definitive way to make and apply a delta between
two versions of a directory tree.
There are two parts to this, making the delta and applying it. These are two
entirely different things. CTM concentrates the computation-burden on the
generation of the deltas, as a delta very often is applied more times than
it is made. Second CTM tries to make the minimal size delta.
WWW: http://

10
misc/ctm/pkg-plist Normal file
View file

@ -0,0 +1,10 @@
man/man5/ctm.5.gz
man/man8/ctm.8.gz
man/man8/ctm_dequeue.8.gz
man/man8/ctm_rmail.8.gz
man/man8/ctm_smail.8.gz
sbin/ctm
sbin/ctm_dequeue
sbin/ctm_rmail
sbin/ctm_smail
%%PORTDOCS%%%%DOCSDIR%%/README