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

59 lines
1.7 KiB
Makefile

# Created by: Jon Wilson <jon@phuq.co.uk>
# $FreeBSD$
PORTNAME= am-utils
PORTVERSION= 6.2
PORTREVISION= 3
PORTEPOCH= 1
CATEGORIES= sysutils net
MASTER_SITES= ftp://ftp.am-utils.org/pub/am-utils/ \
ftp://ftp.cs.umn.edu/pub/am-utils/ \
ftp://ftp.u-aizu.ac.jp/pub/net/amd/am-utils/
MAINTAINER= cy@FreeBSD.org
COMMENT= Berkeley Automounter Suite of Utilities
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
OPTIONS_DEFINE= OPENLDAP DOCS
OPTIONS_DEFAULT=OPENLDAP
OPENLDAP_DESC= OpenLDAP support
USES= autoreconf:build bison libtool makeinfo perl5
USE_LDCONFIG= yes
MAKE_JOBS_UNSAFE=yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-shared
# Enable some filesystems which are not auto-detected with GENERIC kernel.
CONFIGURE_ARGS+= ac_cv_fs_mfs=yes ac_cv_mnttab_type_nullfs='"mfs"' ac_cv_mount_type_nullfs='"mfs"' \
ac_cv_fs_nullfs=yes ac_cv_mnttab_type_nullfs='"nullfs"' ac_cv_mount_type_nullfs='"nullfs"' \
ac_cv_fs_udf=yes ac_cv_mnttab_type_udf='"udf"' ac_cv_mount_type_udf='"udf"' \
ac_cv_fs_tmpfs=yes ac_cv_mnttab_type_tmpfs='"tmpfs"' ac_cv_mount_type_tmpfs='"tmpfs"'
MAKE_ENV= MAKEINFOFLAGS=--no-split
INSTALL_TARGET= install-strip
INFO= am-utils
DOCS= AUTHORS BUGS FAQ NEWS README.attrcache
OPENLDAP_USE= OPENLDAP=yes
OPENLDAP_CONFIGURE_WITH= ldap
OPENLDAP_CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \
CPPFLAGS="-I${LOCALBASE}/include"
OPENLDAP_VARS= DOCS+="README.ldap ldap-id.txt ldap.schema"
OPTIONS_SUB= yes
.include <bsd.port.options.mk>
post-patch:
@${RM} ${WRKSRC}/doc/am-utils.info*
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>