aboutsummaryrefslogtreecommitdiffstats
path: root/databases/fastdb/Makefile
blob: 58bb5478526d63a329ad79055fc4cf269fc2c3b9 (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
# 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.38
CATEGORIES= databases
MASTER_SITES=   http://www.garret.ru/~knizhnik/

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

WRKSRC=     ${WRKDIR}/${PORTNAME}

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

PORTDOCS=   FastDB.htm

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

.include <bsd.port.pre.mk>

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

.include <bsd.port.post.mk>