diff options
author | Norikatsu Shigemura <nork@FreeBSD.org> | 2004-12-23 10:55:45 +0000 |
---|---|---|
committer | Norikatsu Shigemura <nork@FreeBSD.org> | 2004-12-23 10:55:45 +0000 |
commit | 880904876596fb411e373d3ba1810181656f719e (patch) | |
tree | 5e954393ca51c97b9e745525296fcae35a59ca61 /sysutils/freeipmi/Makefile | |
parent | b4273d81d052714be6f3a1a5a95cae878486b9e8 (diff) | |
download | ports-880904876596fb411e373d3ba1810181656f719e.tar.gz ports-880904876596fb411e373d3ba1810181656f719e.zip |
Notes
Diffstat (limited to 'sysutils/freeipmi/Makefile')
-rw-r--r-- | sysutils/freeipmi/Makefile | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/sysutils/freeipmi/Makefile b/sysutils/freeipmi/Makefile new file mode 100644 index 000000000000..9928ecac537d --- /dev/null +++ b/sysutils/freeipmi/Makefile @@ -0,0 +1,51 @@ +# New ports collection makefile for: freeipmi +# Date created: 20/Oct/2004 +# Whom: Dmitry Frolov <frol@nov.net> +# +# $FreeBSD$ +# + +PORTNAME= freeipmi +PORTVERSION= 0.1.3 +CATEGORIES= sysutils +MASTER_SITES= ftp://ftp.californiadigital.com/pub/${PORTNAME}/download/${PORTVERSION}/ + +PATCH_SITES= ftp://ftp.riss-telecom.ru/pub/patches/ +PATCHFILES= ${DISTNAME}-fbsd.diff + +MAINTAINER= frolov@riss-telecom.ru +COMMENT= Library and tools to support IPMI-capable hardware + +LIB_DEPENDS+= guile:${PORTSDIR}/lang/guile +BUILD_DEPENDS+= ${LOCALBASE}/lib/libargp.a:${PORTSDIR}/devel/argp-standalone + +USE_REINPLACE= yes +USE_LIBTOOL_VER= 15 +USE_GMAKE= yes +GNU_CONFIGURE= yes +INSTALLS_SHLIB= yes +PLIST_SUB+= SHLIBVER=${SHLIBVER} RUNDIR=${RUNDIR} LOGDIR=${LOGDIR} +MAN1+= bmc-config.1 bmc-info.1 fish.1 sel.1 sensors.1 +MAN5+= ipmipower.conf.5 +MAN8+= bmc-watchdog.8 ipmipower.8 ipmiping.8 rmcpping.8 +INFO+= freeipmi +PORTDOCS= * +PKGDEINSTALL= ${PKGINSTALL} + +OPTIONS+= IOPERM "Use i386_set_ioperm(2) instead of io(4)" off + +SHLIBVER= 1 + +.include <bsd.port.pre.mk> + +.if defined(WITH_IOPERM) +MYDEFS+= -DUSE_IOPERM +.endif +CONFIGURE_ENV+= CFLAGS="-I${LOCALBASE}/include ${MYDEFS}" \ + LDFLAGS="-L${LOCALBASE}/lib -largp" + +post-install: + @${SETENV} PKG_PREFIX=${PREFIX} \ + ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL + +.include <bsd.port.post.mk> |