summaryrefslogtreecommitdiff
path: root/misc/ctm/Makefile
blob: 637cce096eb14ad7c5547e092e636d5497fe40bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46

PORTNAME=	ctm
PORTVERSION=	2.0
PORTREVISION=	2
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=	freebsd
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>