freebsd-ports/sysutils/cluster-glue/Makefile
Stefan Eßer b7f05445c0 Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.

This commit implements such a proposal and moves one of the WWW: entries
of each pkg-descr file into the respective port's Makefile. A heuristic
attempts to identify the most relevant URL in case there is more than
one WWW: entry in some pkg-descr file. URLs that are not moved into the
Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr
files in order to preserve them.

There are 1256 ports that had no WWW: entries in pkg-descr files. These
ports will not be touched in this commit.

The portlint port has been adjusted to expect a WWW entry in each port
Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as
deprecated.

Approved by:		portmgr (tcberner)
2022-09-07 23:10:59 +02:00

76 lines
2.1 KiB
Makefile

PORTNAME= cluster-glue
PORTVERSION= 1.0.12
PORTREVISION= 6
CATEGORIES= sysutils
MASTER_SITES= http://hg.linux-ha.org/glue/archive/
DISTNAME= 0a7add1d9996
DIST_SUBDIR= linux-ha
MAINTAINER= ports@FreeBSD.org
COMMENT= High availability cluster libraries and utilities
WWW= http://linux-ha.org/wiki/Cluster_Glue
LICENSE= GPLv2+ LGPL21+
LICENSE_COMB= multi
LICENSE_FILE_GPLv2+ = ${WRKSRC}/COPYING
LICENSE_FILE_LGPL21+ = ${WRKSRC}/COPYING.LIB
LIB_DEPENDS= libltdl.so:devel/libltdl \
libuuid.so:misc/e2fsprogs-libuuid \
libnet.so:net/libnet
USES= autoreconf gettext gmake gnome libtool localbase perl5 pkgconfig python shebangfix \
tar:bz2 ssl
SHEBANG_FILES= lib/plugins/stonith/external/ibmrsa-telnet \
lib/plugins/stonith/external/vmware \
lib/plugins/stonith/external/xen0-ha.in \
lib/plugins/stonith/external/xen0-ha-dom0-stonith-helper \
lib/plugins/stonith/external/riloe \
lib/plugins/stonith/external/dracmc-telnet
USE_GNOME= glib20 libxml2
USE_LDCONFIG= yes
USE_RC_SUBR= ha_logd
WRKSRC= ${WRKDIR}/Reusable-Cluster-Components-glue--${DISTNAME}
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-fatal-warnings \
--with-initdir=${PREFIX}/etc/rc.d \
--with-ocf-root=${PREFIX}/etc/ocf \
ac_cv_header_openhpi_SaHpi_h=no
INSTALL_TARGET= install-strip
USERS= hacluster
GROUPS= haclient
OPTIONS_DEFINE= DOCS DRAC3 IPMI MANPAGES SNMP
OPTIONS_DEFAULT= DRAC3 IPMI MANPAGES SNMP
OPTIONS_SUB= yes
DRAC3_CONFIGURE_OFF= ac_cv_header_curl_curl_h=no
DRAC3_DESC= Dell DRAC III support
DRAC3_LIB_DEPENDS= libcurl.so:ftp/curl
IPMI_CONFIGURE_ENABLE= ipmilan
IPMI_DESC= Intelligent Platform Management Interface support
IPMI_LIB_DEPENDS= libOpenIPMI.so:sysutils/openipmi
MANPAGES_BUILD_DEPENDS= asciidoc:textproc/asciidoc \
help2man:misc/help2man \
xsltproc:textproc/libxslt
MANPAGES_CONFIGURE_ENABLE=doc
SNMP_CONFIGURE_ENABLE= snmp
SNMP_LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp
.include <bsd.port.options.mk>
.if exists(${LOCALBASE}/include/vacmclient_api.h)
PLIST_SUB+= VACM=""
.else
PLIST_SUB+= VACM="@comment "
.endif
post-install:
${INSTALL_DATA} ${WRKSRC}/logd/logd.cf \
${STAGEDIR}${PREFIX}/etc/ha_logd.cf.sample
.include <bsd.port.mk>