blob: e845e08f4283c68717354fee8d2d4a636ba41be8 (
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
47
48
49
50
51
52
53
|
PORTNAME= cvs
PORTVERSION= 1.20120905
PORTREVISION?= 7
CATEGORIES= devel
MASTER_SITES= LOCAL/eadler
MAINTAINER?= schaiba@gmail.com
COMMENT?= Version control system
LICENSE= GPLv2+
USES= cpe shebangfix tar:xz uidfix
CONFLICTS_INSTALL?= cvs+ipv6-[12]* cvs-devel-[12]*
OPTIONS_DEFINE= INFO IPV6 KERBEROS EXAMPLES
OPTIONS_DEFAULT=INFO KERBEROS
.if !make(makesum)
OPTIONS_EXCLUDE?=IPV6
.endif
INFO_INFO= cvs cvsclient
INFO_USES= makeinfo
IPV6_PATCH_SITES= LOCAL/ume
IPV6_PATCHFILES= ${DISTNAME}-v6-20140105.diff.gz:-p1
KERBEROS_MAKE_ARGS= KERBEROS_SUPPORT=yes
CPE_VENDOR= gnu
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
# bsd.stage.makes sets the wrong value for DESTDIR
DESTDIRNAME= NADA
MAKE_ARGS= DESTDIR=${STAGEDIR}${PREFIX}
# XXX static PIE libraries not yet supported by the base system
MAKE_ARGS+= WITHOUT_PIE=true
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e "s,/info/,/${INFO_PATH}/,g" ${WRKSRC}/Makefile.inc
.if !${PORT_OPTIONS:MINFO}
@${REINPLACE_CMD} -e "s,doc,,g" ${WRKSRC}/Makefile
.endif
pre-install:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/contrib
.include <bsd.port.mk>
|