Edit

IABSD.fr/ports/sysutils/freeipmi/Makefile

Branch :

  • Show log

    Commit

  • Author : sthen
    Date : 2026-09-02 12:47:51
    Hash : 5bd40b92
    Message : update to freeipmi-1.6.19

  • sysutils/freeipmi/Makefile
  • COMMENT=	IPMI library and tools (in- and out-of-band)
    
    DISTNAME=	freeipmi-1.6.19
    
    SHARED_LIBS +=  freeipmi             7.1      # 19.16
    SHARED_LIBS +=  ipmiconsole          3.1      # 5.7
    SHARED_LIBS +=  ipmimonitoring       1.1      # 6.10
    SHARED_LIBS +=  ipmidetect           1.1      # 0.1
    
    CATEGORIES=	sysutils
    
    HOMEPAGE=	https://www.gnu.org/software/freeipmi/
    
    MAINTAINER=	Stuart Henderson <stu.ports@spacehopper.org>
    
    # GPLv3+
    PERMIT_PACKAGE=	Yes
    
    WANTLIB += c gcrypt gpg-error iconv intl m pthread
    
    SITES=		${SITE_GNU:=freeipmi/}
    
    BUILD_DEPENDS=	devel/argp-standalone
    LIB_DEPENDS=	security/libgcrypt \
    		devel/gettext,-runtime
    
    SEPARATE_BUILD=	Yes
    USE_GMAKE=	Yes
    
    CONFIGURE_STYLE= gnu
    
    CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
    		LDFLAGS="-L${LOCALBASE}/lib"
    LIBTOOL_FLAGS=	--tag=disable-static
    
    # XXX fudge around the timestamp/date in the supplied doc/version-faq.texi file
    # to avoid running texinfo; the version in base doesn't cope with the input files
    MAKE_ENV=	TZ=GMT+2
    
    pre-install:
    	${INSTALL_DATA_DIR} ${WRKINST}${SYSCONFDIR}/freeipmi
    
    post-install:
    	mv ${WRKINST}${SYSCONFDIR}/freeipmi ${PREFIX}/share/examples/
    	mv ${WRKINST}/var/lib/freeipmi/ipckey ${PREFIX}/share/examples/freeipmi
    	rmdir ${WRKINST}/var/lib{/freeipmi,}
    	rm -r ${WRKINST}${SYSCONFDIR}/{sysconfig,init.d}
    
    .include <bsd.port.mk>