aboutsummaryrefslogtreecommitdiffstats
path: root/databases/gigabase/Makefile
blob: 8c0d23e12fe51d1333a0ebdf4298429d71c74605 (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
# ports collection makefile for:    gigabase
# Date created:         15 August 2000
# Whom:             Sergey Osokin aka oZZ <ozz@FreeBSD.org.ru>
#
# $FreeBSD$
#

PORTNAME=   gigabase
PORTVERSION=    2.25
CATEGORIES= databases
MASTER_SITES=   http://www.ispras.ru/~knizhnik/

MAINTAINER= ozz@FreeBSD.org.ru

WRKSRC=     ${WRKDIR}/${PORTNAME}
INSTALLS_SHLIB= yes
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --enable-shared --build=$(ARCH} --host=unknown-freebsd --target=${OSREL}

do-install:
    @${MKDIR} -m 755 ${PREFIX}/include/${PORTNAME}
    @for f in gigabase.h stdtp.h class.h database.h cursor.h reference.h \
        wwwapi.h array.h file.h hashtab.h btree.h sync.h query.h \
        datetime.h pagepool.h blob.h container.h cli.h ; do \
        ${INSTALL} -C -o root -g wheel -m 0644 ${WRKSRC}/$$f \
        ${PREFIX}/include/${PORTNAME}/$$f ;\
    done
    @${INSTALL} -C -o root -g wheel -m 0755 -s ${WRKSRC}/.libs/subsql \
        ${PREFIX}/bin/subsql
    @for f in libgigabase_r.a libgigabase_r.so.2 libcli_r.a libcli_r.so.2 ; do \
        ${INSTALL} -C -o root -g wheel -m 0644 ${WRKSRC}/.libs/$$f \
        ${PREFIX}/lib/$f ;\
    done

.include <bsd.port.mk>