- Replace ${MASTER_SITE_FOO} with FOO. - Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9% of the time.) - Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and no hint of what it should be was present. - Fix some logic. - And generally, make things more simple and easy to understand. While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and SAMBA macros. Also, replace some EXTRACT_SUFX occurences with USES=tar:*. Checked by: make fetch-urlall-list With hat: portmgr Sponsored by: Absolight
49 lines
1.4 KiB
Makefile
49 lines
1.4 KiB
Makefile
# Created by: Balwinder S Dheeman <bdheeman@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= cvs
|
|
PORTVERSION= 1.12.13
|
|
PORTREVISION= 11
|
|
CATEGORIES= devel ipv6
|
|
MASTER_SITES= GNU/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]*
|
|
|
|
USES= makeinfo tar:bzip2
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --enable-ipv6 --without-gssapi \
|
|
--with-editor="vi" \
|
|
--with-tmpdir="/tmp"
|
|
|
|
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>
|