1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/devel/cvs/Makefile
Adam Weinberger cb7d5cc607 In some straightforward situations, protect examples behind PORTEXAMPLES,
adding EXAMPLES to OPTIONS_DEFINE where necessary. In a couple instances,
correct examples being controlled by the DOCS option.
2014-08-06 04:34:23 +00:00

43 lines
783 B
Makefile

# $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>