devel/cvs-devel: Fix WWW, add license information

Use system's zlib.
Add gettext-runtime to USES.
Add LICENSE and LICENSE_FILE.
Switch to DISTVERSION.
Pet portfmt.

PR:		282798
Reported by:	Herbert J. Skuhra <herbert@gojira.at>
Approved by:	portmgr blanket
This commit is contained in:
Zsolt Udvari 2024-11-27 21:45:28 +01:00
parent a1c0220ce2
commit ad6d6907c2

View File

@ -1,28 +1,32 @@
PORTNAME= cvs PORTNAME= cvs
PORTVERSION= 1.12.13 DISTVERSION= 1.12.13
PORTREVISION= 14 PORTREVISION= 15
CATEGORIES= devel CATEGORIES= devel
MASTER_SITES= GNU/non-gnu/${PORTNAME}/source/feature/${PORTVERSION} MASTER_SITES= GNU/non-gnu/${PORTNAME}/source/feature/${DISTVERSION}
PKGNAMESUFFIX= -devel PKGNAMESUFFIX= -devel
MAINTAINER= bdheeman@gmail.com MAINTAINER= bdheeman@gmail.com
COMMENT= IPv6 enabled cvs. You can use IPv6 connection when using pserver COMMENT= IPv6 enabled cvs. You can use IPv6 connection when using pserver
WWW= https://www.cvshome.org/ WWW= https://www.nongnu.org/cvs/
CONFLICTS= cvs cvs+ipv6 LICENSE= GPLv1
LICENSE_FILE= ${WRKSRC}/COPYING
USES= cpe makeinfo perl5 tar:bzip2 USES= cpe gettext-runtime makeinfo perl5 tar:bzip2
CPE_VENDOR= gnu CPE_VENDOR= gnu
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --enable-ipv6 \
CONFIGURE_ARGS= --enable-ipv6 --without-gssapi \
--with-editor="vi" \ --with-editor="vi" \
--with-tmpdir="/tmp" --with-external-zlib \
--with-tmpdir="/tmp" \
--without-gssapi
CONFLICTS= cvs cvs+ipv6
INFO= cvs cvsclient INFO= cvs cvsclient
CVS_SITE?= :pserver:anoncvs@anoncvs.jp.FreeBSD.org:/home/ncvs CVS_SITE?= :pserver:anoncvs@anoncvs.jp.FreeBSD.org:/home/ncvs
CVS_VER?= v${PORTVERSION:S//_/g} CVS_VER?= v${DISTVERSION:S//_/g}
OPTIONS_DEFINE= PAM OPTIONS_DEFINE= PAM
PAM_DESC= PAM support PAM_DESC= PAM support
@ -30,11 +34,11 @@ PAM_DESC= PAM support
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MPAM} .if ${PORT_OPTIONS:MPAM}
CONFIGURE_ARGS+=--enable-pam CONFIGURE_ARGS+= --enable-pam
.endif .endif
post-patch: post-patch:
@${REINPLACE_CMD} 's/${PORTVERSION:S/./\./g}/&-devel/g' \ @${REINPLACE_CMD} 's/${DISTVERSION:S/./\./g}/&-devel/g' \
${WRKSRC}/configure ${WRKSRC}/configure
@${CP} ${FILESDIR}/missing ${WRKSRC} @${CP} ${FILESDIR}/missing ${WRKSRC}