aboutsummaryrefslogtreecommitdiff
path: root/devel/cvs/Makefile
blob: 71d56043072069b3e4bce41784c4bc30ca6393d8 (plain) (blame)
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
# $FreeBSD$

PORTNAME=	cvs
PORTVERSION=	1.20120905
PORTREVISION?=	4
CATEGORIES=	devel
MASTER_SITES=	LOCAL/eadler

MAINTAINER?=	ports@FreeBSD.org
COMMENT?=	Version control system

LICENSE=	GPLv2+

CONFLICTS_INSTALL?=	cvs+ipv6-[12]* cvs-devel-[12]*

OPTIONS_DEFINE=	IPV6 KERBEROS EXAMPLES
OPTIONS_DEFAULT=KERBEROS
.if !make(makesum)
OPTIONS_EXCLUDE?=IPV6
.endif

IPV6_CATEGORIES=	ipv6
IPV6_PATCH_SITES=	ftp://ftp.kame.net/pub/kame/misc/
IPV6_PATCHFILES=	${DISTNAME}-v6-20140105.diff.gz:-p1
KERBEROS_MAKE_ARGS=	KERBEROS_SUPPORT=yes

USES=		makeinfo shebangfix tar:xz uidfix
SHEBANG_FILES=	contrib/clmerge contrib/cln_hist \
		contrib/commit_prep contrib/cvs_acls \
		contrib/easy-import contrib/log \
		contrib/log_accum contrib/mfpipe \
		contrib/rcslock
PATCH_WRKSRC=	${WRKDIR}/call/cvs
WRKSRC=		${WRKDIR}/call/cvs-build
INFO=		cvs cvsclient

# bsd.stage.makes sets the wrong value for DESTDIR
DESTDIRNAME=	NADA
MAKE_ARGS=	DESTDIR=${STAGEDIR}${PREFIX}

pre-install:
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/contrib

.include <bsd.port.mk>