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

59 lines
1.6 KiB
Makefile

# Created by: jseger@FreeBSD.org
# $FreeBSD$
PORTNAME= cfengine
PORTVERSION= 2.2.10
PORTREVISION= 4
CATEGORIES= sysutils
MASTER_SITES= https://s3.amazonaws.com/cfengine.package-repos/tarballs/
PKGNAMESUFFIX= 22
MAINTAINER= cy@FreeBSD.org
# gjb@FreeBSD.org is also committer for this port
# skreuzer@FreeBSD.org is also committer for this port
COMMENT= Systems administration tool for networks
CPE_VENDOR= gnu
DEPRECATED= No longeer supported by cfengine.com
EXPIRATION_DATE= 2018-12-31
FETCH_BEFORE_ARGS= -o ${DISTDIR}/${DISTFILES}
CONFLICTS= cfengine-3* cfengine-devel-* cfengine3*
USE_RC_SUBR= cfexecd cfservd
USES= bdb cpe libtool makeinfo shebangfix ssl
SHEBANG_FILES= contrib/cfdoc
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-docs \
--docdir=${DOCSDIR} \
--htmldir=${DOCSDIR}/html
CONFIGURE_ENV+= BERKELEY_DB_CFLAGS=-I${BDB_INCLUDE_DIR} \
BERKELEY_DB_LDFLAGS=-L${BDB_LIB_DIR} \
BERKELEY_DB_LIB=-l${BDB_LIB_NAME}
INFO= cfengine-Tutorial cfengine-Reference
OPTIONS_DEFINE= DOCS EXAMPLES
post-patch:
@${REINPLACE_CMD} -e '/^docdir/s!=.*!= @docdir@!'\
${WRKSRC}/doc/Makefile.in \
${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e '/^htmldir/s!=.*!= @htmldir@!'\
${WRKSRC}/doc/Makefile.in \
${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e '/^pkgdatadir/s!=.*!= ${EXAMPLESDIR}!'\
${WRKSRC}/inputs/Makefile.in \
${WRKSRC}/contrib/Makefile.in
.include <bsd.port.pre.mk>
.if ${SSL_DEFAULT} != "openssl"
BROKEN_FreeBSD_12= fails to build with openssl111, install security/openssl
BROKEN_FreeBSD_13= fails to build with openssl111, install security/openssl
.endif
.include <bsd.port.post.mk>