diff options
author | Niclas Zeising <zeising@FreeBSD.org> | 2012-10-04 10:27:32 +0000 |
---|---|---|
committer | Niclas Zeising <zeising@FreeBSD.org> | 2012-10-04 10:27:32 +0000 |
commit | 60820d612b8a6b4b5700dd02145552bb0d6011f2 (patch) | |
tree | 2d14c08f1d8301b6da614eaa6d74bdfeb7fe3610 /sysutils/ipmitool/Makefile | |
parent | 8da9eeea9bc847ec985612266eb2cbb0a5c9a0cc (diff) | |
download | ports-60820d612b8a6b4b5700dd02145552bb0d6011f2.tar.gz ports-60820d612b8a6b4b5700dd02145552bb0d6011f2.zip |
Notes
Diffstat (limited to 'sysutils/ipmitool/Makefile')
-rw-r--r-- | sysutils/ipmitool/Makefile | 31 |
1 files changed, 15 insertions, 16 deletions
diff --git a/sysutils/ipmitool/Makefile b/sysutils/ipmitool/Makefile index 37fdc9d8506d..8b9ddd08dcad 100644 --- a/sysutils/ipmitool/Makefile +++ b/sysutils/ipmitool/Makefile @@ -6,8 +6,7 @@ # PORTNAME= ipmitool -PORTVERSION= 1.8.11 -PORTREVISION= 4 +PORTVERSION= 1.8.12 CATEGORIES= sysutils MASTER_SITES= SF @@ -15,7 +14,6 @@ MAINTAINER= spolyack@collaborativefusion.com COMMENT= CLI to manage IPMI systems USE_BZIP2= yes -DOS2UNIX= ipmi_fwum.c USE_GMAKE= yes USE_OPENSSL= yes GNU_CONFIGURE= yes @@ -33,25 +31,26 @@ MAN8+= ipmievd.8 PERIODIC_DIR= etc/periodic/daily +OPTIONS_DEFINE= FREEIPMI +FREEIPMI_DESC= Enable support for freeipmi + .if defined(WITH_DEBUG) CFLAGS+= -ggdb -Wall .endif -.include <bsd.port.pre.mk> - -post-install: - @${MKDIR} ${PREFIX}/${PERIODIC_DIR} - @${INSTALL_SCRIPT} ${WRKDIR}/status-ipmi.sh ${PREFIX}/${PERIODIC_DIR}/400.status-ipmi - .if exists(/usr/include/sys/ipmi.h) CONFIGURE_ARGS+= --enable-intf-open .else CONFIGURE_ARGS+= --disable-intf-open .endif -.if defined(WITH_FREEIPMI) || \ - (exists(${LOCALBASE}/include/freeipmi/freeipmi.h) && \ - !defined(WITHOUT_FREEIPMI)) +.include <bsd.port.options.mk> + +.if empty(PORT_OPTIONS:MDOCS) +EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-Makefile.in +.endif + +.if ${PORT_OPTIONS:MFREEIPMI} LIB_DEPENDS+= freeipmi:${PORTSDIR}/sysutils/freeipmi CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib @@ -60,8 +59,8 @@ CONFIGURE_ARGS+= --enable-intf-free CONFIGURE_ARGS+= --disable-intf-free .endif -.if defined(NOPORTDOCS) -EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-Makefile.in -.endif +post-install: + @${MKDIR} ${PREFIX}/${PERIODIC_DIR} + @${INSTALL_SCRIPT} ${WRKDIR}/status-ipmi.sh ${PREFIX}/${PERIODIC_DIR}/400.status-ipmi -.include <bsd.port.post.mk> +.include <bsd.port.mk> |