# Created by: David Shane Holden # $FreeBSD: head/net/pacemaker1/Makefile 557224 2020-12-07 12:30:20Z egypcio $ PORTVERSION= 1.1.24 PKGNAMESUFFIX= 1 .include "${.CURDIR}/Makefile.common" CONFLICTS+= pacemaker2-[0-9]* SHEBANG_FILES+= cts/cts \ cts/lxc_autogen.sh.in \ fencing/* \ lrmd/* \ mcp/* \ tools/* \ xml/* \ BasicSanity.sh \ coverage.sh.in \ cts/CTSlab.py \ pengine/regression.sh REPLACE_ARGS_GETOPT= -e 's,getopt,${LOCALBASE}/bin/getopt,' .include .if ${PYTHON_SUFFIX} > 36 EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-cts_remote.py \ ${PATCHDIR}/extra-patch-cts_watcher.py .endif post-patch: post-patch-common @${REINPLACE_CMD} ${REPLACE_ARGS_GETOPT} ${WRKSRC}/tools/crm_failcount @${REINPLACE_CMD} ${REPLACE_ARGS_GETOPT} ${WRKSRC}/tools/crm_master @${REINPLACE_CMD} ${REPLACE_ARGS_GETOPT} ${WRKSRC}/tools/crm_report.in @${REINPLACE_CMD} ${REPLACE_ARGS_GETOPT} ${WRKSRC}/tools/crm_standby .include