forked from Lainports/freebsd-ports
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
70 lines
2.1 KiB
Makefile
70 lines
2.1 KiB
Makefile
# Created by: Dmitry Frolov <frol@nov.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= freeipmi
|
|
PORTVERSION= 1.6.2
|
|
PORTREVISION= 1
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= GNU \
|
|
http://ftp.gluster.com/pub/${PORTNAME}/${PORTVERSION}/
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Library and tools to support IPMI-capable hardware
|
|
|
|
LICENSE= GPLv3
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
BROKEN_aarch64= invokes x86 assembler
|
|
BROKEN_armv6= invokes x86 assembler
|
|
BROKEN_armv7= invokes x86 assembler
|
|
BROKEN_mips= invokes x86 assembler
|
|
BROKEN_mips64= invokes x86 assembler
|
|
BROKEN_sparc64= invokes x86 assembler
|
|
BROKEN_powerpc64= invokes x86 assembler
|
|
|
|
LIB_DEPENDS= libargp.so:devel/argp-standalone \
|
|
libgcrypt.so:security/libgcrypt
|
|
|
|
OPTIONS_DEFINE= DEBUG DOCS IOPERM IPV6
|
|
IOPERM_DESC= Use i386_set_ioperm
|
|
|
|
CFLAGS+= -D_WANT_SEMUN
|
|
CONFIGURE_ARGS= --disable-init-scripts \
|
|
--sysconfdir=${ETCDIR} \
|
|
--with-ipmi-monitoring-sdr-cache-dir=${CACHE_DIR}/ipmimonitoringsdrcache \
|
|
--with-ipmiseld-cache-dir=${CACHE_DIR}/ipmiseld \
|
|
--with-pkgconfig-dir=${PREFIX}/libdata/pkgconfig
|
|
CONFIGURE_ENV= PTHREAD_LIBS=-lpthread ac_cv_path_CPP=${CPP}
|
|
GNU_CONFIGURE= yes
|
|
USE_LDCONFIG= yes
|
|
USES= gmake libtool localbase shebangfix
|
|
|
|
INFO= freeipmi-faq
|
|
PLIST_SUB= CACHE_DIR=${CACHE_DIR}
|
|
PORTDOCS= *
|
|
|
|
CACHE_DIR?= /var/db/${PORTNAME}
|
|
|
|
SHEBANG_FILES= contrib/ganglia/ganglia_ipmi_sensors.pl \
|
|
contrib/nagios/nagios_ipmi_sensors.pl \
|
|
contrib/pet/check_rmcpping \
|
|
contrib/pet/petalert.pl
|
|
|
|
DEBUG_CONFIGURE_ARGS= --enable-debug --enable-trace
|
|
DEBUG_INSTALL_TARGET= install
|
|
DEBUG_INSTALL_TARGET_OFF= install-strip
|
|
IOPERM_CPPFLAGS= -DUSE_IOPERM
|
|
IPV6_CPPFLAGS= -DIPV6
|
|
|
|
post-patch:
|
|
@${FIND} ${WRKSRC} -name '*.man' -o -name '*.pre.in' | ${XARGS} -I % ${REINPLACE_CMD} -e '/^\.\\\"/ s|$$|"|' %
|
|
@${REINPLACE_CMD} \
|
|
-e '/^FREEIPMI_SYSCONFDIR/ s|/freeipmi/$$||' \
|
|
-e '/FREEIPMI_CONFIG_FILE_DEFAULT_TMP1=/ s|freeipmi.conf|&.sample|' \
|
|
${WRKSRC}/configure
|
|
@${REINPLACE_CMD} -e 's|\($$(LN_S) -f \)$$(sbindir)/|\1|' ${WRKSRC}/*/Makefile.in
|
|
|
|
post-install:
|
|
${MKDIR} -m 0700 -p ${STAGEDIR}${CACHE_DIR}/ipmimonitoringsdrcache/ ${STAGEDIR}${CACHE_DIR}/ipmiseld/ ${STAGEDIR}/var/lib/freeipmi/ ${STAGEDIR}/var/run/freeipmi/
|
|
|
|
.include <bsd.port.mk>
|