mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
55 lines
1.4 KiB
Makefile
55 lines
1.4 KiB
Makefile
# Created by: Balwinder S Dheeman <bdheeman@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= cvs
|
|
PORTVERSION= 1.12.13
|
|
PORTREVISION= 10
|
|
CATEGORIES= devel ipv6
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
|
MASTER_SITE_SUBDIR= non-gnu/${PORTNAME}/source/feature/${PORTVERSION}
|
|
PKGNAMESUFFIX= -devel
|
|
|
|
MAINTAINER= bdheeman@gmail.com
|
|
COMMENT= IPv6 enabled cvs. You can use IPv6 connection when using pserver
|
|
|
|
CONFLICTS= cvsnt-[12]* cvs+ipv6-[12]*
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_BZIP2= yes
|
|
CONFIGURE_ARGS= --enable-ipv6 --without-gssapi \
|
|
--with-editor="vi" \
|
|
--with-tmpdir="/tmp"
|
|
|
|
MAN1= cvs.1
|
|
MAN5= cvs.5
|
|
MAN8= cvsbug.8
|
|
INFO= cvs cvsclient
|
|
|
|
CVS_SITE?= :pserver:anoncvs@anoncvs.jp.FreeBSD.org:/home/ncvs
|
|
CVS_VER?= v${PORTVERSION:S//_/g}
|
|
|
|
NO_STAGE= yes
|
|
post-patch:
|
|
${REINPLACE_CMD} 's/${PORTVERSION:S/./\./g}/&-devel/g' \
|
|
${WRKSRC}/configure
|
|
@${CP} ${FILESDIR}/missing ${WRKSRC}
|
|
|
|
generate-patch:
|
|
cvs -R -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 -R -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>
|