diff options
Diffstat (limited to 'devel/cvs+ipv6/Makefile')
-rw-r--r-- | devel/cvs+ipv6/Makefile | 70 |
1 files changed, 23 insertions, 47 deletions
diff --git a/devel/cvs+ipv6/Makefile b/devel/cvs+ipv6/Makefile index d3c42a5337a4..12d595383ee8 100644 --- a/devel/cvs+ipv6/Makefile +++ b/devel/cvs+ipv6/Makefile @@ -1,63 +1,39 @@ -# Created by: sumikawa # $FreeBSD$ PORTNAME= cvs -PORTVERSION= 1.11.17 -PORTREVISION= 1 +PORTVERSION= 1.20120905 CATEGORIES= devel ipv6 -MASTER_SITES= ${MASTER_SITE_GNU} -MASTER_SITE_SUBDIR= non-gnu/${PORTNAME}/source/stable/${PORTVERSION} +MASTER_SITES= LOCAL/eadler PKGNAMESUFFIX= +ipv6 PATCH_SITES= ftp://ftp.kame.net/pub/kame/misc/ -PATCHFILES= ${DISTNAME}-v6-20040610.diff.gz +PATCHFILES= ${DISTNAME}-v6-20140105.diff.gz +PATCH_WRKSRC= ${WRKDIR}/call/cvs PATCH_DIST_STRIP= -p1 MAINTAINER= sumikawa@FreeBSD.org COMMENT= IPv6 enabled cvs. You can use IPv6 connection when using pserver CONFLICTS= cvsnt-[12]* cvs-devel-[12]* +LICENSE= GPLv2 -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 +USES= uidfix +PATCHDIR= ${WRKDIR}/call/cvs-build +WRKSRC= ${WRKDIR}/call/cvs-build +USE_XZ= yes 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}/&+IPv6/g' ${WRKSRC}/configure - @${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 -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> +# bsd.stage.makes sets the wrong value for DESTDIR +DESTDIRNAME= NADA +MAKE_ARGS= DESTDIR=${STAGEDIR}${PREFIX} + +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 900000 +BROKEN= does not link +.endif + +pre-install: + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/contrib + +.include <bsd.port.post.mk> |