1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00
freebsd-ports/devel/cvs/Makefile
Xin LI 73420d98b2 devel/cvs: remove libgnuregex dependency.
The only usage of regular expression in cvs was in import.c, and for
that particular usage, no GNU extension was used; with the removal of
libgnuregex, we could just drop the dependency and use the base system
regex(3) instead.

This fixes build on -CURRENT.

PR:		252248
Approved by:	maintainer
MFH:		2021Q1
2021-01-03 19:21:21 +00:00

54 lines
1.2 KiB
Makefile

# $FreeBSD$
PORTNAME= cvs
PORTVERSION= 1.20120905
PORTREVISION?= 7
CATEGORIES= devel
MASTER_SITES= LOCAL/eadler
MAINTAINER?= schaiba@gmail.com
COMMENT?= Version control system
LICENSE= GPLv2+
USES= cpe shebangfix tar:xz uidfix
CONFLICTS_INSTALL?= cvs+ipv6-[12]* cvs-devel-[12]*
OPTIONS_DEFINE= INFO IPV6 KERBEROS EXAMPLES
OPTIONS_DEFAULT=INFO KERBEROS
.if !make(makesum)
OPTIONS_EXCLUDE?=IPV6
.endif
INFO_INFO= cvs cvsclient
INFO_USES= makeinfo
IPV6_PATCH_SITES= LOCAL/ume
IPV6_PATCHFILES= ${DISTNAME}-v6-20140105.diff.gz:-p1
KERBEROS_MAKE_ARGS= KERBEROS_SUPPORT=yes
CPE_VENDOR= gnu
SHEBANG_FILES= contrib/clmerge contrib/cln_hist \
contrib/commit_prep contrib/cvs_acls \
contrib/easy-import contrib/log \
contrib/log_accum contrib/mfpipe \
contrib/rcslock
PATCH_WRKSRC= ${WRKDIR}/call/cvs
WRKSRC= ${WRKDIR}/call/cvs-build
# bsd.stage.makes sets the wrong value for DESTDIR
DESTDIRNAME= NADA
MAKE_ARGS= DESTDIR=${STAGEDIR}${PREFIX}
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e "s,/info/,/${INFO_PATH}/,g" ${WRKSRC}/Makefile.inc
.if !${PORT_OPTIONS:MINFO}
@${REINPLACE_CMD} -e "s,doc,,g" ${WRKSRC}/Makefile
.endif
pre-install:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/contrib
.include <bsd.port.mk>