1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/databases/rdb/Makefile
2014-02-26 06:42:56 +00:00

38 lines
947 B
Makefile

# 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= A fast, portable, relational database management system
WRKSRC= ${WRKDIR}/rdb
USES= perl5
BINFILES= column compute dataent etbl headchg jointbl lst2tbl \
mergetbl mktbl ptbl rdb rdbt repair reporttbl row search \
sorttbl subtotal summ tbl2lst uniqtbl valid
DOCFILES= RDB.pln.noM.gz RDB.ps.gz rdbi.doc
OPTIONS_DEFINE= DOCS
do-build:
cd ${WRKSRC}; \
${PERL} -pi -e 's|^\#\! /usr/bin/perl|\#\!${PERL}|g' ${BINFILES}
do-install:
.for binfile in ${BINFILES}
${INSTALL_SCRIPT} ${WRKSRC}/${binfile} ${STAGEDIR}${PREFIX}/bin
.endfor
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for docfile in ${DOCFILES}
@${INSTALL_DATA} ${WRKSRC}/doc/${docfile} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>