mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
45 lines
993 B
Makefile
45 lines
993 B
Makefile
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
|
|
|
|
PORTNAME= eclat
|
|
PORTVERSION= 2.0
|
|
PORTREVISION= 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
|
|
|
|
LICENSE= GPLv3
|
|
|
|
LIB_DEPENDS= libcurl.so:ftp/curl \
|
|
libexpat.so:textproc/expat2
|
|
|
|
USES= 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_USE= OPENLDAP=yes
|
|
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>
|