mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
6e1233be22
Convert the USE_LDAP=yes to USES=ldap and adds the following features: - Adds the argument USES=ldap:server to add openldap2{4|5|6}-server as RUN_DEPENDS - Adds the argument USES=ldap<version> and replaces WANT_OPENLDAP_VER - Adds OPENLDAP versions in bsd.default-versions.mk - Adds USE_OPENLDAP/WANT_OPENLDAP_VER in Mk/bsd.sanity.mk - Changes consumers to use the features Reviewed by: delphij Approved by: portmgr Differential Revision: https://reviews.freebsd.org/D38233
43 lines
973 B
Makefile
43 lines
973 B
Makefile
PORTNAME= eclat
|
|
PORTVERSION= 2.1
|
|
CATEGORIES= sysutils net
|
|
MASTER_SITES= http://download.gnu.org.ua/pub/release/${PORTNAME}/ \
|
|
http://download.gnu.org.ua/pub/alpha/${PORTNAME}/
|
|
|
|
MAINTAINER= zeus@gnu.org.ua
|
|
COMMENT= Amazon EC2 command line administration tool
|
|
WWW= https://puszcza.gnu.org.ua/software/eclat/
|
|
|
|
LICENSE= GPLv3
|
|
|
|
LIB_DEPENDS= libcurl.so:ftp/curl \
|
|
libexpat.so:textproc/expat2
|
|
|
|
USES= gmake localbase tar:xz
|
|
GNU_CONFIGURE= yes
|
|
TEST_TARGET= check
|
|
|
|
# Fix build with clang11
|
|
CFLAGS+= -fcommon
|
|
|
|
PORTDOCS= AUTHORS ChangeLog NEWS README THANKS TODO
|
|
|
|
OPTIONS_DEFINE= DOCS GDBM LDAP
|
|
OPTIONS_DEFAULT= GDBM
|
|
|
|
GDBM_LIB_DEPENDS= libgdbm.so:databases/gdbm
|
|
GDBM_CONFIGURE_WITH= gdbm
|
|
|
|
LDAP_USES= ldap
|
|
LDAP_CONFIGURE_WITH= ldap
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e '/DESTDIR/s,eclat\.conf,&.sample,' \
|
|
${WRKSRC}/etc/Makefile.in
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|