1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/devel/cvs-devel/Makefile
Tilman Keskinoz 057a62bac3 Fix a coredump when tagging a release
PR:		153874
Submitted by:	Dan Mahoney <dmahoney@isc.org>
Approved by:	maintainer timeout
2011-02-22 15:48:45 +00:00

58 lines
1.5 KiB
Makefile

# New ports collection makefile for: cvs-devel
# Date created: Wed, 14 Nov 2007 00:21:45 +0530
# Whom: 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}
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>