summaryrefslogtreecommitdiffstats
path: root/devel/cvs/Makefile
blob: 06c89bccbda440fb6e7613ad40f3d7f42db06940 (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
# $FreeBSD$

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

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

LICENSE=	GPLv2

OPTIONS_DEFINE=	KERBEROS EXAMPLES
OPTIONS_DEFAULT=KERBEROS

USES=		makeinfo tar:xz uidfix
WRKSRC=		${WRKDIR}/call/cvs-build
INFO=		cvs cvsclient

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

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MKERBEROS}
MAKE_ARGS+=	KERBEROS_SUPPORT=yes
.else
MAKE_ARGS+=	KERBEROS_SUPPORT=no
.endif

.include <bsd.port.pre.mk>

.if ${OPSYS} == FreeBSD && ${OSVERSION} < 900000
BROKEN=	does not link
.endif

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

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud