svn commit: r397769 - head/sysutils/ipmitool
Dmitry Marakasov
amdmi3 at FreeBSD.org
Thu Sep 24 21:20:34 UTC 2015
Author: amdmi3
Date: Thu Sep 24 21:20:33 2015
New Revision: 397769
URL: https://svnweb.freebsd.org/changeset/ports/397769
Log:
- Switch to options helpers
Approved by: portmgr blanket
Modified:
head/sysutils/ipmitool/Makefile
Modified: head/sysutils/ipmitool/Makefile
==============================================================================
--- head/sysutils/ipmitool/Makefile Thu Sep 24 21:20:23 2015 (r397768)
+++ head/sysutils/ipmitool/Makefile Thu Sep 24 21:20:33 2015 (r397769)
@@ -43,23 +43,15 @@ CONFIGURE_ARGS+= --enable-intf-open
CONFIGURE_ARGS+= --disable-intf-open
.endif
-.include <bsd.port.options.mk>
+DOCS_EXTRA_PATCHES_OFF= ${PATCHDIR}/extra-patch-Makefile.in
-.if empty(PORT_OPTIONS:MDOCS)
-EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-Makefile.in
-.endif
-
-.if ${PORT_OPTIONS:MFREEIPMI}
-LIB_DEPENDS+= libfreeipmi.so:${PORTSDIR}/sysutils/freeipmi
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
-CONFIGURE_ARGS+= --enable-intf-free
-.else
-CONFIGURE_ARGS+= --disable-intf-free
-.endif
+FREEIPMI_LIB_DEPENDS= libfreeipmi.so:${PORTSDIR}/sysutils/freeipmi
+FREEIPMI_CPPFLAGS= -I${LOCALBASE}/include
+FREEIPMI_LDFLAGS= -L${LOCALBASE}/lib
+FREEIPMI_CONFIGURE_ENABLE= intf-free
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/${PERIODIC_DIR}
- @${INSTALL_SCRIPT} ${WRKDIR}/status-ipmi.sh ${STAGEDIR}${PREFIX}/${PERIODIC_DIR}/400.status-ipmi
+ ${INSTALL_SCRIPT} ${WRKDIR}/status-ipmi.sh ${STAGEDIR}${PREFIX}/${PERIODIC_DIR}/400.status-ipmi
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list