freebsd-ports/sysutils/stow/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

41 lines
984 B
Makefile

# Created by: Cyrille Lefevre <clefevre@citeweb.net>
# $FreeBSD$
PORTNAME= stow
PORTVERSION= 2.2.2
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= GNU
MAINTAINER= bofh@FreeBSD.org
COMMENT= GNU version of Carnegie Mellon's "Depot" program
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
TEST_DEPENDS= p5-Test-Output>0:devel/p5-Test-Output
USES= gmake perl5 tar:bzip2
GNU_CONFIGURE= yes
CONFIGURE_ENV= ac_cv_path_PERL=${PERL}
INSTALL_TARGET= install-exec-am install-dist_pmstowDATA install-info-am \
install-man install-pmDATA
OPTIONS_DEFINE= DOCS
INFO= stow
PORTDOCS= *
NO_ARCH= yes
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for FILE in ChangeLog README
${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR}
.endfor
.for FILE in ChangeLog.OLD manual-single.html manual.pdf version.texi
${INSTALL_DATA} ${WRKSRC}/doc/${FILE} ${STAGEDIR}${DOCSDIR}
.endfor
@(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} manual-split ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>