openbsd-ports/sysutils/freeipmi/Makefile
wilfried fa7d0f0b1e import of freeipmi-0.4.6
FreeIPMI is a collection of Intelligent Platform Management IPMI
system software. It provides in-band and out-of-band software and
a development library conforming to the Intelligent Platform
Management Interface (IPMI v1.5 and v2.0) standards.
2007-10-25 18:17:02 +00:00

50 lines
1.4 KiB
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2007/10/25 18:17:02 wilfried Exp $
COMMENT= FreeIPMI provides in-band and out-of-band IPMI software
V= 0.4.6
DISTNAME= freeipmi-${V}
SHARED_LIBS += freeipmi 4.0 # .4.0
SHARED_LIBS += ipmidetect 0.0 # .0.0
SHARED_LIBS += freeipmi 4.0 # .4.0
SHARED_LIBS += ipmiconsole 1.1 # .1.1
SHARED_LIBS += ipmimonitoring 0.1 # .0.1
CATEGORIES= sysutils
HOMEPAGE= http://www.gnu.org/software/freeipmi/
MAINTAINER= Peter Stromberg <wilfried@openbsd.org>
# GPL v2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += c gpg-error m pthread
MASTER_SITES= ftp://ftp.zresearch.com/pub/freeipmi/${V}/
MODULES= devel/gettext
LIB_DEPENDS= gcrypt.>=12::security/libgcrypt \
::devel/argp-standalone
SEPARATE_BUILD= concurrent
USE_GMAKE= Yes
USE_LIBTOOL= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS+=${CONFIGURE_SHARED}
CONFIGURE_ARGS+=--disable-dependency-tracking
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/freeipmi
mv ${WRKINST}${SYSCONFDIR}/ipmi_monitoring_sensors.conf ${PREFIX}/share/examples/freeipmi
mv ${WRKINST}${SYSCONFDIR}/sysconfig ${PREFIX}/share/examples/freeipmi
rm -rf ${WRKINST}${SYSCONFDIR}/init.d
rm -rf ${WRKINST}${SYSCONFDIR}/logrotate.d
.include <bsd.port.mk>