aboutsummaryrefslogtreecommitdiffstats
path: root/databases/fastdb/Makefile
blob: f3574432837cb33e05fca8270cb829b678976637 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# ex:ts=8
# New ports collection makefile for:    fastdb
# Date created:         Mar 2, 2001
# Whom:             Ying-Chieh Liao <ijliao@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   fastdb
PORTVERSION=    3.66
CATEGORIES= databases
MASTER_SITES=   SF

MAINTAINER= clsung@FreeBSD.org
COMMENT=    Main Memory Relational Database Management System

WRKSRC=     ${WRKDIR}/${PORTNAME}

USE_GMAKE=  yes
MAKE_ENV=   OSTYPE="${OPSYS}" \
        PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
        PTHREAD_LIBS="${PTHREAD_LIBS}"
MAKEFILE=   makefile
USE_LDCONFIG=   yes

PORTDOCS=   FastDB.htm

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 800000
BROKEN=     does not compile
.endif

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/FastDB.htm ${DOCSDIR}
.endif

post-patch:
.if ${OSVERSION} < 601105
    ${REINPLACE_CMD} -e 's|^#define HAVE_GETHOSTBYNAME_R||' ${WRKSRC}/inc/config.h
.endif

.include <bsd.port.post.mk>