aboutsummaryrefslogtreecommitdiffstats
path: root/databases/rdb/Makefile
blob: 1d7814199e977f4d424a36f153bfe8f14683d401 (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
# Created by: Abel Chow <abel_chow@yahoo.com>
# $FreeBSD$

PORTNAME=   rdb
PORTVERSION=    2.6d
CATEGORIES= databases
MASTER_SITES=   ftp://ftp.sunet.se/pub/unix/databases/flat-file/RDB/
DISTNAME=   RDB-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Fast, portable, relational database management system

USES=       perl5 shebangfix
SHEBANG_FILES=  ${BINFILES}
NO_BUILD=   yes
NO_ARCH=    yes
WRKSRC=     ${WRKDIR}/rdb

BINFILES=   column compute dataent etbl headchg jointbl lst2tbl \
        mergetbl mktbl ptbl rdb rdbt repair reporttbl row search \
        sorttbl subtotal summ tbl2lst uniqtbl valid

PORTDOCS=   RDB.pln.noM.gz RDB.ps.gz rdbi.doc

OPTIONS_DEFINE= DOCS

do-install:
.for binfile in ${BINFILES}
    ${INSTALL_SCRIPT} ${WRKSRC}/${binfile} ${STAGEDIR}${PREFIX}/bin
.endfor

do-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for docfile in ${PORTDOCS}
    ${INSTALL_DATA} ${WRKSRC}/doc/${docfile} ${STAGEDIR}${DOCSDIR}
.endfor

.include <bsd.port.mk>