freebsd-ports/devel/cvs-devel/Makefile
Edwin Groothuis dc2ba353b6 [new port] devel/cvs-devel 1.12.13_8
Latest upstream/feature release, similar to Debian, see the
        ChangeLog excerpts available at
        http://cto.homelinux.net/usr/ports/devel/cvs-devel/ChangeLog page.

        This feature release/version, I think, would be quite useful
        for all those users who want to share and, or transfer their
        existing CVS repositories from Linux to FreeBSD machines.

PR:             ports/118033
Submitted by:   Balwinder S Dheeman <bdheeman@gmail.com>
2008-05-26 04:58:42 +00:00

63 lines
1.7 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= 8
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}
post-install:
.for f in cvs cvsbug
-${MV} ${PREFIX:S/\/local//}/bin/${f} ${PREFIX:S/\/local//}/bin/${f}.orig
-${CP} -p ${PREFIX}/bin/${f} ${PREFIX:S/\/local//}/bin
.endfor
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>