PORTNAME=	fastdb
PORTVERSION=	3.75
PORTREVISION=	8
CATEGORIES=	databases
MASTER_SITES=	SF

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Main Memory Relational Database Management System
WWW=		https://sourceforge.net/projects/fastdb/

LICENSE=	MIT

USES=		gmake dos2unix
USE_GCC=	yes
MAKE_ENV=	OSTYPE="${OPSYS}"
MAKEFILE=	makefile
USE_LDCONFIG=	yes
DOS2UNIX_FILES=	${MAKEFILE}
CXXFLAGS+=	-D_WANT_SEMUN

WRKSRC=		${WRKDIR}/${PORTNAME}

OPTIONS_DEFINE=	DOCS

PORTDOCS=	FastDB.htm

# The port does not build with C++11 or later (bug 219275).
USE_CXXSTD=	gnu++98

post-install:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/FastDB.htm ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>
