freebsd-ports/devel/cvs/Makefile
Baptiste Daroussin 7990f81066 Install texinfo files (GNU info) into ${PREFIX}/share/info
After a discussion on the mailing list on moving manpages to
${PREFIX}/share/man for consistency with base where it is
installed in usr/share/man, it appeared the same should happen
to GNU info files which were installed under share in base and
not in ports.

Now texinfo is not in base on any of the supported version of FreeBSD
it is possible to proceed to this move and it is easier to do than
the manpage change.

Other benefit than consistency are less patching: all build tools but
cmake are expecting info files to be under share/info and cmake (patched here)
was having an exception for BSD so the patch makes FreeBSD case less
specific for them

Bump revision of all impacted ports

PR:		232907
exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D17816
2018-11-10 18:12:57 +00:00

47 lines
1.1 KiB
Makefile

# $FreeBSD$
PORTNAME= cvs
PORTVERSION= 1.20120905
PORTREVISION?= 6
CATEGORIES= devel
MASTER_SITES= LOCAL/eadler
MAINTAINER?= ports@FreeBSD.org
COMMENT?= Version control system
LICENSE= GPLv2+
CONFLICTS_INSTALL?= cvs+ipv6-[12]* cvs-devel-[12]*
OPTIONS_DEFINE= IPV6 KERBEROS EXAMPLES
OPTIONS_DEFAULT=KERBEROS
.if !make(makesum)
OPTIONS_EXCLUDE?=IPV6
.endif
IPV6_CATEGORIES= ipv6
IPV6_PATCH_SITES= ftp://ftp.kame.net/pub/kame/misc/
IPV6_PATCHFILES= ${DISTNAME}-v6-20140105.diff.gz:-p1
KERBEROS_MAKE_ARGS= KERBEROS_SUPPORT=yes
USES= cpe makeinfo shebangfix tar:xz uidfix
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
INFO= cvs cvsclient
# bsd.stage.makes sets the wrong value for DESTDIR
DESTDIRNAME= NADA
MAKE_ARGS= DESTDIR=${STAGEDIR}${PREFIX}
post-patch:
@${REINPLACE_CMD} -e "s,/info/,/${INFO_PATH}/,g" ${WRKSRC}/Makefile.inc
pre-install:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/contrib
.include <bsd.port.mk>