2000-02-21 23:11:33 +00:00
|
|
|
# ports collection makefile for: rdb
|
|
|
|
# Date created: 2000 Feb. 8
|
|
|
|
# Whom: Abel Chow <abel_chow@yahoo.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-08 22:49:07 +00:00
|
|
|
PORTNAME= rdb
|
|
|
|
PORTVERSION= 2.6d
|
2000-02-21 23:11:33 +00:00
|
|
|
CATEGORIES= databases
|
2000-03-04 13:19:37 +00:00
|
|
|
MASTER_SITES= ftp://ftp.rand.org/pub/RDB-hobbs/ \
|
2000-03-07 20:19:45 +00:00
|
|
|
ftp://ftp.sunet.se/pub/unix/databases/flat-file/RDB/
|
2000-04-08 22:49:07 +00:00
|
|
|
DISTNAME= RDB-${PORTVERSION}
|
2000-02-21 23:11:33 +00:00
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/rdb
|
|
|
|
USE_PERL5= yes
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
cd ${WRKSRC}; \
|
|
|
|
${PERL} -pi -e 's|^\#\! /usr/bin/perl|\#\!${PERL}|g' ${BINFILES}
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
.for binfile in ${BINFILES}
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${binfile} ${PREFIX}/bin
|
|
|
|
.endfor
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${ECHO_MSG} "===> Installing documentation for ${PKGNAME}"
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/rdb
|
|
|
|
.for docfile in ${DOCFILES}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/${docfile} ${PREFIX}/share/doc/rdb
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|