freebsd-ports/sysutils/freeipmi/Makefile
Kurt Jaeger b95d127471 security/libgcrypt: 1.5.3_3 -> 1.6.1
- Update to 1.6.1
- Remove some unneeded patches
- Fix pkg-plist
- report configure bug upstream
  https://bugs.g10code.com/gnupg/issue1668
- report API breakage downstream and find that MacPorts had the same issue
  https://rt.cpan.org/Ticket/Display.html?id=97201
- bump PORTREVISION for dependent ports (approx. 100 ports)
- Thanks to exp-run by antoine@ to find ports that break
- patch ports that would otherwise break
  security/shishi with PR 192164 is already committed
  [1] devel/ccrtp
  [2] editors/abiword
  [3] security/p5-Crypt-GCrypt

PR:		191256, 192162 [1], 192163 [2], 192166 [3]
Submitted by:	Carlos Jacobo Puga Medina <cjpugmed@gmail.com>
Approved by:	maintainer timeout, antoine (exp-run), portmgr (implicit)
2014-07-30 03:57:23 +00:00

61 lines
1.8 KiB
Makefile

# Created by: Dmitry Frolov <frol@nov.net>
# $FreeBSD$
PORTNAME= freeipmi
PORTVERSION= 1.4.5
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= GNU/${PORTNAME}/ \
http://ftp.gluster.com/pub/${PORTNAME}/${PORTVERSION}/
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Library and tools to support IPMI-capable hardware
LICENSE= GPLv3
LIB_DEPENDS= libargp.so:${PORTSDIR}/devel/argp-standalone \
libgcrypt.so:${PORTSDIR}/security/libgcrypt
OPTIONS_DEFINE= DEBUG DOCS IOPERM
IOPERM_DESC= Use i386_set_ioperm
CONFIGURE_ARGS= --disable-init-scripts \
--localstatedir=/var \
--sysconfdir=${ETCDIR} \
--with-ipmi-monitoring-sdr-cache-dir=${CACHE_DIR}/ipmimonitoringsdrcache \
--with-pkgconfig-dir=${PREFIX}/libdata/pkgconfig
CONFIGURE_ENV= PTHREAD_LIBS=-pthread ac_cv_path_CPP=${CPP}
CPPFLAGS+= -I${LOCALBASE}/include
MAKE_ENV= INSTALL_STRIP_FLAG=${STRIP}
GNU_CONFIGURE= yes
LDFLAGS+= -L${LOCALBASE}/lib
ONLY_FOR_ARCHS= i386 amd64
ONLY_FOR_ARCHS_REASON= invokes i386 asm
USE_LDCONFIG= yes
USES= gmake libtool shebangfix
INFO= freeipmi-faq
PLIST_SUB= CACHE_DIR=${CACHE_DIR} LOG_DIR=${LOG_DIR} RUN_DIR=${RUN_DIR}
PORTDOCS= *
CACHE_DIR?= /var/db/${PORTNAME}
LOG_DIR= /var/log/${PORTNAME}
RUN_DIR= /var/lib/${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_MAKE_ENV= INSTALL_STRIP_FLAG=""
IOPERM_CPPFLAGS= -DUSE_IOPERM
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
.include <bsd.port.mk>