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
54
55
56
57
58
59
60
|
# New ports collection makefile for: cvs+ipv6
# Date created: Tue Jul 23 11:24:24 JST 2002
# Whom: sumikawa
#
# $FreeBSD$
#
PORTNAME= cvs+ipv6
PORTVERSION= 1.11.2
PORTREVISION= 2
CATEGORIES= devel ipv6
MASTER_SITES= http://ftp.cvshome.org/%SUBDIR%/ \
${MASTER_SITE_RINGSERVER:S,%SUBDIR%,misc/cvs/&,}
MASTER_SITE_SUBDIR= cvs-1.11.2
DISTNAME= cvs-${PORTVERSION}
PATCH_SITES= ftp://ftp.kame.net/pub/kame/misc/
PATCHFILES= cvs-1.11.2-v6-20020709.diff.gz
PATCH_DIST_STRIP= -p1
MAINTAINER= sumikawa@FreeBSD.org
GNU_CONFIGURE= yes
#USE_GMAKE= yes
CONFIGURE_ARGS= --enable-ipv6 --without-gssapi
MAN1= cvs.1
MAN5= cvs.5
MAN8= cvsbug.8
CVS_SITE?= :pserver:anoncvs@anoncvs.FreeBSD.org:/home/ncvs
CVS_VER?= v1_11_2
post-patch:
@${CP} ${FILESDIR}/missing ${WRKSRC}
replace:
.for f in cvs cvsbug
${MV} /usr/bin/${f} /usr/bin/${f}.orig
${CP} -p ${PREFIX}/bin/${f} /usr/bin/
.endfor
generate-patch:
cvs -Rl -d ${CVS_SITE} rdiff -u -r ${CVS_VER} -r HEAD \
src/contrib/cvs \
| ${SED} \
-e 's,^\+\+\+ src/contrib/cvs/,+++ ,' \
-e 's,^Index: src/contrib/cvs/,Index: ,' \
-e 's,\$$FreeBSD: ,FreeBSD: ,' \
> ${FILESDIR}/patch-freebsdlocal
cvs -Rl -d ${CVS_SITE} rdiff -u -D 1999-12-01 -r HEAD \
gnu/usr.bin/cvs/cvs/prepend_args.c \
gnu/usr.bin/cvs/cvs/prepend_args.h \
| ${SED} \
-e 's,^\+\+\+ src/gnu/usr.bin/cvs/cvs/,+++ src/,' \
-e 's,^Index: src/gnu/usr.bin/cvs/cvs/,Index: src/,' \
-e 's,\$$FreeBSD: ,FreeBSD: ,' \
>> ${FILESDIR}/patch-freebsdlocal
.include <bsd.port.mk>
|